- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am currently writing a small hypervisor and I am having trouble understanding how to handle the APIC access VMExit.
My guest is writing something at offset 0x300 of the APIC page. The guest is in real mode and using EPT. The address used by the guest resolves to 0x4000 after EPT translation and
VMCS_APIC_ACCESS_ADDR=0x4000
I have also set a virtual APIC page (VMCS_VIRTUAL_APIC_PAGE_ADDR=0x8000)
I am getting an APIC-Access VMExit but in my handler I am trying to get the value that was written to the APIC page. I can't find the value in 0x4000 nor in 0x8000.
I'd like to know what is the operation to be made in this handler. Am I supposed to decode the guest instruction in order to get the value that was attempted to be written? or am I supposed to have an easier way provided by the VMX architecture to access that value?
Thank you.
- Tags:
- Virtualization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found some information that may provide some hints for you:
APIC Virtualization Performance Testing and Iozone*
Enabling Optimized Interrupt/APIC Virtualization in KVM
-Thai

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page