Received: from eggs.gnu.org ([2001:4830:134:3::10]:52068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKIJt-00029i-IV for qemu-devel@nongnu.org; Thu, 30 Nov 2017 01:27:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKIJq-0007nW-Fp for qemu-devel@nongnu.org; Thu, 30 Nov 2017 01:27:37 -0500 Received: from mail-io0-x244.google.com ([2607:f8b0:4001:c06::244]:40459) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKIJq-0007mq-9E for qemu-devel@nongnu.org; Thu, 30 Nov 2017 01:27:34 -0500 Received: by mail-io0-x244.google.com with SMTP id d21so6358323ioe.7 for ; Wed, 29 Nov 2017 22:27:34 -0800 (PST) References: <20171122073947.19325-1-aik@ozlabs.ru> <20171129083624.134d46ce@t450s.home> <20171129190520.012e51b5@t450s.home> From: Alexey Kardashevskiy Message-ID: Date: Thu, 30 Nov 2017 17:27:28 +1100 MIME-Version: 1.0 In-Reply-To: <20171129190520.012e51b5@t450s.home> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH qemu] vfio-pci: Remove unused fields from VFIOMSIXInfo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: qemu-devel@nongnu.org On 30/11/17 13:05, Alex Williamson wrote: > On Thu, 30 Nov 2017 12:56:09 +1100 > Alexey Kardashevskiy wrote: > >> On 30/11/17 02:36, Alex Williamson wrote: >>> On Wed, 22 Nov 2017 18:39:47 +1100 >>> Alexey Kardashevskiy wrote: >>> >>> Missing reference to commit that made these fields unused. A Fixes tag >>> to that commit also seems appropriate. An empty commit log is pretty >>> much never justified. >> >> Ah. Right, sorry. I could not find when it was used, looks like never. > > Nope, db0da029a185 vfio: Generalize region support ah, right :( Repost? > >>> This also looks like 2.12 material. Thanks, >> >> Indeed 2.12. >> >> >>> >>> Alex >>> >>>> Signed-off-by: Alexey Kardashevskiy >>>> --- >>>> hw/vfio/pci.h | 2 -- >>>> 1 file changed, 2 deletions(-) >>>> >>>> diff --git a/hw/vfio/pci.h b/hw/vfio/pci.h >>>> index c5e168e..06dcf99 100644 >>>> --- a/hw/vfio/pci.h >>>> +++ b/hw/vfio/pci.h >>>> @@ -93,8 +93,6 @@ typedef struct VFIOMSIXInfo { >>>> uint16_t entries; >>>> uint32_t table_offset; >>>> uint32_t pba_offset; >>>> - MemoryRegion mmap_mem; >>>> - void *mmap; >>>> unsigned long *pending; >>>> } VFIOMSIXInfo; >>>> >>> >> >> > -- Alexey