When resetting a 9p session we leak the migration blocker: this makes the
device unmigratable until the guest remounts/unmounts the 9p share again.
We also leak in-flight I/O whose completion will occur in the context of
the new session. This violates the 9p specification [*] and is likely to
confuse clients.
This series fixes both issues.
---
Greg Kurz (3):
9pfs: clear migration blocker at session reset
9pfs: cancel active PDUs in virtfs_reset()
9pfs: drop useless loop in v9fs_reset()
hw/9pfs/9p.c | 38 ++++++++++++++++++++++++++++----------
1 file changed, 28 insertions(+), 10 deletions(-)
--
Greg