Software Archive
Read-only legacy content
17061 Discussions

Ap wakeup and execution from VMXON on quadcore i7

heinerj
Beginner
253 Views
After setting up the VMCS for theVMM and entering theVMXON region using the VMLAUNCH instruction, the space for the VM is setup by creating a VMCS. The VM's VMCS requires a specific CPUID to identify which logical processor will execute the VM. How do I wake up the APs so that theVMM is still running on the BSP? Additionally how do I specify that the VM be executed using one of the APs?
0 Kudos
1 Reply
David_O_Intel1
Employee
253 Views
I've been asking around about your question. One comment I received is this:

"I would imagine you will have to modify the VMM scheduler to only schedule VMM on the BSP and VMs on the APs."

Another comment is this:

"Is this a type 1 or type 2 hypervisor?. If the former, then they would have to implement code similar to a MP OS to take control of the logical APs (using INIT-SIPI-SIPI protocol for example).

If a type 2 hypervisor (running on an existing OS), then they would have to use the Affinity APIs of the OS to schedule on an AP and get its CPUID."

Hope this helps.

David Ott

0 Kudos
Reply