]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio-pci: skip reset during cpr
authorSteve Sistare <steven.sistare@oracle.com>
Tue, 10 Jun 2025 15:39:24 +0000 (08:39 -0700)
committerCédric Le Goater <clg@redhat.com>
Wed, 11 Jun 2025 12:01:58 +0000 (14:01 +0200)
commit031fbb7110a183053b431fb667867a5244910e75
treee748d232ae65333fb787abb5567fd2657be3fd7c
parent24c156dcd94299f64994170ce84efac9ae001f41
vfio-pci: skip reset during cpr

Do not reset a vfio-pci device during CPR, and do not complain if the
kernel's PCI config space changes for non-emulated bits between the
vmstate save and load, which can happen due to ongoing interrupt activity.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/1749569991-25171-12-git-send-email-steven.sistare@oracle.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/cpr.c
hw/vfio/pci.c
include/hw/vfio/vfio-cpr.h