[PATCH v4] vfio/pci: migration: Skip config space check for Vendor Specific Information in VSC during restore/load

2024-05-03 Thread Vinayak Kale
forced on older machine types (<= 9.0). Signed-off-by: Vinayak Kale Cc: Alex Williamson Cc: Michael S. Tsirkin Cc: Cédric Le Goater --- Version History v3->v4: - VSC check is skipped for machine types >= 9.1. The check would be enforced on older machine types (<= 9.0). v2

Re: [PATCH v3] vfio/pci: migration: Skip config space check for Vendor Specific Information in VSC during restore/load

2024-04-30 Thread Vinayak Kale
ri, 22 Mar 2024 12:12:10 +0530 Vinayak Kale wrote: In case of migration, during restore operation, qemu checks config space of the pci device with the config space in the migration stream captured during save operation. In case of config space data mismatch, restore operation is failed. co

[PATCH v3] vfio/pci: migration: Skip config space check for Vendor Specific Information in VSC during restore/load

2024-03-22 Thread Vinayak Kale
Information in VSC for VFIO-PCI device by clearing pdev->cmask[] offsets. Config space check is still enforced for 3 byte VSC header. If cmask[] is not set for an offset, then qemu skips config space check for that offset. Signed-off-by: Vinayak Kale --- Version History v2->v3: - Config

Re: [PATCH v2] vfio/pci: migration: Skip config space check for vendor specific capability during restore/load

2024-03-20 Thread Vinayak Kale
On 18/03/24 8:28 pm, Alex Williamson wrote: External email: Use caution opening links or attachments On Fri, 15 Mar 2024 23:22:22 +0530 Vinayak Kale wrote: On 11/03/24 8:32 pm, Alex Williamson wrote: External email: Use caution opening links or attachments On Mon, 11 Mar 2024 17:45:19

Re: [PATCH v2] vfio/pci: migration: Skip config space check for vendor specific capability during restore/load

2024-03-15 Thread Vinayak Kale
On 11/03/24 8:32 pm, Alex Williamson wrote: External email: Use caution opening links or attachments On Mon, 11 Mar 2024 17:45:19 +0530 Vinayak Kale wrote: In case of migration, during restore operation, qemu checks config space of the pci device with the config space in the migration

[PATCH v2] vfio/pci: migration: Skip config space check for vendor specific capability during restore/load

2024-03-11 Thread Vinayak Kale
set for an offset, then qemu skips config space check for that offset. Signed-off-by: Vinayak Kale --- Version History v1->v2: - Limited scope of change to vfio-pci devices instead of all pci devices. hw/vfio/pci.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/h

Re: [PATCH] hw/pci: migration: Skip config space check for vendor specific capability during restore/load

2024-02-09 Thread Vinayak Kale
On 02/02/24 5:33 am, Alex Williamson wrote: On Thu, 1 Feb 2024 13:10:48 -0500 "Michael S. Tsirkin" wrote: On Thu, Feb 01, 2024 at 11:08:58PM +0530, Vinayak Kale wrote: On 31/01/24 11:08 pm, Alex Williamson wrote: On Wed, 31 Jan 2024 15:22:59 +0530 Vinayak Kale wrote: On 3

Re: [PATCH] hw/pci: migration: Skip config space check for vendor specific capability during restore/load

2024-02-01 Thread Vinayak Kale
On 31/01/24 11:08 pm, Alex Williamson wrote: On Wed, 31 Jan 2024 15:22:59 +0530 Vinayak Kale wrote: On 31/01/24 12:28 am, Alex Williamson wrote: On Tue, 30 Jan 2024 23:32:26 +0530 Vinayak Kale wrote: Missed adding Michael, Marcel, Alex and Avihai earlier, apologies. Regards, Vinayak

Re: [PATCH] hw/pci: migration: Skip config space check for vendor specific capability during restore/load

2024-01-31 Thread Vinayak Kale
On 31/01/24 12:28 am, Alex Williamson wrote: On Tue, 30 Jan 2024 23:32:26 +0530 Vinayak Kale wrote: Missed adding Michael, Marcel, Alex and Avihai earlier, apologies. Regards, Vinayak On 30/01/24 3:26 pm, Vinayak Kale wrote: In case of migration, during restore operation, qemu checks

Re: [PATCH] hw/pci: migration: Skip config space check for vendor specific capability during restore/load

2024-01-30 Thread Vinayak Kale
Missed adding Michael, Marcel, Alex and Avihai earlier, apologies. Regards, Vinayak On 30/01/24 3:26 pm, Vinayak Kale wrote: In case of migration, during restore operation, qemu checks the config space of the pci device with the config space in the migration stream captured during save

[PATCH] hw/pci: migration: Skip config space check for vendor specific capability during restore/load

2024-01-30 Thread Vinayak Kale
fig space check for that offset. Signed-off-by: Vinayak Kale --- hw/pci/pci.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hw/pci/pci.c b/hw/pci/pci.c index 76080af580..32429109df 100644 --- a/hw/pci/pci.c +++ b/hw/pci/pci.c @@ -2485,8 +2485,11 @@ int pci_add_capabil