]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
hvsupport: Adapt to vbox driver rewrite
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 20 Aug 2014 16:17:07 +0000 (18:17 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 20 Aug 2014 16:17:07 +0000 (18:17 +0200)
Since vbox driver rewrite the virDriver structure init moved from
vbox_tmpl.c into vbox_common.c. However, our hvsupport.pl script
doesn't count with that. It still parses vbox_tmp.c and looks for
virDriver structure which is not found there anymore. As a result,
at hvsupport page is seems like vbox driver doesn't support
anything.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
docs/hvsupport.pl
src/vbox/vbox_driver.c

index f8483f9072ab1f1652b4e656efc44d646c577a0d..34ba599441597b0b3b7645aff324356a3bead26a 100755 (executable)
@@ -28,7 +28,7 @@ my %groupheaders = (
 my @srcs;
 find({
     wanted => sub {
-        if (m!$srcdir/.*/\w+_(driver|tmpl|monitor|hal|udev)\.c$!) {
+        if (m!$srcdir/.*/\w+_(driver|common|tmpl|monitor|hal|udev)\.c$!) {
             push @srcs, $_ if $_ !~ /vbox_driver\.c/;
         }
     }, no_chdir => 1}, $srcdir);
index f0c05fe68a536a6213287609b6f2df1ff7980fbf..498be71530c1f40ac9d54cec0cd2730b8df76eb8 100644 (file)
@@ -210,5 +210,5 @@ static virDrvOpenStatus dummyConnectOpen(virConnectPtr conn,
 static virDriver vboxDriverDummy = {
     VIR_DRV_VBOX,
     "VBOX",
-    .connectOpen = dummyConnectOpen,
+    .connectOpen = dummyConnectOpen, /* 0.6.3 */
 };