mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
qemu: Expose hvf domain type if hvf is supported
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com> Signed-off-by: Andrea Bolognani <abologna@redhat.com> Tested-by: Brad Laue <brad@brad-x.com> Tested-by: Christophe Fergeau <cfergeau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
a339c27b15
commit
c6bf66e1ee
@ -1085,6 +1085,10 @@ virQEMUCapsInitGuestFromBinary(virCaps *caps,
|
||||
virCapabilitiesAddGuestDomain(guest, VIR_DOMAIN_VIRT_KVM,
|
||||
NULL, NULL, 0, NULL);
|
||||
}
|
||||
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_HVF)) {
|
||||
virCapabilitiesAddGuestDomain(guest, VIR_DOMAIN_VIRT_HVF,
|
||||
NULL, NULL, 0, NULL);
|
||||
}
|
||||
|
||||
if ((ARCH_IS_X86(guestarch) || guestarch == VIR_ARCH_AARCH64))
|
||||
virCapabilitiesAddGuestFeatureWithToggle(guest, VIR_CAPS_GUEST_FEATURE_TYPE_ACPI,
|
||||
|
Loading…
x
Reference in New Issue
Block a user