diff --git a/tests/qemucapabilitiestest.c b/tests/qemucapabilitiestest.c index dcc965130e..be86af3e39 100644 --- a/tests/qemucapabilitiestest.c +++ b/tests/qemucapabilitiestest.c @@ -44,11 +44,12 @@ struct _testQemuData { int ret; }; +bool isHVF = false; bool virQEMUCapsProbeHVF(virQEMUCaps *qemuCaps G_GNUC_UNUSED) { - return false; + return isHVF; } @@ -97,6 +98,8 @@ testQemuCaps(const void *opaque) NULL))) return -1; + isHVF = STREQ(data->variant, "+hvf"); + if (qemuProcessQMPInitMonitor(qemuMonitorTestGetMonitor(mon)) < 0) return -1;