News for hackers. Stuff that matters.
Re:What Does an Idle CPU Do? by amluto on Wednesday October 29, 2014 @09:14PM (#8530856)
Off the top of my head: the VM executes either HLT or MWAIT, and those instructions are generally programmed to cause a VM exit, so the hypervisor can take action. The hypervisor will deschedule the VM and possibly go idle itself.

TBH, I have no idea how MONITOR works in a VM. It might be quite messy.

Edit: Here's a really nice explanation: http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/mwait.html

Re:What Does an Idle CPU Do? by hderms on Wednesday October 29, 2014 @11:50PM (#8531270)
Does it reinitiate VM execution by waiting for the hypervisor to be scheduled again which schedules out to its constituent vms?