From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwqVV-0001LP-8R for qemu-devel@nongnu.org; Thu, 12 Nov 2015 06:57:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwqVQ-0002kk-L1 for qemu-devel@nongnu.org; Thu, 12 Nov 2015 06:57:37 -0500 Received: from [59.151.112.132] (port=22258 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwqVQ-0002je-43 for qemu-devel@nongnu.org; Thu, 12 Nov 2015 06:57:32 -0500 References: <4c3082e57fbcc6c2a0ebf032f7eabea273d7e935.1447231392.git.chen.fan.fnst@cn.fujitsu.com> <1447275527.3946.24.camel@redhat.com> From: Cao jin Message-ID: <56447ECC.2080100@cn.fujitsu.com> Date: Thu, 12 Nov 2015 19:58:04 +0800 MIME-Version: 1.0 In-Reply-To: <1447275527.3946.24.camel@redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v13 10/13] pci: add pci device pre-post reset callbacks for host bus reset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: Chen Fan , qemu-devel@nongnu.org, mst@redhat.com On 11/12/2015 04:58 AM, Alex Williamson wrote: > On Wed, 2015-11-11 at 18:34 +0800, Cao jin wrote: >> From: Chen Fan > > ... >> diff --git a/hw/vfio/pci.h b/hw/vfio/pci.h >> index b385f07..1b89b83 100644 >> --- a/hw/vfio/pci.h >> +++ b/hw/vfio/pci.h >> @@ -144,6 +144,8 @@ typedef struct VFIOPCIDevice { >> bool no_kvm_msix; >> >> NotifierWithReturn hotplug_notifier; >> + bool aer_reset; >> + bool single_depend_dev; >> } VFIOPCIDevice; > > Add these to with the rest of the bools above hotplug_notifier so the > structure isn't larger than it needs to be. > OK > -- Yours Sincerely, Cao Jin