x86: host-phys-bits-limit option

Backports part of commit 258fe08bd341d2e230676228307294e41f33002c from
qemu. Namely, just adding the struct member.
This commit is contained in:
Eduardo Habkost 2019-01-14 14:56:47 -05:00 committed by Lioncash
parent bf6192276b
commit 3eb700bec7
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7

View File

@ -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;