>Hi,
>
>Could anybody explain to me why we need cache_regs()? And in which
>case we should call this function?

It's done in order to copy the content of several vmcs registers into
regular variables.
Decache does the opposite

>
>On vmx, cache_regs() saves RSP & RIP, but ignore other registers. Why
is
>that?
>

All other relevant registers are automatically synced by vmenter/vmexit
in the run function.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to