All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Razvan Cojocaru <rcojocaru@bitdefender.com>
Cc: kevin.tian@intel.com, tamas@tklengyel.com, wei.liu2@citrix.com,
	jun.nakajima@intel.com, andrew.cooper3@citrix.com,
	ian.jackson@eu.citrix.com, xen-devel@lists.xen.org,
	jbeulich@suse.com, keir@xen.org
Subject: Re: [PATCH V3] vm_event: Allow subscribing to write events for specific MSR-s
Date: Fri, 15 Apr 2016 10:12:28 +0100	[thread overview]
Message-ID: <20160415091228.GT18652@citrix.com> (raw)
In-Reply-To: <1460710927-4138-1-git-send-email-rcojocaru@bitdefender.com>

On Fri, Apr 15, 2016 at 12:02:07PM +0300, Razvan Cojocaru wrote:
> Previously, subscribing to MSR write events was an all-or-none
> approach, with special cases for introspection MSR-s. This patch
> allows the vm_event consumer to specify exactly what MSR-s it is
> interested in, and as a side-effect gets rid of the
> vmx_introspection_force_enabled_msrs[] special case.
> This replaces the previously posted "xen: Filter out MSR write
> events" patch.
> 
> Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
> 
> ---
> Changes since V2:
>  - Bumped XEN_DOMCTL_INTERFACE_VERSION.
>  - Introduced struct monitor_msr_bitmap as recommended by Andrew
>    Cooper, which allowed removing some pointer arithmetic magic.
>  - Removed arch_ prefix from monitor functions, as recommended
>    by Tamas Lengyel.
>  - Replaced the page allocation code with xzalloc() / xfree() for
>    struct monitor_msr_bitmap.
>  - Now returning -ENXIO instead of -EINVAL from the monitor
>    functions, as recommended by Konrad Rzeszutek Wilk.
> ---
>  tools/libxc/include/xenctrl.h      |  4 +-
>  tools/libxc/xc_monitor.c           |  6 +--

Subject to an ack from hypervisor maintainer:

Acked-by: Wei Liu <wei.liu2@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-04-15  9:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15  9:02 [PATCH V3] vm_event: Allow subscribing to write events for specific MSR-s Razvan Cojocaru
2016-04-15  9:12 ` Wei Liu [this message]
2016-04-15 10:44 ` Razvan Cojocaru
2016-04-15 17:12 ` Tamas K Lengyel
2016-04-15 17:18   ` Andrew Cooper
2016-04-15 17:34     ` Tamas K Lengyel
2016-04-15 17:19   ` Razvan Cojocaru
2016-04-15 17:38     ` Tamas K Lengyel
2016-04-15 17:49       ` 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=20160415091228.GT18652@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=andrew.cooper3@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=rcojocaru@bitdefender.com \
    --cc=tamas@tklengyel.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.