mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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 <mst@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b1b876ca70
commit
fda672b50e
4 changed files with 12 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue