aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicha Marwaha <rmarwah@linux.vnet.ibm.com>2012-08-03 16:33:05 -0400
committerMichal Privoznik <mprivozn@redhat.com>2012-08-06 16:56:59 +0200
commit756fe7868b8906370f4b9d3f422aa83c9a3cc53d (patch)
tree9c73c3e5ba1dcf8cf422c1645c40a30296f0bb6d /tests/qemuhelptest.c
parentvirrandom: make virRandomInitialize an automatic one-shot (diff)
downloadlibvirt-756fe7868b8906370f4b9d3f422aa83c9a3cc53d.tar.gz
libvirt-756fe7868b8906370f4b9d3f422aa83c9a3cc53d.tar.bz2
libvirt-756fe7868b8906370f4b9d3f422aa83c9a3cc53d.zip
Add -netdev bridge capabilities
This patch adds the capability in libvirt to check if -netdev bridge option is supported or not. Signed-off-by: Richa Marwaha <rmarwah@linux.vnet.ibm.com> Signed-off-by: Corey Bryant<coreyb@linux.vnet.ibm.com>
Diffstat (limited to 'tests/qemuhelptest.c')
-rw-r--r--tests/qemuhelptest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemuhelptest.c b/tests/qemuhelptest.c
index 012ba2695..75c818ccd 100644
--- a/tests/qemuhelptest.c
+++ b/tests/qemuhelptest.c
@@ -754,7 +754,8 @@ mymain(void)
QEMU_CAPS_IDE_CD,
QEMU_CAPS_NO_USER_CONFIG,
QEMU_CAPS_HDA_MICRO,
- QEMU_CAPS_NEC_USB_XHCI);
+ QEMU_CAPS_NEC_USB_XHCI,
+ QEMU_CAPS_NETDEV_BRIDGE);
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
}