On 5/1/19 4:58 PM, Tamas K Lengyel wrote:
>>> It might be worth introducing a "sync state from hw" hook which collects
>>> all the data we intend to pass to the introspection agent.
>>
>> You mean adding another hvm hook?
> 
> Actually, instead of another hook I think what would make sense it to
> just update vmx_save_vmcs_ctxt to automatically refresh the cached
> register values when it's called with "v == current". Thoughts?

That's probably the better way to go about it, since otherwise the
xc_hvm_getcontext_partial() hypercall will suffer from the same problem.
(there are two ways of getting guest state: one is via the vm_event
cached values, the other is via the aforementioned hypercall).


Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to