Hi,
I am not sure if anyone else had tried porting ehther to Xen 4.2.1. There are many possibilities about what could be wrong.
Here are some questions to answer:
- Are you getting vmexits for your faked sysenter_eip? Maybe the address you picked is a valid VA in the guest. Maybe there is some vm control setting that prevents vmexits on page faults.
An option is to set sysenter_cs to an invalid segment, which will cause a vmexit and be more portable.
- if you also have instruction tracing, is your guest in non-pae mode and does your shadow page table modification code work?
Finally, if you get it working I hope you release your code. Many people have asked about porting ether to a newer Xen, but no one has had the time to do it. An updated version would be very useful.
Arten