Re: [patch 2/3] KVM: x86: KVM_HC_RT_PRIO hypercall (host-side)

From: Paolo Bonzini
Date: Thu Sep 21 2017 - 09:49:42 EST


On 21/09/2017 15:32, Konrad Rzeszutek Wilk wrote:
> So the guest can change the scheduling decisions at the host level?
> And the host HAS to follow it? There is no policy override for the
> host to say - nah, not going to do it?
>
> Also wouldn't the guest want to always be at SCHED_FIFO? [I am thinking
> of a guest admin who wants all the CPU resources he can get]

Yeah, I do not understand why there should be a housekeeping VCPU that
is running at SCHED_NORMAL. If it hurts, don't do it...

Paolo