RE: [virtio-comment] Re: [PATCH v1 3/8] device-context: Define the device context fields for device migration

From
Parav Pandit <>
Date
2023-10-12T13:13:32+00:00
ID
Thread
RE: [virtio-comment] Re: [PATCH v1 3/8] device-context: Define the device context fields for device migration
> From:  <-
> open.org> On Behalf Of Michael S. Tsirkin
> Sent: Thursday, October 12, 2023 6:33 PM
> 
> On Thu, Oct 12, 2023 at 11:37:01AM +0000, Parav Pandit wrote:
> > As Michael said, software based nesting is used..
> > See if actual hw based devices can implement it or not. Many components of
> cpu cannot do N level nesting either, but may be virtio can.
> > I donât know how yet.
> 
> It is worth pondering though. Can you give it some thought?
Yes. 
Device context and dirty tracking can be used mostly as_is.
It needs some different set of commands as one cannot stop/freeze the device.

> I am thinking of a special bar region (or a couple) through which admin
> command structure can be exposed, and a special group type that refers to
> same pci function.
Yes, this can be an option as additional way for non_passthrough mode.