diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c index 0cead10609..82286a8a96 100644 --- a/src/vbox/vbox_common.c +++ b/src/vbox/vbox_common.c @@ -7856,7 +7856,11 @@ virHypervisorDriverPtr vboxGetHypervisorDriver(uint32_t uVersion) /* Install gVBoxAPI according to the vbox API version. */ int result = 0; installUniformedAPI(gVBoxAPI, result); - if (result < 0) return NULL; + if (result < 0) { + VIR_WARN("Libvirt doesn't support VirtualBox API version %u", + uVersion); + return NULL; + } updateDriver(); return &vboxCommonDriver; }