mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
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: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
cd35c4af60
commit
697fb8a381
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user