We can change vnc password by using virDomainUpdateDeviceFlags API
with
live flag. But it can't be changed with config flag.
v1:
https://www.redhat.com/archives/libvir-list/2014-November/msg00627.html
diff to v1:
according to Jan's suggestion,
1. (patch 1/3) change error number to VIR_ERR_OPERATION_UNSUPPORTED
2. (patch 3/3) add 'VIR_DOMAIN_XML_SECURE' to flags in initialization.
3. (patch 3/3) Introduce a new function qemuDomainFindGraphicsIndex.
Free the old graphics def and replace it with the new one as what
we did for DEVICE_NET.
Wang Rui (3):
qemu: report properer error number when change graphics failed
qemu: fix alignment of qemuDomainFindGraphics
qemu: make persistent update of graphics device supported
src/conf/domain_conf.c | 2 +-
src/qemu/qemu_driver.c | 18 +++++++++++++++++-
src/qemu/qemu_hotplug.c | 36 ++++++++++++++++++++++++------------
src/qemu/qemu_hotplug.h | 2 ++
4 files changed, 44 insertions(+), 14 deletions(-)