From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zdxcz-0002H6-TS for qemu-devel@nongnu.org; Mon, 21 Sep 2015 05:43:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zdxcw-0001bD-LS for qemu-devel@nongnu.org; Mon, 21 Sep 2015 05:43:17 -0400 Received: from [59.151.112.132] (port=15284 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zdxcw-0001GX-1n for qemu-devel@nongnu.org; Mon, 21 Sep 2015 05:43:14 -0400 References: <1442368976-15852-1-git-send-email-caoj.fnst@cn.fujitsu.com> From: Cao jin Message-ID: <55FFD22F.8060706@cn.fujitsu.com> Date: Mon, 21 Sep 2015 17:47:27 +0800 MIME-Version: 1.0 In-Reply-To: <1442368976-15852-1-git-send-email-caoj.fnst@cn.fujitsu.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Ping: [PATCH v2 0/2] PCI-e device multi-function hot-add support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, alex.williamson@redhat.com, izumi.taku@jp.fujitsu.com On 09/16/2015 10:02 AM, Cao jin wrote: > Support PCI-e device hot-add multi-function via device_add, just ensure > add the function 0 is added last. While allow user to roll back in the > middle via device_del, in case user regret. > > According to Alex`s comment, v2 has following update: > 1. patch 1/2 remove if() which seems breaks the assumptions elsewhere > 2. patch 2/2 change device_del process: qemu fake the device detach condition, > make OS trigger the action > > Cao jin (2): > PCI-e device multi-function hot-add support > PCI-e device multi-function hot-add support > > hw/pci/pcie.c | 36 +++++++++++++++++++++++++++--------- > 1 file changed, 27 insertions(+), 9 deletions(-) > -- Yours Sincerely, Cao Jin