提交 697fb8a3 编写于 作者: C Cole Robinson

libxl: domcaps: fill in explicit supported BOOL_NO

None of the <feature> bits are supported, and the <loader> piece
is only conditionally supported
Acked-by: NMichal Privoznik <mprivozn@redhat.com>
Signed-off-by: NCole Robinson <crobinso@redhat.com>
上级 cd35c4af
......@@ -604,6 +604,7 @@ libxlMakeDomainOSCaps(const char *machine,
size_t i;
os->supported = VIR_TRISTATE_BOOL_YES;
capsLoader->supported = VIR_TRISTATE_BOOL_NO;
if (STREQ(machine, "xenpv") || STREQ(machine, "xenpvh"))
return 0;
......@@ -773,6 +774,11 @@ libxlMakeDomainCapabilities(virDomainCapsPtr domCaps,
libxlMakeDomainDeviceHostdevCaps(hostdev) < 0)
return -1;
domCaps->iothreads = VIR_TRISTATE_BOOL_NO;
domCaps->vmcoreinfo = VIR_TRISTATE_BOOL_NO;
domCaps->genid = VIR_TRISTATE_BOOL_NO;
domCaps->gic.supported = VIR_TRISTATE_BOOL_NO;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册