From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: [PATCH 0/2] KVM: s390: Bugfixes for virtio-ccw. Date: Mon, 7 Jan 2013 15:51:50 +0100 Message-ID: <1357570312-32074-1-git-send-email-cornelia.huck@de.ibm.com> Return-path: Sender: kvm-owner@vger.kernel.org List-Archive: List-Post: To: Marcelo Tosatti , Gleb Natapov Cc: Christian Borntraeger , Carsten Otte , Alexander Graf , Heiko Carstens , Martin Schwidefsky , KVM , linux-s390 List-ID: Hi, Christian discovered some problems with regard to serialization in the virtio-ccw guest driver. Per-device data structures might contain data obtained by channel programs issued later on, leading to confusing behaviour. We cannot rely on the common I/O layer serialization here. Rather than adding extra serialization, we decided to keep it simple with per-request allocated data structures and retries on busy. These patches have been run in our internal testing without problems for a bit now. Please apply to kvm-next. Christian Borntraeger (1): KVM: s390: Gracefully handle busy conditions on ccw_device_start Cornelia Huck (1): KVM: s390: Dynamic allocation of virtio-ccw I/O data. drivers/s390/kvm/virtio_ccw.c | 291 ++++++++++++++++++++++++++---------------- 1 file changed, 181 insertions(+), 110 deletions(-) -- 1.7.12.4