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

Re: [Xen-devel] How to modify GUEST_RIP in xen 4.0.1?



At 16:38 +0000 on 13 Dec (1292258301), K.C. Lee wrote:
> Hi,
> 
> I want to change the guest's RIP.
> 
> The story is that I change GUEST_SYSENTER_EIP in vmx_vmexit_handler() in 
> order to catch a page_fault and do something in sh_page_fault().
> But I need to change GUEST_RIP back after something is done.
> 
> I change GUEST_RIP in sh_page_fault(),
> but it doesn't work.
> 
> What should I do?

Look at the other paths in vmx_vmexit_handler that change the guest
RIP and copy one of them? 

Cheers,

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

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


 


Rackspace

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