Re: [PATCH 2/2] Use the new set_password monitor command to set password.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 10, 2011 at 12:12:33PM +0100, Marc-Andrà Lureau wrote:
> From: Marc-Andrà Lureau <marcandre.lureau@xxxxxxxxxx>
> 
> We try to use that command first when setting a VNC/SPICE password. If
> that doesn't work we fallback to the legacy VNC only password
> 
> Allow an expiry time to be set, if that doesn't work, throw an error
> if they try to use SPICE.
> 
> Change since v1:
> - moved qemuInitGraphicsPasswords to qemu_hotplug, renamed
>   to qemuDomainChangeGraphicsPasswords.
> - updated what looks like a typo (that appears to work anyway) in
>   initial patch from Daniel:
>     - ret = qemuInitGraphicsPasswords(driver, vm,
>     -                                 VIR_DOMAIN_GRAPHICS_TYPE_SPICE,
>     -                                 &vm->def->graphics[0]->data.vnc.auth,
>     -                                 driver->vncPassword);
>     + ret = qemuInitGraphicsPasswords(driver, vm,
>     +                                 VIR_DOMAIN_GRAPHICS_TYPE_SPICE,
>     +                                 &vm->def->graphics[0]->data.spice.auth,
>     +                                 driver->spicePassword);
> 
> Based on patch by Daniel P. Berrange <berrange@xxxxxxxxxx>.
> ---
>  src/qemu/qemu_driver.c  |   22 +++++----
>  src/qemu/qemu_hotplug.c |  114 +++++++++++++++++++++++++++++++++++++++++++---
>  src/qemu/qemu_hotplug.h |    5 ++
>  3 files changed, 123 insertions(+), 18 deletions(-)


ACK


Daniel

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]