qemu/target/i386/confidential-guest.c
Paolo Bonzini d82e9c843d target/i386: introduce x86-confidential-guest
Introduce a common superclass for x86 confidential guest implementations.
It will extend ConfidentialGuestSupportClass with a method that provides
the VM type to be passed to KVM_CREATE_VM.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-04-23 17:35:25 +02:00

34 lines
741 B
C

/*
* QEMU Confidential Guest support
*
* Copyright (C) 2024 Red Hat, Inc.
*
* Authors:
* Paolo Bonzini <pbonzini@redhat.com>
*
* This work is licensed under the terms of the GNU GPL, version 2 or
* later. See the COPYING file in the top-level directory.
*
*/
#include "qemu/osdep.h"
#include "confidential-guest.h"
OBJECT_DEFINE_ABSTRACT_TYPE(X86ConfidentialGuest,
x86_confidential_guest,
X86_CONFIDENTIAL_GUEST,
CONFIDENTIAL_GUEST_SUPPORT)
static void x86_confidential_guest_class_init(ObjectClass *oc, void *data)
{
}
static void x86_confidential_guest_init(Object *obj)
{
}
static void x86_confidential_guest_finalize(Object *obj)
{
}