aboutsummaryrefslogtreecommitdiff
path: root/target/i386/sev.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/i386/sev.c')
-rw-r--r--target/i386/sev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/sev.c b/target/i386/sev.c
index d452e73c18..d976634b8f 100644
--- a/target/i386/sev.c
+++ b/target/i386/sev.c
@@ -32,8 +32,8 @@
#define TYPE_SEV_GUEST "sev-guest"
typedef struct SevGuestState SevGuestState;
-#define SEV_GUEST(obj) \
- OBJECT_CHECK(SevGuestState, (obj), TYPE_SEV_GUEST)
+DECLARE_INSTANCE_CHECKER(SevGuestState, SEV_GUEST,
+ TYPE_SEV_GUEST)
/**