diff options
author | Andrea Bolognani <abologna@redhat.com> | 2015-09-04 16:40:37 +0200 |
---|---|---|
committer | Andrea Bolognani <abologna@redhat.com> | 2015-09-10 09:25:01 +0200 |
commit | fb58318d7f2c05df4d1fc497d96e5718951e9e89 (patch) | |
tree | f210131348a4265825cc001752e754c4d30422b2 /tests/qemuhelptest.c | |
parent | b8d545a8b88f03b1a4c30d272a4561d6adbfcd60 (diff) | |
download | libvirt-fb58318d7f2c05df4d1fc497d96e5718951e9e89.tar.gz |
qemu: Introduce QEMU_CAPS_DEVICE_E1000
This capability can be used to detect whether or not the QEMU
binary supports the e1000 network device.
Diffstat (limited to 'tests/qemuhelptest.c')
-rw-r--r-- | tests/qemuhelptest.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/tests/qemuhelptest.c b/tests/qemuhelptest.c index 9016611d1e..53908cfece 100644 --- a/tests/qemuhelptest.c +++ b/tests/qemuhelptest.c @@ -410,7 +410,8 @@ mymain(void) QEMU_CAPS_DEVICE_USB_NET, QEMU_CAPS_DEVICE_USB_KBD, QEMU_CAPS_DEVICE_PCI_BRIDGE, - QEMU_CAPS_DEVICE_RTL8139); + QEMU_CAPS_DEVICE_RTL8139, + QEMU_CAPS_DEVICE_E1000); DO_TEST("qemu-kvm-0.12.3", 12003, 1, 0, QEMU_CAPS_VNC_COLON, QEMU_CAPS_NO_REBOOT, @@ -526,7 +527,8 @@ mymain(void) QEMU_CAPS_DEVICE_USB_STORAGE, QEMU_CAPS_HOST_PCI_MULTIDOMAIN, QEMU_CAPS_DEVICE_IVSHMEM, - QEMU_CAPS_DEVICE_RTL8139); + QEMU_CAPS_DEVICE_RTL8139, + QEMU_CAPS_DEVICE_E1000); DO_TEST("qemu-kvm-0.12.1.2-rhel61", 12001, 1, 0, QEMU_CAPS_VNC_COLON, QEMU_CAPS_NO_REBOOT, @@ -594,7 +596,8 @@ mymain(void) QEMU_CAPS_DEVICE_USB_NET, QEMU_CAPS_DEVICE_USB_KBD, QEMU_CAPS_DEVICE_PCI_BRIDGE, - QEMU_CAPS_DEVICE_RTL8139); + QEMU_CAPS_DEVICE_RTL8139, + QEMU_CAPS_DEVICE_E1000); DO_TEST("qemu-kvm-0.12.1.2-rhel62-beta", 12001, 1, 0, QEMU_CAPS_VNC_COLON, QEMU_CAPS_NO_REBOOT, @@ -670,7 +673,8 @@ mymain(void) QEMU_CAPS_DEVICE_PCI_BRIDGE, QEMU_CAPS_DEVICE_USB_KBD, QEMU_CAPS_DEVICE_USB_STORAGE, - QEMU_CAPS_DEVICE_RTL8139); + QEMU_CAPS_DEVICE_RTL8139, + QEMU_CAPS_DEVICE_E1000); DO_TEST("qemu-1.0", 1000000, 0, 0, QEMU_CAPS_VNC_COLON, QEMU_CAPS_NO_REBOOT, @@ -761,7 +765,8 @@ mymain(void) QEMU_CAPS_DEVICE_IOH3420, QEMU_CAPS_DEVICE_X3130_UPSTREAM, QEMU_CAPS_DEVICE_XIO3130_DOWNSTREAM, - QEMU_CAPS_DEVICE_RTL8139); + QEMU_CAPS_DEVICE_RTL8139, + QEMU_CAPS_DEVICE_E1000); DO_TEST("qemu-1.1.0", 1001000, 0, 0, QEMU_CAPS_VNC_COLON, QEMU_CAPS_NO_REBOOT, @@ -865,7 +870,8 @@ mymain(void) QEMU_CAPS_DEVICE_IOH3420, QEMU_CAPS_DEVICE_X3130_UPSTREAM, QEMU_CAPS_DEVICE_XIO3130_DOWNSTREAM, - QEMU_CAPS_DEVICE_RTL8139); + QEMU_CAPS_DEVICE_RTL8139, + QEMU_CAPS_DEVICE_E1000); DO_TEST_FULL("qemu-1.2.0", 1002000, 0, 0, VIR_ERR_CONFIG_UNSUPPORTED, QEMU_CAPS_LAST); DO_TEST_FULL("qemu-kvm-1.2.0", 1002000, 1, 0, VIR_ERR_CONFIG_UNSUPPORTED, |