mirror of https://gitee.com/openkylin/libvirt.git
qemu: Make KVMSupportsSecureGuest capability available
Expose existing KVMSupportsSecureGuest capability. Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
f7bc6febd0
commit
08850a2a06
|
@ -2135,6 +2135,12 @@ const char *virQEMUCapsGetPackage(virQEMUCaps *qemuCaps)
|
|||
}
|
||||
|
||||
|
||||
bool virQEMUCapsGetKVMSupportsSecureGuest(virQEMUCaps *qemuCaps)
|
||||
{
|
||||
return qemuCaps->kvmSupportsSecureGuest;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
virQEMUCapsAddCPUDefinitions(virQEMUCaps *qemuCaps,
|
||||
virDomainVirtType type,
|
||||
|
|
|
@ -808,5 +808,8 @@ virQEMUCapsCPUFeatureFromQEMU(virQEMUCaps *qemuCaps,
|
|||
virSEVCapability *
|
||||
virQEMUCapsGetSEVCapabilities(virQEMUCaps *qemuCaps);
|
||||
|
||||
bool
|
||||
virQEMUCapsGetKVMSupportsSecureGuest(virQEMUCaps *qemuCaps) G_GNUC_NO_INLINE;
|
||||
|
||||
virArch virQEMUCapsArchFromString(const char *arch);
|
||||
const char *virQEMUCapsArchToString(virArch arch);
|
||||
|
|
Loading…
Reference in New Issue