[libvirt] [dbus RFC 11/11] main: add support for all libvirt drivers

Pavel Hrdina phrdina at redhat.com
Mon Jan 22 17:16:09 UTC 2018


Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 src/main.c | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/src/main.c b/src/main.c
index 14c7c18..6421919 100644
--- a/src/main.c
+++ b/src/main.c
@@ -85,13 +85,31 @@ struct virtDBusDriver {
 };
 
 static const struct virtDBusDriver sessionDrivers[] = {
-    { "qemu:///session",    "/org/libvirt/qemu" },
-    { "test:///default",    "/org/libvirt/test" },
+    { "qemu:///session",            "/org/libvirt/qemu" },
+    { "test:///default",            "/org/libvirt/test" },
+    { "uml:///session",             "/org/libvirt/uml" },
+    { "vbox:///session",            "/org/libvirt/vbox" },
+    { "vmwarefusion:///session",    "/org/libvirt/vmwarefusion" },
+    { "vmwareplayer:///session",    "/org/libvirt/vmwareplayer" },
+    { "vmwarews:///session",        "/org/libvirt/vmwarews" },
 };
 
 static const struct virtDBusDriver systemDrivers[] = {
-    { "qemu:///system",     "/org/libvirt/qemu" },
-    { "test:///default",    "/org/libvirt/test" },
+    { "XenApi://localhost/",    "/org/libvirt/XenApi" },
+    { "bhyve:///system",        "/org/libvirt/bhyve" },
+    { "esx://localhost/",       "/org/libvirt/esx" },
+    { "gsx://localhost/",       "/org/libvirt/gsx" },
+    { "hyperv://localhost/",    "/org/libvirt/hyperv" },
+    { "lxc:///",                "/org/libvirt/lxc" },
+    { "openvz:///system",       "/org/libvirt/openvz" },
+    { "phyp://localhost/",      "/org/libvirt/phyp" },
+    { "qemu:///system",         "/org/libvirt/qemu" },
+    { "test:///default",        "/org/libvirt/test" },
+    { "uml:///system",          "/org/libvirt/uml" },
+    { "vbox:///system",         "/org/libvirt/vbox" },
+    { "vpx://localhost/",       "/org/libvirt/vpx" },
+    { "vz:///system",           "/org/libvirt/vz" },
+    { "xen:///",                "/org/libvirt/xen" },
 };
 
 int
-- 
2.14.3




More information about the libvir-list mailing list