All of lore.kernel.org
 help / color / mirror / Atom feed
From: Razvan Cojocaru <rcojocaru@bitdefender.com>
To: Tim Deegan <tim@xen.org>
Cc: kevin.tian@intel.com, wei.liu2@citrix.com,
	ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com,
	jun.nakajima@intel.com, andrew.cooper3@citrix.com,
	ian.jackson@eu.citrix.com, xen-devel@lists.xen.org,
	eddie.dong@intel.com, jbeulich@suse.com, keir@xen.org
Subject: Re: [PATCH V8] xen/vm_event: Clean up control-register-write vm_events and add XCR0 event
Date: Thu, 04 Jun 2015 16:47:23 +0300	[thread overview]
Message-ID: <557056EB.50309@bitdefender.com> (raw)
In-Reply-To: <20150604134332.GE74656@deinos.phlegethon.org>

On 06/04/2015 04:43 PM, Tim Deegan wrote:
> At 14:40 +0100 on 04 Jun (1433428815), Tim Deegan wrote:
>> At 16:45 +0300 on 29 May (1432917959), Razvan Cojocaru wrote:
>>> As suggested by Andrew Cooper, this patch attempts to remove
>>> some redundancy and allow for an easier time when adding vm_events
>>> for new control registers in the future, by having a single
>>> VM_EVENT_REASON_WRITE_CTRLREG vm_event type, meant to serve CR0,
>>> CR3, CR4 and (newly introduced) XCR0. The actual control register
>>> will be deduced by the new .index field in vm_event_write_ctrlreg
>>> (renamed from vm_event_mov_to_cr). The patch has also modified
>>> the xen-access.c test - it is now able to log CR3 events.
>>>
>>> Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
>>> Acked-by: Jan Beulich <jbeulich@suse.com>
>>
>> Acked-by: Tim Deegan <tim@xen.org>
> 
> Ah, I see I've acked an old version.  The ack stands for v9, whough if
> you're going to v10, can you please rename the macro to, e,g,
> 
> #define hvm_event_crX(what, new, old) \
>     hvm_event_cr(VM_EVENT_X86_##what, new, old)

Of course, if Jan (who originally proposed the macro) doesn't have any
objections, I'll rename it.


Thanks,
Razvan

  reply	other threads:[~2015-06-04 13:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-29 13:45 [PATCH V8] xen/vm_event: Clean up control-register-write vm_events and add XCR0 event Razvan Cojocaru
2015-06-01  6:56 ` Tian, Kevin
2015-06-02 15:39 ` Ian Campbell
2015-06-02 15:43   ` Andrew Cooper
2015-06-02 15:54     ` Ian Campbell
2015-06-02 16:03   ` Razvan Cojocaru
2015-06-04 13:40 ` Tim Deegan
2015-06-04 13:43   ` Tim Deegan
2015-06-04 13:47     ` Razvan Cojocaru [this message]
2015-06-04 19:56       ` Jan Beulich
2015-06-04 20:53         ` Razvan Cojocaru

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=557056EB.50309@bitdefender.com \
    --to=rcojocaru@bitdefender.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=eddie.dong@intel.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=jun.nakajima@intel.com \
    --cc=keir@xen.org \
    --cc=kevin.tian@intel.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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 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.