From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corneliu ZUZU Subject: Re: [PATCH] arm/monitor vm-events: Implement guest-request support Date: Fri, 19 Feb 2016 17:56:18 +0200 Message-ID: <56C73B22.1060702@bitdefender.com> References: <1455824116-13783-1-git-send-email-czuzu@bitdefender.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: Tamas K Lengyel , Keir Fraser , Ian Campbell , Razvan Cojocaru , Andrew Cooper , xen-devel@lists.xen.org, Stefano Stabellini , Jan Beulich List-Id: xen-devel@lists.xenproject.org On 2/19/2016 3:49 PM, Stefano Stabellini wrote: > On Thu, 18 Feb 2016, Corneliu ZUZU wrote: >> + >> + if ( sync ) >> + { >> + req->flags |= VM_EVENT_FLAG_VCPU_PAUSED; >> + vm_event_vcpu_pause(v); >> + } >> + >> +#if CONFIG_X86 >> + if ( altp2m_active(d) ) > I would rather > > #define altp2m_active(d) (0) > > on ARM, removing the two ifdefs in this file. Yeah, I actually wanted to get rid of that too at some point, the question is, what do I do with "req->altp2m_idx = vcpu_altp2m(v).p2midx"? I'm not familiar w/ altp2m design, maybe someone that knows more of the internals of that can give a suggestion. Thanks, Corneliu.