Razvan Cojocaru
2013-Feb-25 16:08 UTC
xc_domain_hvm_getcontext_partial(... CPU ...), the RIP register, and mem_event
Hello, assuming that the VCPU is paused while waiting for userspace to respond to a page fault mem_event, and userspace calls libxc''s xc_domain_hvm_getcontext_partial(... CPU ...) and tries to inspect RIP, is this a safe thing to do? Is RIP''s value guaranteed to be safe to inspect in this context? Thanks, Razvan Cojocaru
Tim Deegan
2013-Feb-25 16:57 UTC
Re: xc_domain_hvm_getcontext_partial(... CPU ...), the RIP register, and mem_event
At 18:08 +0200 on 25 Feb (1361815691), Razvan Cojocaru wrote:> Hello, > > assuming that the VCPU is paused while waiting for userspace to respond > to a page fault mem_event, and userspace calls libxc''s > xc_domain_hvm_getcontext_partial(... CPU ...) and tries to inspect RIP, > is this a safe thing to do? Is RIP''s value guaranteed to be safe to > inspect in this context?Yes. Cheers, Tim.
Possibly Parallel Threads
- Mem_event API and MEM_EVENT_REASON_SINGLESTEP
- [PATCH V2] mem_event: Add support for MEM_EVENT_REASON_MSR
- [PATCH V4] mem_event: Add support for MEM_EVENT_REASON_MSR
- [PATCH V2] libxc, libxenstore: make the headers C++-friendlier
- [PATCH V3] libxc, libxenstore: make the headers C++-friendlier