Thanks for your reply, $ virsh update-device user user.xml --persistent error: Failed to update device from user.xml error: Requested operation is not valid: cannot modify the persistent configuration of a domain Without persistent it updates only live password, but in xml it is not modified
2011/3/14 Osier Yang <jy...@redhat.com>: > 于 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 > > -- Nikita A Menkovich http://libc6.org/ JID: menkov...@gmail.com Tel: +7 (921) 423-96-48 _______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users