mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
Remove QEMU_CAPS_MACHINE_USB_OPT from ComputeCmdFlags
The version check is for >=1.3.0, but ComputeCmdFlags is only called for QEMU <1.2.0.
This commit is contained in:
parent
c3725db8d0
commit
062074c455
@ -1143,10 +1143,6 @@ virQEMUCapsComputeCmdFlags(const char *help,
|
|||||||
if (strstr(help, "-machine"))
|
if (strstr(help, "-machine"))
|
||||||
virQEMUCapsSet(qemuCaps, QEMU_CAPS_MACHINE_OPT);
|
virQEMUCapsSet(qemuCaps, QEMU_CAPS_MACHINE_OPT);
|
||||||
|
|
||||||
/* USB option is supported v1.3.0 onwards */
|
|
||||||
if (qemuCaps->version >= 1003000)
|
|
||||||
virQEMUCapsSet(qemuCaps, QEMU_CAPS_MACHINE_USB_OPT);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Handling of -incoming arg with varying features
|
* Handling of -incoming arg with varying features
|
||||||
* -incoming tcp (kvm >= 79, qemu >= 0.10.0)
|
* -incoming tcp (kvm >= 79, qemu >= 0.10.0)
|
||||||
|
Loading…
Reference in New Issue
Block a user