qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] virtio: skip legacy support check on machine types less t


From: Stefano Garzarella
Subject: Re: [PATCH v2] virtio: skip legacy support check on machine types less than 5.1
Date: Thu, 17 Sep 2020 14:09:46 +0200

On Thu, Sep 17, 2020 at 01:00:08PM +0200, Cornelia Huck wrote:
> On Thu, 17 Sep 2020 12:47:21 +0200
> Stefano Garzarella <sgarzare@redhat.com> wrote:
> 
> > Okay, so I'll leave the device property.
> > 
> > 
> > I also need to update a series [1] that I sent to force virtio version 1
> > on vhost-vsock devices.
> > Also in this case I need to care about migration and force it only on new
> > machine types.
> > 
> > Do you think I can reuse the same property also in vhost-vsock-pci and
> > vhost-vsock-ccw to force virtio version 1, or it is better to add a new
> > property for each device.
> > 
> > The two things (disable legacy check and force version 1) are related,
> > so maybe I can use a single property in the virtio-device class,
> 
> So, 'x-disable-legacy-check==false' -> 'we need to force version 1'?

Exaclty :-)

> Seems reasonable to me.

Thanks for the feedback, I'll go this way!

Stefano




reply via email to

[Prev in Thread] Current Thread [Next in Thread]