Re: [Qemu-devel] [PATCH v7 01/13] vfio: KABI for migration interface

2019-08-21 Thread Kirti Wankhede
On 7/23/2019 5:43 PM, Cornelia Huck wrote: > On Tue, 16 Jul 2019 14:56:32 -0600 > Alex Williamson wrote: > >> On Tue, 9 Jul 2019 15:19:08 +0530 >> Kirti Wankhede wrote: > > I'm still a bit unsure about the device_state bit handling as well. > >>> + * device_state: (read/write) >>> + *

Re: [Qemu-devel] [PATCH v7 01/13] vfio: KABI for migration interface

2019-08-21 Thread Kirti Wankhede
Sorry for the delay. On 7/17/2019 2:26 AM, Alex Williamson wrote: > On Tue, 9 Jul 2019 15:19:08 +0530 > Kirti Wankhede wrote: > >> - Defined MIGRATION region type and sub-type. >> - Used 3 bits to define VFIO device states. >> Bit 0 => _RUNNING >> Bit 1 => _SAVING >> Bit 2 => _RESU

Re: [Qemu-devel] [PATCH v7 01/13] vfio: KABI for migration interface

2019-07-23 Thread Cornelia Huck
On Tue, 16 Jul 2019 14:56:32 -0600 Alex Williamson wrote: > On Tue, 9 Jul 2019 15:19:08 +0530 > Kirti Wankhede wrote: I'm still a bit unsure about the device_state bit handling as well. > > + * device_state: (read/write) > > + * To indicate vendor driver the state VFIO device should be >

Re: [Qemu-devel] [PATCH v7 01/13] vfio: KABI for migration interface

2019-07-17 Thread Cornelia Huck
On Tue, 16 Jul 2019 14:56:32 -0600 Alex Williamson wrote: > On Tue, 9 Jul 2019 15:19:08 +0530 > Kirti Wankhede wrote: > > diff --git a/linux-headers/linux/vfio.h b/linux-headers/linux/vfio.h > > index 24f505199f83..6696a4600545 100644 > > --- a/linux-headers/linux/vfio.h > > +++ b/linux-headers

Re: [Qemu-devel] [PATCH v7 01/13] vfio: KABI for migration interface

2019-07-16 Thread Alex Williamson
On Tue, 9 Jul 2019 15:19:08 +0530 Kirti Wankhede wrote: > - Defined MIGRATION region type and sub-type. > - Used 3 bits to define VFIO device states. > Bit 0 => _RUNNING > Bit 1 => _SAVING > Bit 2 => _RESUMING > Combination of these bits defines VFIO device's state during migratio

[Qemu-devel] [PATCH v7 01/13] vfio: KABI for migration interface

2019-07-09 Thread Kirti Wankhede
- Defined MIGRATION region type and sub-type. - Used 3 bits to define VFIO device states. Bit 0 => _RUNNING Bit 1 => _SAVING Bit 2 => _RESUMING Combination of these bits defines VFIO device's state during migration _STOPPED => All bits 0 indicates VFIO device stopped. _RUNNI