[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 0/4] some migration bugs
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[Qemu-block] [PATCH 0/4] some migration bugs |
Date: |
Sat, 25 Feb 2017 22:31:51 +0300 |
Hi all!
Here are some migration related bugs, two about INACTIVE bdses and one
use-after-free.
I'm absolutely not sure, that these bugs should be fixed like I'm fixing,
but problem definitely exists.
Reset in stopped state is strange case, may be such usage should be
restricted.
About INACTIVE - looks like it should be a separate run-state, not only
bdrv-flag.
Situation with migration state, which is global, but is set/reset/changed
in not controlled manner is not very good too..
Vladimir Sementsov-Ogievskiy (4):
iotests: add migration corner cases test
qmp-cont: invalidate on RUN_STATE_PRELAUNCH
savevm: fix savevm after migration
migration: fix use-after-free of to_dst_file
block/snapshot.c | 3 +-
migration/savevm.c | 16 +++++++++++
qmp.c | 3 +-
tests/qemu-iotests/175 | 71 ++++++++++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/175.out | 5 ++++
tests/qemu-iotests/group | 1 +
6 files changed, 97 insertions(+), 2 deletions(-)
create mode 100644 tests/qemu-iotests/175
create mode 100644 tests/qemu-iotests/175.out
--
2.11.1
- [Qemu-block] [PATCH 0/4] some migration bugs,
Vladimir Sementsov-Ogievskiy <=