diff options
author | Juergen Gross <juergen.gross@ts.fujitsu.com> | 2013-08-22 11:32:00 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-08-22 11:32:00 +0200 |
commit | 687a29af0b348ec932173ea5fe5c38c361b9eeea (patch) | |
tree | bd9c0c6e278fa9b11bbf3cff407f6beeff931eec | |
parent | 4e4da361f57e1ced53cb65c53fc6289a345a3429 (diff) | |
download | xen-687a29af0b348ec932173ea5fe5c38c361b9eeea.tar.gz xen-687a29af0b348ec932173ea5fe5c38c361b9eeea.tar.bz2 xen-687a29af0b348ec932173ea5fe5c38c361b9eeea.zip |
Correct X2-APIC HVM emulation
commit 6859874b61d5ddaf5289e72ed2b2157739b72ca5 ("x86/HVM: fix x2APIC
APIC_ID read emulation") introduced an error for the hvm emulation of
x2apic. Any try to write to APIC_ICR MSR will result in a GP fault.
Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
master commit: 69962e19ed432570f6cdcfdb5f6f22d6e3c54e6c
master date: 2013-08-22 11:24:00 +0200
-rw-r--r-- | xen/arch/x86/hvm/vlapic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/vlapic.c b/xen/arch/x86/hvm/vlapic.c index 1ed0d43b68..f55407fdee 100644 --- a/xen/arch/x86/hvm/vlapic.c +++ b/xen/arch/x86/hvm/vlapic.c @@ -843,6 +843,7 @@ int hvm_x2apic_msr_write(struct vcpu *v, unsigned int msr, uint64_t msr_content) rc = vlapic_reg_write(v, APIC_ICR2, (uint32_t)(msr_content >> 32)); if ( rc ) return rc; + break; case APIC_ICR2: return X86EMUL_UNHANDLEABLE; |