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

Avi Kivity
2010-12-04T08:18:59Z

On 12/03/2010 07:33 PM, Srivatsa Vaddagiri wrote:
> On Fri, Dec 03, 2010 at 09:29:06AM -0800, Chris Wright wrote:
> > That's what Marcelo's suggestion does w/out a fill thread.
>
> Are we willing to add that to KVM sources?
>

I'd rather avoid it.

> I was working under the constraints of not modifying the kernel (especially
> avoid adding short term hacks that become unnecessary in longer run, in this
> case when kernel-based hard limits goes in).

Yes. Allowing the guest to execute HLT is fine, but adding scheduling
smarts to kvm is something else.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.