diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index 7a37c70313..737b255d6a 100644 --- a/src/qemu/qemu_conf.c +++ b/src/qemu/qemu_conf.c @@ -1519,8 +1519,11 @@ int qemudExtractVersion(struct qemud_driver *driver) { if ((binary = virCapabilitiesDefaultGuestEmulator(driver->caps, "hvm", ut.machine, - "qemu")) == NULL) + "qemu")) == NULL) { + qemuReportError(VIR_ERR_INTERNAL_ERROR, + _("Cannot find suitable emulator for %s"), ut.machine); return -1; + } if (stat(binary, &sb) < 0) { virReportSystemError(errno,