xen-devel.lists.xenproject.org archive mirror
 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,
	julien.grall@arm.com, sstabellini@kernel.org, jbeulich@suse.com
Subject: Re: [PATCH V6] vm_event: Allow subscribing to write events for specific MSR-s
Date: Wed, 27 Apr 2016 14:57:42 +0100	[thread overview]
Message-ID: <20160427135742.GL20763@citrix.com> (raw)
In-Reply-To: <1461743284-6336-1-git-send-email-rcojocaru@bitdefender.com>

On Wed, Apr 27, 2016 at 10:48:04AM +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.
> The patch also introduces arch_monitor_init_domain() and
> arch_monitor_cleanup_domain(), to do monitor-specific work
> (as opposed to the previous way of doing all the setup in
> vm_event_init_domain() / vm_event_cleanup_domain()).
> This replaces the previously posted "xen: Filter out MSR write
> events" patch.
> 
> Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
> 
> ---
> Changes since V5:
>  - Modified patch description to mention the new monitor functions.
>  - Fixed duplicated xzalloc() / xfree() code.
>  - Moved the monitor setup code (memset()s from vm_event_init_domain()
>    to arch_monitor_init_domain().
>  - Now returning 0 from arch_monitor_init_domain() for ARM.
>  - No longer xzalloc()ating d->arch.monitor_msr_bitmap unless it's
>    NULL.
> ---
>  tools/libxc/include/xenctrl.h      |   9 ++-
>  tools/libxc/xc_monitor.c           |   6 +-

The changes to libxc are just plumbing, so with appropriate acks from HV
side:

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-27 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27  7:48 [PATCH V6] vm_event: Allow subscribing to write events for specific MSR-s Razvan Cojocaru
2016-04-27 13:57 ` Wei Liu [this message]
2016-04-29  2:44 ` Tian, Kevin
2016-04-29  5:31   ` 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=20160427135742.GL20763@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=julien.grall@arm.com \
    --cc=jun.nakajima@intel.com \
    --cc=kevin.tian@intel.com \
    --cc=rcojocaru@bitdefender.com \
    --cc=sstabellini@kernel.org \
    --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 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).