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

[Xen-ia64-devel] [PATCH] XEN: fixed a vcpu_translate bug


  • To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
  • Date: Fri, 17 Mar 2006 10:16:30 +0800
  • Delivery-date: Fri, 17 Mar 2006 02:17:30 +0000
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcZJaM2TghPmjO8iQyianLrquGurJg==
  • Thread-topic: [Xen-ia64-devel] [PATCH] XEN: fixed a vcpu_translate bug

There are some below code segments in guest OS
1.      Rsm psr.dt
                ...
2.              itc.d r18
                ...
3.              rfi

After executing instruction 1, domain is in metaphysical mode.
When executing instruction 2, VMM gets control to emulate this
instruction. Firstly VMM will try to get opcode, which may
trigger a tlb miss. At this time domain is in metaphysical mode 
and the fault address is in region 5. vcpu_translate handles this
as normal guest metaphysical mode.

It's not correct; sometimes this will make dom0 hang. 

cpu_translate should handle this situation as if 
guest is not in metaphysical mode.



Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>

Thanks,
-Anthony 

Attachment: vcpu_translate.patch
Description: vcpu_translate.patch

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

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