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