Re: [PATCH] kvm-vmx: add module parameter to avoid trapping HLT instructions (v2)

Srivatsa Vaddagiri
2010-12-03T11:12:58Z

On Fri, Dec 03, 2010 at 11:38:33AM +0200, Avi Kivity wrote:
> What if one of the guest crashes qemu or invokes a powerdown?
> Suddenly the others get 33% each (with 1% going to my secret
> round-up account). Doesn't seem like a reliable way to limit cpu.

Some monitoring tool will need to catch that event and spawn a
"dummy" VM to consume 25% cpu, bringing back everyone's use to 25% as before.

That's admittedly not neat, but that's what we are thinking of atm in absence of
a better solution to the problem (ex: kernel scheduler supporting hard-limits).

- vatsa