From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UF528-0004cS-Ps for qemu-devel@nongnu.org; Mon, 11 Mar 2013 11:53:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UF527-0001Em-Gg for qemu-devel@nongnu.org; Mon, 11 Mar 2013 11:53:04 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:47365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UF527-0001EU-7F for qemu-devel@nongnu.org; Mon, 11 Mar 2013 11:53:03 -0400 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 11 Mar 2013 15:50:50 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 6A14317D802D for ; Mon, 11 Mar 2013 15:53:38 +0000 (GMT) Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by b06cxnps3074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r2BFqoS329425716 for ; Mon, 11 Mar 2013 15:52:50 GMT Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r2BEjhOm001950 for ; Mon, 11 Mar 2013 10:45:43 -0400 From: Cornelia Huck Date: Mon, 11 Mar 2013 16:52:55 +0100 Message-Id: <1363017177-27666-2-git-send-email-cornelia.huck@de.ibm.com> In-Reply-To: <1363017177-27666-1-git-send-email-cornelia.huck@de.ibm.com> References: <1363017177-27666-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH 1/2] virtio-ccw: remove qdev_unparent in unplug routing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Christian Borntraeger , Jens Freimann From: Christian Borntraeger This patch fixes unplugging a virtio-ccw device. We no longer need to do that in virtio-ccw since common code does now proper handling. Signed-off-by: Christian Borntraeger Signed-off-by: Jens Freimann Signed-off-by: Cornelia Huck --- hw/s390x/virtio-ccw.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index a9cf703..06b9641 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -865,7 +865,6 @@ static int virtio_ccw_busdev_unplug(DeviceState *dev) css_generate_sch_crws(sch->cssid, sch->ssid, sch->schid, 1, 0); - object_unparent(OBJECT(dev)); qdev_free(dev); return 0; } -- 1.7.9.5