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

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



commit f8c580babc6c06d9e49a1c6b93b4ab94cd3ce88d
Author:     Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
AuthorDate: Thu Aug 22 11:30:01 2013 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Aug 22 11:30:01 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 f3833be..9c6f6fd 100644
--- a/xen/arch/x86/hvm/vlapic.c
+++ b/xen/arch/x86/hvm/vlapic.c
@@ -852,6 +852,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.2

_______________________________________________
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®.