[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.1] Correct X2-APIC HVM emulation



commit 687a29af0b348ec932173ea5fe5c38c361b9eeea
Author:     Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
AuthorDate: Thu Aug 22 11:32:00 2013 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Aug 22 11:32:00 2013 +0200

    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@xxxxxxxxxxxxxx>
    master commit: 69962e19ed432570f6cdcfdb5f6f22d6e3c54e6c
    master date: 2013-08-22 11:24:00 +0200
---
 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 1ed0d43..f55407f 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;
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.1

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.