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
Quoted 7 lines · Razvan Cojocaru
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.