Re: [libvirt] [PATCH 05/34] Set default disk controller/bus/unit props

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

 



On Fri, Jan 08, 2010 at 05:23:01PM +0000, Daniel P. Berrange wrote:
> When parsing the <disk> element specification, if no <address>
> is provided for the disk, then automatically assign one based on
> the <target dev='sdXX'/> device name. This provides for backwards
> compatability with existing applications using libvirt, while also
> allowing new apps to have complete fine grained control.
> 
> * src/conf/domain_conf.h, src/conf/domain_conf.c,
>   src/libvirt_private.syms: Add virDomainDiskDefAssignAddress()
>   for assigning a controller/bus/unit address based on disk target
> * src/qemu/qemu_conf.c: Call virDomainDiskDefAssignAddress() after
>   generating XML from ARGV
> * tests/qemuxml2argvdata/*.xml: Add in drive address information
>   to all XML files

  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]