From: Razvan Cojocaru <rcojocaru@bitdefender.com>
To: Corneliu ZUZU <czuzu@bitdefender.com>, xen-devel@lists.xen.org
Cc: Tamas K Lengyel <tamas@tklengyel.com>, Keir Fraser <keir@xen.org>,
Ian Campbell <ian.campbell@citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
Jan Beulich <jbeulich@suse.com>
Subject: Re: [PATCH v4 2/2] xen/vm-events: Move parts of monitor_domctl code to common-side.
Date: Tue, 16 Feb 2016 16:10:40 +0200 [thread overview]
Message-ID: <56C32DE0.6060005@bitdefender.com> (raw)
In-Reply-To: <1455606514-18705-1-git-send-email-czuzu@bitdefender.com>
On 02/16/2016 09:08 AM, Corneliu ZUZU wrote:
> This patch moves monitor_domctl to common-side.
> Purpose: move what's common to common, prepare for implementation
> of such vm-events on ARM.
>
> * move get_capabilities to arch-side => arch_monitor_get_capabilities.
> * add arch-side monitor op handling function => arch_monitor_domctl_op.
> e.g. X86-side handles XEN_DOMCTL_MONITOR_OP_EMULATE_EACH_REP op
> * add arch-side monitor event handling function => arch_monitor_domctl_event.
> e.g. X86-side handles XEN_DOMCTL_MONITOR_EVENT_MOV_TO_MSR event enable/disable
> * remove status_check
>
> Signed-off-by: Corneliu ZUZU <czuzu@bitdefender.com>
>
> ---
> Changed since v3:
> * monitor_domctl @ common/monitor.c:
> - remove unused requested_status
> - sanity check mop->event range to avoid left-shift undefined behavior
> * arch_monitor_domctl_event: use ASSERT_UNREACHABLE() instead of bug warning
> * xen/monitor.h: replace includes w/ structs forward-declare, fix #ifndef
> ---
> MAINTAINERS | 1 +
> xen/arch/x86/monitor.c | 153 +++++++++++-------------------------------
> xen/common/Makefile | 1 +
> xen/common/domctl.c | 2 +-
> xen/common/monitor.c | 69 +++++++++++++++++++
> xen/include/asm-arm/monitor.h | 30 +++++++--
> xen/include/asm-x86/monitor.h | 53 +++++++++++++--
> xen/include/xen/monitor.h | 30 +++++++++
> 8 files changed, 217 insertions(+), 122 deletions(-)
> create mode 100644 xen/common/monitor.c
> create mode 100644 xen/include/xen/monitor.h
Fair enough.
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Thanks,
Razvan
next prev parent reply other threads:[~2016-02-16 14:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 7:07 [PATCH v4 0/2] Vm-events: move monitor vm-events code to common-side Corneliu ZUZU
2016-02-16 7:07 ` [PATCH v4 1/2] xen/arm: fix file comments Corneliu ZUZU
2016-02-16 7:08 ` [PATCH v4 2/2] xen/vm-events: Move parts of monitor_domctl code to common-side Corneliu ZUZU
2016-02-16 8:13 ` Corneliu ZUZU
2016-02-16 10:45 ` Jan Beulich
2016-02-16 11:20 ` Corneliu ZUZU
2016-02-16 12:34 ` Jan Beulich
2016-02-16 13:03 ` Corneliu ZUZU
2016-02-16 10:54 ` Stefano Stabellini
2016-02-16 14:10 ` Razvan Cojocaru [this message]
2016-02-16 16:02 ` Tamas K Lengyel
2016-02-16 17:48 ` Corneliu ZUZU
2016-02-16 17:53 ` Tamas K Lengyel
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=56C32DE0.6060005@bitdefender.com \
--to=rcojocaru@bitdefender.com \
--cc=andrew.cooper3@citrix.com \
--cc=czuzu@bitdefender.com \
--cc=ian.campbell@citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=stefano.stabellini@citrix.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.