On 08/02/2013 10:55 AM, Laine Stump wrote: > The parser shouldn't be doing arch-specific things like adding in > implicit controllers to the config. This should instead be done in the > hypervisor's post-parse callback. > > This patch removes the auto-add of a usb controller from the domain > parser, and puts it into the qemu driver's post-parse callback (just > as is already done with the auto-add of the pci-root controller). In > the future, any machine/arch that shouldn't have a default usb > controller added should just set addDefaultUSB = false in this > function. > > We've recently seen that q35 and ARMV7L domains shouldn't get a default USB > controller, so I've set addDefaultUSB to false for both of those. > --- > src/conf/domain_conf.c | 6 ------ > src/qemu/qemu_domain.c | 14 +++++++++++++- > 2 files changed, 13 insertions(+), 7 deletions(-) ACK. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list