mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00

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>
33 lines
741 B
C
33 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)
|
|
{
|
|
}
|