hvsupport: Adapt to vbox driver rewrite

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>
This commit is contained in:
Michal Privoznik 2014-08-20 18:17:07 +02:00
parent f4c87a0c35
commit cf389258ae
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ my %groupheaders = (
my @srcs; my @srcs;
find({ find({
wanted => sub { 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/; push @srcs, $_ if $_ !~ /vbox_driver\.c/;
} }
}, no_chdir => 1}, $srcdir); }, no_chdir => 1}, $srcdir);

View File

@ -210,5 +210,5 @@ static virDrvOpenStatus dummyConnectOpen(virConnectPtr conn,
static virDriver vboxDriverDummy = { static virDriver vboxDriverDummy = {
VIR_DRV_VBOX, VIR_DRV_VBOX,
"VBOX", "VBOX",
.connectOpen = dummyConnectOpen, .connectOpen = dummyConnectOpen, /* 0.6.3 */
}; };