From: Igor Mammedov <imammedo@redhat.com>
To: Julian Kirsch <git@kirschju.re>
Cc: Eric Blake <eblake@redhat.com>,
qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <rth@twiddle.net>,
Eduardo Habkost <ehabkost@redhat.com>,
"Dr . David Alan Gilbert" <dgilbert@redhat.com>,
Peter Crosthwaite <crosthwaite.peter@gmail.com>
Subject: Re: [Qemu-devel] [PATCH] X86/HMP: Expose x86 model specific registers via human monitor
Date: Fri, 10 Mar 2017 15:09:15 +0100 [thread overview]
Message-ID: <20170310150915.1c09d264@nial.brq.redhat.com> (raw)
In-Reply-To: <4684e745-3cf1-49e9-0a9d-13f86f1cc8f1@kirschju.re>
On Wed, 8 Mar 2017 09:26:58 +0100
Julian Kirsch <git@kirschju.re> wrote:
[...]
> >
> >> +++ b/qapi-schema.json
> >> @@ -2365,6 +2365,55 @@
> >> 'data': {'val': 'int', 'size': 'int', 'filename': 'str'} }
> >>
> >> ##
> >> +# @MsrInfo:
> >> +#
> >> +# Information about a MSR
> >> +#
> >> +# @cpu_idx: CPU index
we are trying no to use cpu_index in outside interfaces and
make it disappear from there.
It's possible to use qom-path instead or more natural
CpuInstanceProperties to specify a CPU.
PS:
Comment applies to all QMP/monitor commands/structures introduced
in this patch.
> >> +# @msr_idx: MSR index
> >> +#
> >> +# @value: MSR value
> >> +#
> >> +# Since: 2.8.1
> >
> > You've missed 2.8 by a long shot; you've even missed soft freeze for
> > 2.9. This should be 2.10.
> >
>
> Ops. thanks for pointing this out, will update it. I sticked to the latest
> version returned by "git tag".
>
> >> +##
> >> +{ 'struct': 'MsrInfo',
> >> + 'data': {'cpu_idx': 'int', 'msr_idx': 'uint32', 'value': 'uint64'} }
> >
> > Please spell new members with '-' rather than '_', as in 'cpu-idx' (or
> > even spell it out as 'cpu-index') and 'msr-idx'.
> >
>
> Again, thank you, will take care of it.
>
> >> +
> >> +##
> >> +# @msr-set:
> >> +#
> >> +# Set model specific registers (MSRs) on x86
> >> +#
> >> +# @cpu_idx: CPU holding the MSR that should be written
> >> +#
> >> +# @msr_idx: MSR index to write
> >> +#
> >> +# @value: Value to write
> >> +#
> >> +# Returns: Nothing on success
> >
> > Useless Returns: line.
> >
>
> Removed.
>
> Best,
> Julian
>
next prev parent reply other threads:[~2017-03-10 14:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20170308001637.9838-1-git@kirschju.re>
2017-03-08 2:36 ` [Qemu-devel] [PATCH] X86/HMP: Expose x86 model specific registers via human monitor Eric Blake
2017-03-08 8:26 ` Julian Kirsch
2017-03-10 14:09 ` Igor Mammedov [this message]
2017-03-10 16:11 ` Julian Kirsch
2017-03-08 3:09 ` Richard Henderson
2017-03-08 11:34 ` Julian Kirsch
2017-03-08 11:59 ` Dr. David Alan Gilbert
2017-03-08 13:57 ` Eduardo Habkost
2017-03-08 16:08 ` Julian Kirsch
2017-03-08 18:44 ` Eduardo Habkost
2017-03-09 16:32 ` Paolo Bonzini
2017-03-09 17:27 ` Eduardo Habkost
2017-03-09 18:05 ` Julian Kirsch
2017-03-08 15:40 ` Julian Kirsch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170310150915.1c09d264@nial.brq.redhat.com \
--to=imammedo@redhat.com \
--cc=crosthwaite.peter@gmail.com \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=ehabkost@redhat.com \
--cc=git@kirschju.re \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).