Re: [PATCH v1 0/2] virtio-balloon: tweak config_changed

From: Cornelia Huck
Date: Thu Jan 03 2019 - 04:27:06 EST


On Thu, 3 Jan 2019 13:31:00 +0800
Wei Wang <wei.w.wang@xxxxxxxxx> wrote:

> Since virtio-ccw doesn't work with accessing to the config registers
> inside an interrupt context, this patch series avoids that issue by
> moving the config register accesses to the related workqueue contexts.
>
> Wei Wang (2):
> virtio-balloon: tweak config_changed implementation
> virtio-balloon: improve update_balloon_size_func
>
> drivers/virtio/virtio_balloon.c | 59 +++++++++++++++++++++--------------------
> 1 file changed, 30 insertions(+), 29 deletions(-)
>

A quick test (various 'balloon <num>' in the QEMU monitor) with a
virtio-balloon-ccw device seems to work fine here.