Re: [PATCH v1 0/2] Virtio: fix some vq allocation issues

From: Wei Wang
Date: Thu Jan 03 2019 - 01:13:00 EST


On 12/28/2018 03:57 PM, Christian Borntraeger wrote:

On 28.12.2018 03:26, Wei Wang wrote:
Some vqs don't need to be allocated when the related feature bits are
disabled. Callers notice the vq allocation layer by setting the related
names[i] to be NULL.

This patch series fixes the find_vqs implementations to handle this case.
So the random crashes during boot are gone.
What still does not work is actually using the balloon.

So in the qemu monitor using lets say "balloon 1000" will hang the guest.
Seems to be a deadlock in the virtio-ccw code. We seem to call the
config code in the interrupt handler.

Please try with applying both this series and the "virtio-balloon: tweak config_changed"
series that I just sent.
This series fixes the ccw booting issue and that series tries to fix the ccw deadlock issue.

Best,
Wei