Re: [vfio-users] location of regions VFIO_REGION_TYPE_MIGRATION/VFIO_REGION_SUBTYPE_MIGRATION

2020-10-02 Thread Auger Eric
Hi Thanos, On 10/2/20 4:04 PM, Thanos Makatos wrote: >> -Original Message- >> From: Auger Eric >> Sent: 02 October 2020 14:56 >> To: Thanos Makatos ; vfio- >> us...@redhat.com >> Cc: John G Johnson >> Subject: Re: [vfio-users] location of regions >> VFIO_REGION_TYPE_MIGRATION/VFIO_REGION

Re: [vfio-users] location of regions VFIO_REGION_TYPE_MIGRATION/VFIO_REGION_SUBTYPE_MIGRATION

2020-10-02 Thread Alex Williamson
On Fri, 2 Oct 2020 12:54:28 + Thanos Makatos wrote: > According to linux/include/uapi/linux/vfio.h, for a device to support > migration > it must provide a VFIO capability of type VFIO_REGION_INFO_CAP_TYPE and set > .type/.subtype to VFIO_REGION_TYPE_MIGRATION/VFIO_REGION_TYPE_MIGRATION. >

Re: [vfio-users] location of regions VFIO_REGION_TYPE_MIGRATION/VFIO_REGION_SUBTYPE_MIGRATION

2020-10-02 Thread Thanos Makatos
> -Original Message- > From: Auger Eric > Sent: 02 October 2020 14:56 > To: Thanos Makatos ; vfio- > us...@redhat.com > Cc: John G Johnson > Subject: Re: [vfio-users] location of regions > VFIO_REGION_TYPE_MIGRATION/VFIO_REGION_SUBTYPE_MIGRATION > > Hi Thanos, > > On 10/2/20 2:54 PM, Th

Re: [vfio-users] location of regions VFIO_REGION_TYPE_MIGRATION/VFIO_REGION_SUBTYPE_MIGRATION

2020-10-02 Thread Auger Eric
Hi Thanos, On 10/2/20 2:54 PM, Thanos Makatos wrote: > According to linux/include/uapi/linux/vfio.h, for a device to support > migration > it must provide a VFIO capability of type VFIO_REGION_INFO_CAP_TYPE and set > .type/.subtype to VFIO_REGION_TYPE_MIGRATION/VFIO_REGION_TYPE_MIGRATION. > > Wh

[vfio-users] location of regions VFIO_REGION_TYPE_MIGRATION/VFIO_REGION_SUBTYPE_MIGRATION

2020-10-02 Thread Thanos Makatos
According to linux/include/uapi/linux/vfio.h, for a device to support migration it must provide a VFIO capability of type VFIO_REGION_INFO_CAP_TYPE and set .type/.subtype to VFIO_REGION_TYPE_MIGRATION/VFIO_REGION_TYPE_MIGRATION. What confuses me is the following: "The structure vfio_device_migrat