Re: [PATCH] virtio: skip legacy support check on machine types less than 5.1

2020-09-15 Thread Stefano Garzarella
On Tue, Sep 15, 2020 at 03:00:00PM +0200, Stefano Garzarella wrote: > Commit 9b3a35ec82 ("virtio: verify that legacy support is not accidentally > on") added a check that returns an error if legacy support is on, but the > device is not legacy. > > Unfortunately some devices were wrongly declared

[PATCH] virtio: skip legacy support check on machine types less than 5.1

2020-09-15 Thread Stefano Garzarella
Commit 9b3a35ec82 ("virtio: verify that legacy support is not accidentally on") added a check that returns an error if legacy support is on, but the device is not legacy. Unfortunately some devices were wrongly declared legacy even if they were not (e.g vhost-vsock). To avoid migration issues, we