mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
conf: Add AUTOPTR_CLEANUP_FUNC for virDomainSEVDef
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
988beaf1d0
commit
b765bc05a0
@ -3490,7 +3490,7 @@ virDomainResctrlDefFree(virDomainResctrlDef *resctrl)
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
void
|
||||
virDomainSEVDefFree(virDomainSEVDef *def)
|
||||
{
|
||||
if (!def)
|
||||
|
@ -2661,6 +2661,8 @@ struct _virDomainSEVDef {
|
||||
unsigned int reduced_phys_bits;
|
||||
};
|
||||
|
||||
void virDomainSEVDefFree(virDomainSEVDef *def);
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virDomainSEVDef, virDomainSEVDefFree);
|
||||
|
||||
typedef enum {
|
||||
VIR_DOMAIN_IOMMU_MODEL_INTEL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user