On 09.06.2016 13:07, Martin Pietsch wrote:
---
src/vbox/vbox_storage.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/vbox/vbox_storage.c b/src/vbox/vbox_storage.c
index 6584cd0..c849505 100644
--- a/src/vbox/vbox_storage.c
+++ b/src/vbox/vbox_storage.c
@@ -908,6 +908,8 @@ virStorageDriverPtr vboxGetStorageDriver(uint32_t uVersion)
vbox43InstallUniformedAPI(&gVBoxAPI);
} else if (uVersion >= 4003004 && uVersion < 4003051) {
vbox43_4InstallUniformedAPI(&gVBoxAPI);
+ } else if (uVersion >= 4003051 && uVersion < 5000051) {
+ vbox50InstallUniformedAPI(&gVBoxAPI);
} else {
return NULL;
}
I've got a test error after this patch:
12) Test driver "vbox"
... 2016-06-14 10:18:33.095+0000: 28982: debug : virDriverLoadModule:54
: Module load vbox
2016-06-14 10:18:33.095+0000: 28982: debug :
virUpdateSelfLastChanged:2558 : Setting self last changed to 1465899470
for '/some/path/libvirt.git/src/.libs/libvirt_driver_vbox.so'
2016-06-14 10:18:33.095+0000: 28982: error : virDriverLoadModule:73 :
failed to load module
/some/path/libvirt.git/src/.libs/libvirt_driver_vbox.so
/some/path/libvirt.git/src/.libs/libvirt_driver_vbox.so: undefined
symbol: vbox50InstallUniformedAPI
FAILED
Michal