From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: [PATCH] arm/monitor vm-events: Implement guest-request support Date: Thu, 18 Feb 2016 22:08:41 +0200 Message-ID: <56C624C9.5040507@bitdefender.com> References: <1455824116-13783-1-git-send-email-czuzu@bitdefender.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1455824116-13783-1-git-send-email-czuzu@bitdefender.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Corneliu ZUZU , xen-devel@lists.xen.org Cc: Tamas K Lengyel , Keir Fraser , Ian Campbell , Andrew Cooper , Stefano Stabellini , Jan Beulich List-Id: xen-devel@lists.xenproject.org On 02/18/2016 09:35 PM, Corneliu ZUZU wrote: > This patch adds ARM support for guest-request monitor vm-events. > > 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, hvm_event_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 > hvm_event_guest_request (as on X86) > * arch_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: > * hvm_event_fill_regs renamed to arch_hvm_event_fill_regs, no longer > X86-specific. ARM-side implementation of this function currently does > nothing, that will be added in a separate patch. We should probably take into account what happens with Tamas' "vm_event: consolidate hvm_event_fill_regs and p2m_vm_event_fill_regs" patch here. That patch already affects hvm_event_fill_regs(). Tamas'll probably chime in with more. Thanks, Razvan