From: "Jan Beulich" Subject: Re: [PATCH RFC 3/5] pvh: add rwmem_ranges to keep mapped special regions Date: Tue, 17 Feb 2015 12:27:01 +0000 Message-ID: <54E341A50200007800060948@mail.emea.novell.com> References: <20150213185158.GA12737@elena.ufimtseva> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150213185158.GA12737@elena.ufimtseva> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Elena Ufimtseva Cc: kevin.tian@intel.com, tim@xen.org, xen-devel@lists.xen.org, yang.z.zhang@intel.com, boris.ostrovsky@oracle.com, roger.pau@citrix.com List-Id: xen-devel@lists.xenproject.org >>> On 13.02.15 at 19:52, wrote: > --- a/xen/include/asm-x86/hvm/iommu.h > +++ b/xen/include/asm-x86/hvm/iommu.h > @@ -2,6 +2,7 @@ > #define __ASM_X86_HVM_IOMMU_H__ > > #include > +#include Why? > --- a/xen/include/xen/iommu.h > +++ b/xen/include/xen/iommu.h > @@ -191,4 +191,9 @@ DECLARE_PER_CPU(bool_t, iommu_dont_flush_iotlb); > extern struct spinlock iommu_pt_cleanup_lock; > extern struct page_list_head iommu_pt_cleanup_list; > > +struct rwmem_range { > + struct list_head list; > + u64 start, end; > +}; Without this being used anywhere you leave us to guess what the fields are for. I think patches 2, 3, and at least 4 are unhelpful to be split apart. Jan