diff options
author | Cédric Le Goater <clg@redhat.com> | 2025-03-26 08:51:10 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-04-25 09:01:37 +0200 |
commit | 819a5865c0524c4bfcf1906955c9d15952fdbcc7 (patch) | |
tree | 4be80f3bff78b7804293d851c70826ac1427a7f9 /rust/qemu-api-macros | |
parent | 923b11411e0e68b460f6fd8e6a7f8ff11554e48c (diff) | |
download | qemu-819a5865c0524c4bfcf1906955c9d15952fdbcc7.zip qemu-819a5865c0524c4bfcf1906955c9d15952fdbcc7.tar.gz qemu-819a5865c0524c4bfcf1906955c9d15952fdbcc7.tar.bz2 |
vfio: Move vfio_reset_handler() into device.c
Pass-through devices of a VM are not necessarily in the same group and
all groups/address_spaces need to be scanned when the machine is
reset. Commit f16f39c3fc97 ("Implement PCI hot reset") introduced a VM
reset handler for this purpose. Move it under device.c
Also reintroduce the comment which explained the context and was lost
along the way.
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-26-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions