Commit ec7109999a for qemu.org
commit ec7109999af691d84e8d2b518d7a4f30d8fa6d62
Author: Cédric Le Goater <clg@redhat.com>
Date: Thu Jan 8 19:50:12 2026 +0100
include/hw/hyperv: Remove unused 'struct mshv_vp_registers' definition
The 'struct mshv_vp_registers' definition in hvgdk_mini.h is unused in
QEMU and conflicts with the canonical definition in
linux-headers/linux/mshv.h.
Remove the duplicate definition to avoid build conflicts when the Linux
headers are updated.
Cc: Magnus Kulke <magnuskulke@linux.microsoft.com>
Reviewed-by: Magnus Kulke <magnuskulke@linux.microsoft.com>
Link: https://lore.kernel.org/qemu-devel/20260108185012.2568277-1-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
diff --git a/include/hw/hyperv/hvgdk_mini.h b/include/hw/hyperv/hvgdk_mini.h
index d89315f545..cb52cc9de2 100644
--- a/include/hw/hyperv/hvgdk_mini.h
+++ b/include/hw/hyperv/hvgdk_mini.h
@@ -450,13 +450,6 @@ typedef struct hv_input_set_vp_registers {
struct hv_register_assoc elements[];
} hv_input_set_vp_registers;
-#define MSHV_VP_MAX_REGISTERS 128
-
-struct mshv_vp_registers {
- int count; /* at most MSHV_VP_MAX_REGISTERS */
- struct hv_register_assoc *regs;
-};
-
union hv_interrupt_control {
uint64_t as_uint64;
struct {