]> git.ipfire.org Git - thirdparty/libvirt.git/commit
S390: Do not generate a default USB controller
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Mon, 29 Apr 2013 16:11:29 +0000 (18:11 +0200)
committerEric Blake <eblake@redhat.com>
Wed, 1 May 2013 01:18:43 +0000 (19:18 -0600)
commit3a82f628a964f9bfaf0d3bdc69550672e8f9bdfb
tree8675669aacd3365f122bf21b35120feead46f486
parent3e82b5ccdad88938b0d75f7311fc28f21b9e214e
S390: Do not generate a default USB controller

For s390 we don't want to have a default USB device generated even
if QEMU is silently tolerating -usb on the command line. This may change
in the future.
Another reason to avoid the USB controller is that it implies a PCI
bus which might cause a regression at some later point in time.
The following change will set the USB controller model to 'none'
unless a model or address has been specified, which can be the case
if a legacy definition is loaded or the XML writer knows what
she/he's doing.
Requiring the user to explicitly disable USB on systems not supporting
it seems cumbersome.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/qemuxml2argv-console-sclp.args
tests/qemuxml2argvdata/qemuxml2argv-console-virtio-ccw.args
tests/qemuxml2argvdata/qemuxml2argv-console-virtio-s390.args
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-ccw-many.args
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-ccw.args
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-s390.args
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-scsi-ccw.args
tests/qemuxml2argvdata/qemuxml2argv-net-virtio-ccw.args
tests/qemuxml2argvdata/qemuxml2argv-net-virtio-s390.args
tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-ccw.args