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 v2] arm/monitor vm-events: Implement guest-request support
Date: Fri, 26 Feb 2016 15:52:05 +0200 [thread overview]
Message-ID: <56D05885.60208@bitdefender.com> (raw)
In-Reply-To: <1456484820-21160-1-git-send-email-czuzu@bitdefender.com>
On 02/26/2016 01:07 PM, Corneliu ZUZU wrote:
> This patch adds ARM support for guest-request monitor vm-events.
> Note: on ARM hypercall instruction skipping must be done manually
> by the caller. This will probably be changed in a future patch.
>
> Summary of changes:
> == Moved to common-side:
> * XEN_DOMCTL_MONITOR_EVENT_GUEST_REQUEST handling (moved from X86
> arch_monitor_domctl_event to common monitor_domctl)
> * hvm_event_guest_request->vm_event_monitor_guest_request
> * hvm_event_traps->vm_event_monitor_traps (also added target vcpu as param)
> * guest-request bits from X86 'struct arch_domain' (to common 'struct domain')
> == ARM implementations:
> * do_hvm_op now handling of HVMOP_guest_request_vm_event => calls
> vm_event_monitor_guest_request (as on X86)
> * arch_monitor_get_capabilities->vm_event_monitor_get_capabilities,
> updated to reflect support for XEN_DOMCTL_MONITOR_EVENT_GUEST_REQUEST
> * vm_event_init_domain (does nothing), vm_event_cleanup_domain
> == Misc:
> * vm_event_fill_regs, no longer X86-specific. ARM-side implementation of this
> function currently does nothing, that will be added in a separate patch.
>
> Signed-off-by: Corneliu ZUZU <czuzu@bitdefender.com>
> ---
> Changed since v1:
> * hvm_event_traps, hvm_event_guest_request moved to common/vm_event.c and
> and renamed to vm_event_monitor_traps and vm_event_monitor_guest_request
> * arch_monitor_get_capabilities moved to vm_event.h and renamed to
> vm_event_monitor_get_capabilities
> * arch_hvm_event_fill_regs replaced w/ existing vm_event_fill_regs
> (see commit adc75eba8b15c7103a010f736fe62e3fb2383964)
> * defined altp2m_active for ARM and altp2m_vcpu_idx to remove #ifdef in
> vm_event_monitor_traps
> * change bitfield members type to unsigned int
> ---
> xen/arch/arm/hvm.c | 8 ++++
> xen/arch/x86/hvm/event.c | 82 ++++++++---------------------------------
> xen/arch/x86/hvm/hvm.c | 3 +-
> xen/arch/x86/monitor.c | 18 +--------
> xen/arch/x86/vm_event.c | 1 +
> xen/common/monitor.c | 36 +++++++++++++++---
> xen/common/vm_event.c | 60 ++++++++++++++++++++++++++++++
> xen/include/asm-arm/altp2m.h | 39 ++++++++++++++++++++
> xen/include/asm-arm/monitor.h | 8 +---
> xen/include/asm-arm/vm_event.h | 19 +++++++++-
> xen/include/asm-x86/altp2m.h | 10 +++--
> xen/include/asm-x86/domain.h | 4 +-
> xen/include/asm-x86/hvm/event.h | 13 +++++--
> xen/include/asm-x86/monitor.h | 23 ------------
> xen/include/asm-x86/vm_event.h | 23 ++++++++++++
> xen/include/xen/sched.h | 6 +++
> xen/include/xen/vm_event.h | 9 +++++
> 17 files changed, 232 insertions(+), 130 deletions(-)
> create mode 100644 xen/include/asm-arm/altp2m.h
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-02-26 13:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-26 11:07 [PATCH v2] arm/monitor vm-events: Implement guest-request support Corneliu ZUZU
2016-02-26 11:56 ` Jan Beulich
2016-02-26 12:05 ` Corneliu ZUZU
2016-02-26 12:14 ` Razvan Cojocaru
2016-02-26 12:20 ` Corneliu ZUZU
2016-02-26 12:30 ` Razvan Cojocaru
2016-02-26 12:31 ` Jan Beulich
2016-02-26 12:53 ` Corneliu ZUZU
2016-02-26 13:42 ` Tamas K Lengyel
2016-02-26 13:52 ` Razvan Cojocaru [this message]
2016-02-26 14:25 ` Stefano Stabellini
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=56D05885.60208@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.