[libvirt-users] QEMU monitor
Osier Yang
jyang at redhat.com
Mon Mar 14 06:16:27 UTC 2011
于 2011年03月12日 21:14, Nikita A Menkovich 写道:
> Hello,
>
> Is there any way to change VNC password without rebooting virtual machine?
> It is available through qemu monitor, but, it seems, there is no way
> to do add monitor to kvm.
>
If you are mean how to do with libvirt.
# cat demo.xml
<graphics type='vnc' port='0' autoport='yes' listen='127.0.0.1'
keymap='en-us' passwd='111111'/>
# virsh update-device demo.xml --persistent
NB, "--persistent" is optional, which is intended to change the vnc
password persistently.
Regards
Osier
More information about the libvirt-users
mailing list