[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/2] block: thread-safety patches for virtio-
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/2] block: thread-safety patches for virtio-blk dataplane rerror/werror |
Date: |
Fri, 20 Jun 2014 02:04:21 -0400 (EDT) |
----- Messaggio originale -----
> Da: "Stefan Hajnoczi" <address@hidden>
> A: "Paolo Bonzini" <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> Inviato: Venerdì, 20 giugno 2014 5:58:59
> Oggetto: Re: [PATCH v2 0/2] block: thread-safety patches for virtio-blk
> dataplane rerror/werror
>
> On Thu, Jun 05, 2014 at 02:53:57PM +0200, Paolo Bonzini wrote:
> > With virtio-blk dataplane, I/O errors might occur while QEMU is
> > not in the main I/O thread. This makes the block layer's
> > bdrv_error_action() function thread-safe (modulo changes in
> > the monitor to make QMP events thread-safe too, already posted).
> >
> > Thanks to Kevin for discussing v1, the ideas are based on his
> > input too.
> >
> > v1->v2: redone, v1 should really have been an RFC
> >
> > Paolo Bonzini (2):
> > vl: allow other threads to do qemu_system_vmstop_request
> > block: asynchronously stop the VM on I/O errors
> >
> > block.c | 20 ++++++++++--
> > cpus.c | 1 +
> > docs/qmp/qmp-events.txt | 2 +-
> > include/sysemu/sysemu.h | 1 +
> > stubs/vm-stop.c | 7 +++-
> > target-lm32/op_helper.c | 2 +-
> > vl.c | 85
> > +++++++++++++++++++++++++++++++------------------
> > 7 files changed, 82 insertions(+), 36 deletions(-)
>
> Thanks, applied to my block tree:
> https://github.com/stefanha/qemu/commits/block
Hi Stefan, both patches actually will need rebasing on top of the
QAPI event series from Wenchao. I can resend it next week.
Paolo