Re: [virtio-comment] [PATCH v1 1/8] admin: Add theory of operation for device migration

From
Michael S. Tsirkin <>
Date
2023-10-13T11:41:48+00:00
ID
Thread
Re: [virtio-comment] [PATCH v1 1/8] admin: Add theory of operation for device migration
On Fri, Oct 13, 2023 at 09:15:31AM +0800, Jason Wang wrote:
> > > 1) Only works for SR-IOV member device like VF
> > It can be extended to SIOV member device in future.
> > Today these are the only type of member device virtio has.
> 
> That is exactly what I want to say, it can only work for the
> owner/member model. It can't work when the virtio device is not
> structured like that. And you missed that most of the existing virtio
> devices are not implemented in this model. It means they can't be
> migrated with a pure virtio specific extension. For you, SR-IOV is all
> but this is not true for virtio. PCI is not the only transport and
> SR-IOV is not the only architecture in PCI.

Original version of admin command work supported another group type
including just the device itself. In the end these commands are
just a level of indirection.
Using them for migration was explicitly listed as a use case when they
were introduced.