[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action
From: |
Eduardo Habkost |
Subject: |
Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action |
Date: |
Wed, 2 Jun 2021 17:01:06 -0400 |
On Wed, Jun 02, 2021 at 03:51:02PM -0500, Eric Blake wrote:
> On Mon, May 31, 2021 at 03:38:06PM +0300, Valeriy Vdovin wrote:
[...]
> > +##
> > +# @CpuidEntry:
> > +#
> > +# A single entry of a CPUID response.
> > +#
> > +# One entry holds full set of information (leaf) returned to the guest in
> > response
> > +# to it calling a CPUID instruction with eax, ecx used as the agruments to
> > that
>
> arguments
>
> > +# instruction. ecx is an optional argument as not all of the leaves
> > support it.
>
> Is there a default value of ecx for when it is not provided by the
> user but needed by the leaf? Or is it an error if ecx is omitted in
> that case? Similarly, is it an error if ecx is provided but not
> needed?
What does "not provided by the user" mean here? This is not
describing the input to a QMP command, but the input to the CPUID
instruction.
--
Eduardo