mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
qemu: Remove useless ARCH_IS_X86() call
Now that we have added architecture checks to all qemuDomainIs*() functions, we no longer need to perform the same checks separately. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
aa2da99ee8
commit
8a8b14718e
@ -7783,7 +7783,7 @@ qemuDomainDefFormatBufInternal(virQEMUDriverPtr driver,
|
||||
* because other architectures and machine types were introduced
|
||||
* when libvirt already supported <controller type='usb'/>.
|
||||
*/
|
||||
if (ARCH_IS_X86(def->os.arch) && qemuDomainIsI440FX(def) &&
|
||||
if (qemuDomainIsI440FX(def) &&
|
||||
usb && usb->idx == 0 &&
|
||||
(usb->model == VIR_DOMAIN_CONTROLLER_MODEL_USB_DEFAULT ||
|
||||
usb->model == VIR_DOMAIN_CONTROLLER_MODEL_USB_PIIX3_UHCI) &&
|
||||
|
Loading…
Reference in New Issue
Block a user