]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: make persistent update of graphics device supported
authorWang Rui <moon.wangrui@huawei.com>
Mon, 8 Dec 2014 13:48:33 +0000 (21:48 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 15 Dec 2014 14:45:24 +0000 (15:45 +0100)
commit9603bce7b1379c9029f4373b6db17ef84923a1dd
treec29ef1547dfc403f419e0eae7e1d8ea9024fbf1c
parentdec5f07b9e6da9b37dbbc6d4a50c993d794af4bb
qemu: make persistent update of graphics device supported

We can change vnc password by using virDomainUpdateDeviceFlags API with
live flag. But it can't be changed with config flag. Error is reported as
below.

error: Operation not supported: persistent update of device 'graphics' is not supported

This patch supports the graphics arguments changed with config flag.

Signed-off-by: Wang Rui <moon.wangrui@huawei.com>
src/conf/domain_conf.c
src/qemu/qemu_driver.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_hotplug.h