From: Corneliu ZUZU <czuzu@bitdefender.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Kevin Tian <kevin.tian@intel.com>,
Tamas K Lengyel <tamas@tklengyel.com>, Keir Fraser <keir@xen.org>,
Ian Campbell <ian.campbell@citrix.com>,
Razvan Cojocaru <rcojocaru@bitdefender.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
xen-devel@lists.xen.org,
Stefano Stabellini <stefano.stabellini@citrix.com>,
Jun Nakajima <jun.nakajima@intel.com>
Subject: Re: [PATCH v2 3/7] xen/vm-events: Move monitor_domctl to common-side.
Date: Wed, 10 Feb 2016 19:12:31 +0200 [thread overview]
Message-ID: <56BB6F7F.5090509@bitdefender.com> (raw)
In-Reply-To: <56BB72B902000078000D0B17@prv-mh.provo.novell.com>
On 2/10/2016 6:26 PM, Jan Beulich wrote:
>>>> On 10.02.16 at 16:52, <czuzu@bitdefender.com> wrote:
>> xen/arch/x86/Kconfig | 4 +
>> xen/arch/x86/Makefile | 2 +-
>> xen/arch/x86/hvm/event.c | 2 +-
>> xen/arch/x86/hvm/hvm.c | 2 +-
>> xen/arch/x86/hvm/vmx/vmx.c | 2 +-
>> xen/arch/x86/monitor_x86.c | 72 ++++++++
>> xen/common/Kconfig | 20 +++
>> xen/common/Makefile | 1 +
>> xen/common/domctl.c | 2 +-
>> xen/{arch/x86 => common}/monitor.c | 195 +++++++++-------------
>> xen/include/asm-arm/{monitor.h => monitor_arch.h} | 34 +++-
>> xen/include/asm-x86/monitor_arch.h | 74 ++++++++
>> xen/include/{asm-x86 => xen}/monitor.h | 17 +-
>> 13 files changed, 293 insertions(+), 134 deletions(-)
>> create mode 100644 xen/arch/x86/monitor_x86.c
>> rename xen/{arch/x86 => common}/monitor.c (44%)
>> rename xen/include/asm-arm/{monitor.h => monitor_arch.h} (46%)
>> create mode 100644 xen/include/asm-x86/monitor_arch.h
>> rename xen/include/{asm-x86 => xen}/monitor.h (74%)
> With percentages as low as 44 I'm not sure all this strange
> renaming and introduction of oddly named new files is actually a
> good idea.
The diff would have actually looked a lot worse if I didn't do that, at
least IMO.
The "strange renaming and ..." was an effort I made to make reviewing these
patches easier :). The reason is explained in the introductory message
and in this commit
message.
>> --- a/xen/arch/x86/Kconfig
>> +++ b/xen/arch/x86/Kconfig
>> @@ -14,6 +14,10 @@ config X86
>> select HAS_MEM_ACCESS
>> select HAS_MEM_PAGING
>> select HAS_MEM_SHARING
>> + select HAS_VM_EVENT_WRITE_CTRLREG
>> + select HAS_VM_EVENT_SINGLESTEP
>> + select HAS_VM_EVENT_SOFTWARE_BREAKPOINT
>> + select HAS_VM_EVENT_GUEST_REQUEST
>> select HAS_NS16550
>> select HAS_PASSTHROUGH
>> select HAS_PCI
> Please don't break the alphabetic ordering.
Noted. Didn't realise they were in alphabetic order.
> +#include <xen/config.h> /* for XENLOG_WARNING */
> Please simply drop this include, it's being automatically included via
> compiler command line option. Also please avoid comments like this
> unless they explain an otherwise unexpected or unreasonable
> inclusion.
>
> Jan
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>
Noted, noted.
That you,
Corneliu.
next prev parent reply other threads:[~2016-02-10 17:12 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 15:47 [PATCH v2 0/7] Vm-events: move monitor vm-events code to common-side Corneliu ZUZU
2016-02-10 15:47 ` [PATCH v2 1/7] xen/arm: fix file comments Corneliu ZUZU
2016-02-10 16:05 ` Stefano Stabellini
2016-02-10 15:50 ` [PATCH v2 2/7] xen/x86: merge 2 hvm_event_... functions into 1 Corneliu ZUZU
2016-02-10 16:18 ` Jan Beulich
2016-02-10 16:37 ` Andrew Cooper
2016-02-10 17:05 ` Jan Beulich
2016-02-10 17:04 ` Corneliu ZUZU
2016-02-10 17:11 ` Jan Beulich
2016-02-10 20:50 ` Corneliu ZUZU
2016-02-10 20:56 ` Andrew Cooper
2016-02-11 10:31 ` Jan Beulich
2016-02-11 6:03 ` Corneliu ZUZU
2016-02-10 17:28 ` Razvan Cojocaru
2016-02-10 17:52 ` Tamas K Lengyel
2016-02-10 15:52 ` [PATCH v2 3/7] xen/vm-events: Move monitor_domctl to common-side Corneliu ZUZU
2016-02-10 16:26 ` Jan Beulich
2016-02-10 16:30 ` Jan Beulich
2016-02-10 17:14 ` Corneliu ZUZU
2016-02-10 17:12 ` Corneliu ZUZU [this message]
2016-02-10 16:39 ` Tamas K Lengyel
2016-02-10 17:34 ` Corneliu ZUZU
2016-02-10 17:56 ` Tamas K Lengyel
2016-02-11 7:21 ` Corneliu ZUZU
2016-02-11 15:44 ` Tamas K Lengyel
2016-02-12 6:05 ` Corneliu ZUZU
2016-02-12 8:14 ` Corneliu ZUZU
2016-02-11 6:20 ` Corneliu ZUZU
2016-02-10 15:54 ` [PATCH v2 4/7] Rename monitor_x86.c to monitor.c and monitor_arch.h to monitor.h Corneliu ZUZU
2016-02-10 16:44 ` Tamas K Lengyel
2016-02-10 17:16 ` Jan Beulich
2016-02-10 20:54 ` Corneliu ZUZU
2016-02-10 20:36 ` Corneliu ZUZU
2016-02-10 15:56 ` [PATCH v2 5/7] xen/vm-events: Move hvm_event_* functions to common-side Corneliu ZUZU
2016-02-10 15:58 ` [PATCH v2 6/7] Rename event_x86.c to event.c and event_arch.h to event.h + minor fixes Corneliu ZUZU
2016-02-10 16:00 ` [PATCH v2 7/7] xen/vm-events: move arch_domain.monitor bits to common Corneliu ZUZU
2016-02-10 16:29 ` Jan Beulich
2016-02-10 17:14 ` Corneliu ZUZU
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=56BB6F7F.5090509@bitdefender.com \
--to=czuzu@bitdefender.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=ian.campbell@citrix.com \
--cc=jun.nakajima@intel.com \
--cc=keir@xen.org \
--cc=kevin.tian@intel.com \
--cc=rcojocaru@bitdefender.com \
--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.