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

Cornelia Huck
2019-01-03T09:26:12Z

On Thu, 3 Jan 2019 13:31:00 +0800
Wei Wang <wei.w.wang@intel.com> 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.