From fda672b50e3e5613d0110e0e7c1f773bfaa1fb3d Mon Sep 17 00:00:00 2001 From: Stefano Garzarella Date: Tue, 22 Jan 2019 13:10:48 +0100 Subject: hw/i386/pc: enable PVH only for machine type >= 4.0 In order to avoid migration issues, we enable PVH only for machine type >= 4.0 Suggested-by: Michael S. Tsirkin Signed-off-by: Stefano Garzarella Signed-off-by: Paolo Bonzini --- include/hw/i386/pc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 882fd8dfd2..3ff127ebd0 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -133,6 +133,9 @@ typedef struct PCMachineClass { /* use DMA capable linuxboot option rom */ bool linuxboot_dma_enabled; + + /* use PVH to load kernels that support this feature */ + bool pvh_enabled; } PCMachineClass; #define TYPE_PC_MACHINE "generic-pc-machine" -- cgit v1.2.3-55-g7522