Re: [PATCH RFC 0/3] Add guest cpu_entitlement reporting

From: Avi Kivity
Date: Mon Aug 27 2012 - 16:31:35 EST


On 08/27/2012 01:23 PM, Michael Wolf wrote:
> >
> > How would a guest know what its entitlement is?
> >
> >
>
> Currently the Admin/management tool setting up the guests will put it on
> the qemu commandline. From this it is passed via an ioctl to the host.
> The guest will get the value from the host via a hypercall.
>
> In the future the host could try and do some of it automatically in some
> cases.

Seems to me it's a meaningless value for the guest. Suppose it is
migrated to a host that is more powerful, and as a result its relative
entitlement is reduced. The value needs to be adjusted.

This is best taken care of from the host side.

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/