Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP2:GA
libvirt.10484
ecb587e4-libxl-pae.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ecb587e4-libxl-pae.patch of Package libvirt.10484
commit ecb587e4ca5d74bc2ff3883b3183ec4c89bf960c Author: Jim Fehlig <jfehlig@suse.com> Date: Wed Jan 11 17:42:42 2017 -0700 libxl: always enable pae for x86_64 HVM For HVM domains, pae is only set in libxl_domain_build_info when explicitly specified in the hypervisor <features> config. This is fine for i686 machines, but is incorrect behavior for x86_64 machines where pae must always be enabled. See the following discussion for additional details https://www.redhat.com/archives/libvir-list/2017-January/msg00254.html Index: libvirt-1.2.18.4/src/libxl/libxl_domain.c =================================================================== --- libvirt-1.2.18.4.orig/src/libxl/libxl_domain.c +++ libvirt-1.2.18.4/src/libxl/libxl_domain.c @@ -371,6 +371,12 @@ libxlDomainDefPostParse(virDomainDefPtr if (virDomainDefCheckUnsupportedMemoryHotplug(def) < 0) return -1; + /* For x86_64 HVM, always enable pae */ + if (def->os.type == VIR_DOMAIN_OSTYPE_HVM && + def->os.arch == VIR_ARCH_X86_64) { + def->features[VIR_DOMAIN_FEATURE_PAE] = VIR_TRISTATE_SWITCH_ON; + } + return 0; }
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