From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkZIU-0000TT-CX for qemu-devel@nongnu.org; Tue, 21 Apr 2015 10:37:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkZIP-0005Fe-TN for qemu-devel@nongnu.org; Tue, 21 Apr 2015 10:37:10 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:58337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkZIP-0005F6-KY for qemu-devel@nongnu.org; Tue, 21 Apr 2015 10:37:05 -0400 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 21 Apr 2015 15:37:04 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 8C1101B08061 for ; Tue, 21 Apr 2015 15:37:38 +0100 (BST) Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3LEb1Wg6554102 for ; Tue, 21 Apr 2015 14:37:02 GMT Received: from d06av07.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t3LEb0hP025443 for ; Tue, 21 Apr 2015 10:37:00 -0400 From: Cornelia Huck Date: Tue, 21 Apr 2015 16:36:54 +0200 Message-Id: <1429627016-30656-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH RFC 0/2] virtio-ccw realization/plugged handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Cornelia Huck , borntraeger@de.ibm.com, mst@redhat.com, shannon.zhao@linaro.org, peter.maydell@linaro.org Turns out that reworking the realization/plugging sequence for virtio-ccw to make it more similar to virtio-pci (as discussed in https://marc.info/?l=qemu-devel&m=142954827813046&w=2) was easier than expected. At least I have something that seems to look sane, produces working virtio-ccw devices and does what is expected on device_add/ device_del. I have not yet verified how this interacts with Shannon's latest patches (https://marc.info/?l=qemu-devel&m=142961349029986&w=2), but I think it should work. Feedback welcome. I do hope being more like virtio-pci will benefit us in the future :) Cornelia Huck (2): virtio-ccw: change realization sequence virtio-ccw: implement ->device_plugged hw/s390x/virtio-ccw.c | 72 +++++++++++++++++++++++++++------------------------ 1 file changed, 38 insertions(+), 34 deletions(-) -- 2.1.4