Re: [libvirt] [PATCH 20/34] Assign device aliases for all devices at startup

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

 



On Fri, Jan 08, 2010 at 05:23:16PM +0000, Daniel P. Berrange wrote:
> When starting a guest, give every device a unique alias. This will
> be used for the 'id' parameter in -device args in later patches.
> It can also be used to uniquely identify devices in the monitor
> 
> For old QEMU without -device, assign disk names based on QEMU's
> historical naming scheme.
> 
> * src/qemu/qemu_conf.c: Assign unique device aliases
> * src/qemu/qemu_driver.c: Remove obsolete qemudDiskDeviceName
>   and use the device alias in eject & blockstats commands
> ---
>  src/qemu/qemu_conf.c   |  173 ++++++++++++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_driver.c |  104 ++++++-----------------------
>  2 files changed, 195 insertions(+), 82 deletions(-)
> 

How would the user see the alias in practice ? They won't be
dumped in the XML if I understand correctly so how to they get exposed ?

  ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
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]