mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: domcaps: Initialize all features
While the qemu driver currently implements all domain capability features, we should initialize all features using the helper similarly to how we do it in drivers which don't support any. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
5751a0b6b1
commit
ae92101be4
@ -5571,6 +5571,8 @@ virQEMUCapsFillDomainCaps(virCapsPtr caps,
|
||||
virDomainCapsDeviceVideoPtr video = &domCaps->video;
|
||||
virDomainCapsDeviceRNGPtr rng = &domCaps->rng;
|
||||
|
||||
virDomainCapsFeaturesInitUnsupported(domCaps);
|
||||
|
||||
domCaps->maxvcpus = virQEMUCapsGetMachineMaxCpus(qemuCaps,
|
||||
domCaps->machine);
|
||||
if (domCaps->virttype == VIR_DOMAIN_VIRT_KVM) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user