2 years ago

#57310

test-img

silentnights

Access to virtualization exception area inside a guest OS

I am currently implementing a solution that utilizes the Virtualization exception #VE in Intel CPUs. My code enables #VE in KVM so the guest OS can handle it.

According to Intel SDM though, the information about the #VE is stored in the "virtualization exception information area" which is allocated in the host and a pointer to this area is set in the VMCS. This is working fine for me. My problem now is how the guest exception handler gets access to this area? in Intel SDM this is not mentioned at all. What is only written is that the host can optionally give guest access to this area, but I have not found any explanation on how the host can do it.

I apologize if this seems obvious, I am new to Kernel development and might be missing many basic concepts but I am learning bit by bit.

x86-64

intel

kvm

0 Answers

Your Answer

Accepted video resources