From 3eb700bec754a1ac21a67e9d9fe41a097a3f57ad Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Mon, 14 Jan 2019 14:56:47 -0500 Subject: [PATCH] x86: host-phys-bits-limit option Backports part of commit 258fe08bd341d2e230676228307294e41f33002c from qemu. Namely, just adding the struct member. --- qemu/target/i386/cpu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qemu/target/i386/cpu.h b/qemu/target/i386/cpu.h index 8af82c14..dc2b62ab 100644 --- a/qemu/target/i386/cpu.h +++ b/qemu/target/i386/cpu.h @@ -1373,6 +1373,9 @@ typedef struct X86CPU { /* if true override the phys_bits value with a value read from the host */ bool host_phys_bits; + /* if set, limit maximum value for phys_bits when host_phys_bits is true */ + uint8_t host_phys_bits_limit; + /* Number of physical address bits supported */ uint32_t phys_bits;