[libvirt] [PATCH] virsh: include bhyve in virsh -V output

Roman Bogorodskiy bogorodskiy at gmail.com
Tue Jun 10 18:26:55 UTC 2014


Add 'Bhyve' in hypervisor list reported by 'virsh -V'
if it's compiled it.
---
 tools/virsh.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/virsh.c b/tools/virsh.c
index 15f3025..828d585 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -3233,6 +3233,9 @@ vshShowVersion(vshControl *ctl ATTRIBUTE_UNUSED)
 #ifdef WITH_XENAPI
     vshPrint(ctl, " XenAPI");
 #endif
+#ifdef WITH_BHYVE
+    vshPrint(ctl, " Bhyve");
+#endif
 #ifdef WITH_TEST
     vshPrint(ctl, " Test");
 #endif
-- 
1.9.0




More information about the libvir-list mailing list