On Wed, Sep 08, 2021 at 11:37:10AM +0100, Daniel P. Berrangé wrote: > This is a counterpart to the HMP "info registers" command. It is being > added with an "x-" prefix because this QMP command is intended as an > adhoc debugging tool and will thus not be modelled in QAPI as fully
ad hoc > structured data, nor will it have long term guaranteed stability. > > Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> > --- > hw/core/machine-qmp-cmds.c | 28 ++++++++++++++++++++++++++++ > qapi/machine.json | 37 +++++++++++++++++++++++++++++++++++++ > 2 files changed, 65 insertions(+) > > +++ b/qapi/machine.json > @@ -1312,3 +1312,40 @@ > '*cores': 'int', > '*threads': 'int', > '*maxcpus': 'int' } } > + > +## > +# @RegisterParams: > +# > +# Information about the CPU to query state of > +# > +# @cpu: the CPU number to query. If omitted, queries all CPUs > +# > +# Since: 6.2.0 Consensus seems to be "6.2", not "6.2.0". -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org