Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
xen
19354-amd-migration-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 19354-amd-migration-fix.patch of Package xen
# HG changeset patch # User Keir Fraser <keir.fraser@citrix.com> # Date 1237301641 0 # Node ID 10e2712907f9d149ed017d8563444142c528dd40 # Parent d32c861460f242803f07521720aa049415be4208 [SVM] Always read zero AMD C1E control MSR to allow cross-vendor migration Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> xen-unstable changeset: 19354:4fd39881f9f185b49cd1e007b550b9ccab10d139 xen-unstable date: Fri Mar 13 07:45:11 2009 +0000 Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c =================================================================== --- xen-3.3.1-testing.orig/xen/arch/x86/hvm/hvm.c +++ xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c @@ -1754,6 +1754,15 @@ int hvm_msr_read_intercept(struct cpu_us msr_content = var_range_base[index]; break; + case MSR_K8_ENABLE_C1E: + /* There's no point in letting the guest see C-States. + * Further, this AMD-only register may be accessed if this HVM guest + * has been migrated to an Intel host. This fixes a guest crash + * in this case. + */ + msr_content = 0; + break; + default: return hvm_funcs.msr_read_intercept(regs); }
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