Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
qemu.35260
x86-cpu-Use-max-host-physical-address-if.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File x86-cpu-Use-max-host-physical-address-if.patch of Package qemu.35260
From: Yang Weijiang <weijiang.yang@intel.com> Date: Wed, 13 Jan 2021 17:04:30 +0800 Subject: x86/cpu: Use max host physical address if -cpu max option is applied Git-commit: 5a140b255df922b98a165f0a2919602943c9062f References: bsc#1188299 QEMU option -cpu max(max_features) means "Enables all features supported by the accelerator in the current host", this looks true for all the features except guest max physical address width, so add this patch to enable it. Signed-off-by: Yang Weijiang <weijiang.yang@intel.com> Message-Id: <20210113090430.26394-1-weijiang.yang@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jose R. Ziviani <jziviani@suse.de> --- target/i386/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 5a8c96072e4125b0822f16d42109..03083c73764f7d5b28a404aa61bb 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -4289,6 +4289,7 @@ static void max_x86_cpu_initfn(Object *obj) if (lmce_supported()) { object_property_set_bool(OBJECT(cpu), "lmce", true, &error_abort); } + object_property_set_bool(OBJECT(cpu), "host-phys-bits", true, &error_abort); } else { object_property_set_str(OBJECT(cpu), "vendor", CPUID_VENDOR_AMD, &error_abort);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor