Re: [RFC PATCH 2/4] Add helpers qemuPrepareHostdevPCIDevices and qemuDomainReAttachHostdevDevices

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

 



On Fri, Jul 23, 2010 at 11:03:45PM -0700, Chris Wright wrote:
> These new helpers take hostdev list and count directly rather than
> getting them indirectly from domain definition.  This will allow reuse
> for the attach-device case.

> +static int
> +qemuPrepareHostPCIDevices(struct qemud_driver *driver,
> +                          virDomainDefPtr def)
> +{
> +	return qemuPrepareHostdevPCIDevices(driver, def->hostdevs, def->nhostdevs);

  Except for a tab here used for indenting, looks fine too

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]