On Fri, 18 Sep 2020 09:47:10 +0200 Stefano Garzarella <sgarz...@redhat.com> wrote:
> virtio-vsock was introduced after the release of VIRTIO 1.0 > specifications, so it should be 'modern-only'. > > This patch forces virtio version 1 as done for vhost-vsock-pci. > > To avoid migration issues, we force virtio version 1 only when > legacy check is enabled in the new machine types (>= 5.1). > > Cc: qemu-sta...@nongnu.org > Suggested-by: Cornelia Huck <coh...@redhat.com> > Signed-off-by: Stefano Garzarella <sgarz...@redhat.com> > --- > v3: > - forced virtio version 1 only with new machine types > --- > hw/s390x/vhost-vsock-ccw.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) Reviewed-by: Cornelia Huck <coh...@redhat.com>