[libvirt] [PATCH 1/7] conf: add default USB controller in qemu post-parse callback

Laine Stump laine at laine.org
Sat Aug 3 21:56:09 UTC 2013


On 08/02/2013 06:53 PM, Eric Blake wrote:
> 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.
>

Thanks. I pushed this one (in part because Cole needs it for his ARM work).




More information about the libvir-list mailing list