Re: [libvirt] [PATCH 12/13] Fix QEMU hotplug device alias assignment

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

 



On Mon, Feb 01, 2010 at 06:39:41PM +0000, Daniel P. Berrange wrote:
> To allow devices to be hot(un-)plugged it is neccessary to ensure
> they all have a unique device aliases. This fixes the hotplug
> methods to assign device aliases before invoking the monitor
> commands which need them
> 
> * src/qemu/qemu_conf.c, src/qemu/qemu_conf.h: Expose methods
>   for assigning device aliases for disks, host devices and
>   controllers
> * src/qemu/qemu_driver.c: Assign device aliases when hotplugging
>   all types of device
> * tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address-device.args,
>   tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address-device.args:
>   Update for changed hostdev naming scheme
> ---
>  src/qemu/qemu_conf.c                               |   61 +++++++++++++++----
>  src/qemu/qemu_conf.h                               |    3 +
>  src/qemu/qemu_driver.c                             |   35 +++++++-----
>  .../qemuxml2argv-hostdev-pci-address-device.args   |    2 +-
>  .../qemuxml2argv-hostdev-usb-address-device.args   |    2 +-
>  5 files changed, 74 insertions(+), 29 deletions(-)

  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]