All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Qemu-devel] [PATCH v4 0/4] X86/HMP: Expose x86 model specific registers via human monitor
       [not found] <20170329183017.14026-1-git@kirschju.re>
@ 2017-04-04  9:33 ` Julian Kirsch
  2017-04-17 23:26   ` Eduardo Habkost
  0 siblings, 1 reply; 3+ messages in thread
From: Julian Kirsch @ 2017-04-04  9:33 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Peter Crosthwaite, Richard Henderson,
	Eduardo Habkost, Dr . David Alan Gilbert, Eric Blake

ping

I kindly request your comments.

On 29.03.2017 20:30, Julian Kirsch wrote:
> Provide read/write access to x86 model specific registers (MSRs) by means of
> two new HMP commands "msr_get" and "msr_set". The rationale behind this
> is to improve introspection capabilities for system virtualization mode.
> For instance, many modern x86-64 operating systems maintain access to internal
> data structures via the MSR_GSBASE/MSR_KERNELGSBASE MSRs. Giving
> introspection utilities (such as a remotely attached gdb via "monitor msr_get")
> a way of accessing these registers improves analysis results drastically.
> 
> This iteration addresses Eduardo's comments of splitting the patch up into
> movement, reordering and addition of new MSRs.
> 
> Changes v3 -> v4:
> * Split up x86-related parts of the patch into three distinct patches performing
>   movement, reordering and addition of new MSRs.
> 
> Changes v2 -> v3:
> * Rename HMP commands to "msr_get" and "msr_set"
> 
> Changes v1 -> v2:
> * Rename HMP commands to "msr-get" and "msr-set"
> * HMP commands Operate on the current default CPU only
>   (removes need for cpu_index argument)
> * Remove QMP command alltogether
> * Implement HMP command in target/i386/monitor.c
> * Add #ifdef TARGET_I386 around msr-get/msr-set in hmp-commands.hx
> 
> Julian Kirsch (4):
>   X86: Move rdmsr/wrmsr functionality to standalone functions
>   X86: Reorder MSRs in rdmsr/wrmsr to follow the order used by KVM
>   X86: Add MSRs supported by KVM to rdmsr/wrmsr
>   HMP: Introduce msr_get and msr_set HMP commands
> 
>  hmp-commands.hx              |  38 ++++
>  include/monitor/hmp-target.h |   2 +
>  target/i386/cpu.h            |   3 +
>  target/i386/helper.c         | 524 +++++++++++++++++++++++++++++++++++++++++++
>  target/i386/misc_helper.c    | 297 +-----------------------
>  target/i386/monitor.c        |  76 +++++++
>  6 files changed, 654 insertions(+), 286 deletions(-)
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH v4 0/4] X86/HMP: Expose x86 model specific registers via human monitor
  2017-04-04  9:33 ` [Qemu-devel] [PATCH v4 0/4] X86/HMP: Expose x86 model specific registers via human monitor Julian Kirsch
@ 2017-04-17 23:26   ` Eduardo Habkost
  2017-04-18  7:34     ` Julian Kirsch
  0 siblings, 1 reply; 3+ messages in thread
From: Eduardo Habkost @ 2017-04-17 23:26 UTC (permalink / raw)
  To: Julian Kirsch
  Cc: qemu-devel, Peter Crosthwaite, Dr . David Alan Gilbert,
	Paolo Bonzini, Richard Henderson

On Tue, Apr 04, 2017 at 11:33:33AM +0200, Julian Kirsch wrote:
> ping
> 
> I kindly request your comments.

Hi Julian,

Sorry for taking so long to reply.

I can't find the original series on either qemu-devel archives,
or on my own mail archive.

Searching for the Message-Id you were replying to, I can't find
any matches:
https://www.mail-archive.com/search?l=mid&q=20170329183017.14026-1-git%40kirschju.re

Can you resend?

> 
> On 29.03.2017 20:30, Julian Kirsch wrote:
> > Provide read/write access to x86 model specific registers (MSRs) by means of
> > two new HMP commands "msr_get" and "msr_set". The rationale behind this
> > is to improve introspection capabilities for system virtualization mode.
> > For instance, many modern x86-64 operating systems maintain access to internal
> > data structures via the MSR_GSBASE/MSR_KERNELGSBASE MSRs. Giving
> > introspection utilities (such as a remotely attached gdb via "monitor msr_get")
> > a way of accessing these registers improves analysis results drastically.
> > 
> > This iteration addresses Eduardo's comments of splitting the patch up into
> > movement, reordering and addition of new MSRs.
> > 
> > Changes v3 -> v4:
> > * Split up x86-related parts of the patch into three distinct patches performing
> >   movement, reordering and addition of new MSRs.
> > 
> > Changes v2 -> v3:
> > * Rename HMP commands to "msr_get" and "msr_set"
> > 
> > Changes v1 -> v2:
> > * Rename HMP commands to "msr-get" and "msr-set"
> > * HMP commands Operate on the current default CPU only
> >   (removes need for cpu_index argument)
> > * Remove QMP command alltogether
> > * Implement HMP command in target/i386/monitor.c
> > * Add #ifdef TARGET_I386 around msr-get/msr-set in hmp-commands.hx
> > 
> > Julian Kirsch (4):
> >   X86: Move rdmsr/wrmsr functionality to standalone functions
> >   X86: Reorder MSRs in rdmsr/wrmsr to follow the order used by KVM
> >   X86: Add MSRs supported by KVM to rdmsr/wrmsr
> >   HMP: Introduce msr_get and msr_set HMP commands
> > 
> >  hmp-commands.hx              |  38 ++++
> >  include/monitor/hmp-target.h |   2 +
> >  target/i386/cpu.h            |   3 +
> >  target/i386/helper.c         | 524 +++++++++++++++++++++++++++++++++++++++++++
> >  target/i386/misc_helper.c    | 297 +-----------------------
> >  target/i386/monitor.c        |  76 +++++++
> >  6 files changed, 654 insertions(+), 286 deletions(-)
> > 
> 
> 

-- 
Eduardo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH v4 0/4] X86/HMP: Expose x86 model specific registers via human monitor
  2017-04-17 23:26   ` Eduardo Habkost
@ 2017-04-18  7:34     ` Julian Kirsch
  0 siblings, 0 replies; 3+ messages in thread
From: Julian Kirsch @ 2017-04-18  7:34 UTC (permalink / raw)
  To: Eduardo Habkost; +Cc: qemu-devel

Hi Eduardo,

don't worry, it's not urgent anyway. I'll resend the patches right away. (No
idea why they don't show up in the archives, though.)

Best,
Julian

On 18.04.2017 01:26, Eduardo Habkost wrote:
> 
> Hi Julian,
> 
> Sorry for taking so long to reply.
> 
> I can't find the original series on either qemu-devel archives,
> or on my own mail archive.
> 
> Searching for the Message-Id you were replying to, I can't find
> any matches:
> https://www.mail-archive.com/search?l=mid&q=20170329183017.14026-1-git%40kirschju.re
> 
> Can you resend?
> 
>>
>> On 29.03.2017 20:30, Julian Kirsch wrote:
>>> Provide read/write access to x86 model specific registers (MSRs) by means of
>>> two new HMP commands "msr_get" and "msr_set". The rationale behind this
>>> is to improve introspection capabilities for system virtualization mode.
>>> For instance, many modern x86-64 operating systems maintain access to internal
>>> data structures via the MSR_GSBASE/MSR_KERNELGSBASE MSRs. Giving
>>> introspection utilities (such as a remotely attached gdb via "monitor msr_get")
>>> a way of accessing these registers improves analysis results drastically.
>>>
>>> This iteration addresses Eduardo's comments of splitting the patch up into
>>> movement, reordering and addition of new MSRs.
>>>
>>> Changes v3 -> v4:
>>> * Split up x86-related parts of the patch into three distinct patches performing
>>>   movement, reordering and addition of new MSRs.
>>>
>>> Changes v2 -> v3:
>>> * Rename HMP commands to "msr_get" and "msr_set"
>>>
>>> Changes v1 -> v2:
>>> * Rename HMP commands to "msr-get" and "msr-set"
>>> * HMP commands Operate on the current default CPU only
>>>   (removes need for cpu_index argument)
>>> * Remove QMP command alltogether
>>> * Implement HMP command in target/i386/monitor.c
>>> * Add #ifdef TARGET_I386 around msr-get/msr-set in hmp-commands.hx
>>>
>>> Julian Kirsch (4):
>>>   X86: Move rdmsr/wrmsr functionality to standalone functions
>>>   X86: Reorder MSRs in rdmsr/wrmsr to follow the order used by KVM
>>>   X86: Add MSRs supported by KVM to rdmsr/wrmsr
>>>   HMP: Introduce msr_get and msr_set HMP commands
>>>
>>>  hmp-commands.hx              |  38 ++++
>>>  include/monitor/hmp-target.h |   2 +
>>>  target/i386/cpu.h            |   3 +
>>>  target/i386/helper.c         | 524 +++++++++++++++++++++++++++++++++++++++++++
>>>  target/i386/misc_helper.c    | 297 +-----------------------
>>>  target/i386/monitor.c        |  76 +++++++
>>>  6 files changed, 654 insertions(+), 286 deletions(-)
>>>
>>
>>
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-18  7:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170329183017.14026-1-git@kirschju.re>
2017-04-04  9:33 ` [Qemu-devel] [PATCH v4 0/4] X86/HMP: Expose x86 model specific registers via human monitor Julian Kirsch
2017-04-17 23:26   ` Eduardo Habkost
2017-04-18  7:34     ` Julian Kirsch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.