Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Le__Nam
Beginner
262 Views

[ QUESTION] How to manually do VM exit in the guest?

I need to define a new exit reason of my own and want to set the exit reason in VMCS before switching to the host KVM module,then do something in KVM hypervisor for this reason.But I notice the vmcs_writel() is static,how can I do it?

THANKS

Tags (1)
0 Kudos
3 Replies
262 Views

Found this slide set online, it may have some information for you on the VM exit. URL: https://www.usenix.org/sites/default/files/conference/protected-files/agesen_atc12_slides.pdf

-Thai

262 Views

Here is some examples that I found online on vmcs_write: https://www.fclose.com/linux-kernels/47396/x86kvmvmx-preserve-cr4-across-vm-entry-linux-3-4-106/

-Thai

262 Views

Reply