[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v9 03/10] replay: disable default snapshot for recor
From: |
Pavel Dovgalyuk |
Subject: |
[Qemu-devel] [PATCH v9 03/10] replay: disable default snapshot for record/replay |
Date: |
Thu, 04 May 2017 11:41:54 +0300 |
User-agent: |
StGit/0.16 |
This patch disables setting '-snapshot' option on by default
in record/replay mode. This is needed for creating vmstates in record
and replay modes.
Signed-off-by: Pavel Dovgalyuk <address@hidden>
---
vl.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/vl.c b/vl.c
index eafb3ff7a4..222610ab7a 100644
--- a/vl.c
+++ b/vl.c
@@ -3168,7 +3168,13 @@ int main(int argc, char **argv, char **envp)
drive_add(IF_PFLASH, -1, optarg, PFLASH_OPTS);
break;
case QEMU_OPTION_snapshot:
- snapshot = 1;
+ {
+ Error *blocker = NULL;
+ snapshot = 1;
+ error_setg(&blocker, QERR_REPLAY_NOT_SUPPORTED,
+ "-snapshot");
+ replay_add_blocker(blocker);
+ }
break;
case QEMU_OPTION_hdachs:
{
- [Qemu-devel] [PATCH v9 00/10] replay additions, Pavel Dovgalyuk, 2017/05/04
- [Qemu-devel] [PATCH v9 01/10] block: implement bdrv_snapshot_goto for blkreplay, Pavel Dovgalyuk, 2017/05/04
- [Qemu-devel] [PATCH v9 02/10] blkreplay: create temporary overlay for underlaying devices, Pavel Dovgalyuk, 2017/05/04
- [Qemu-devel] [PATCH v9 03/10] replay: disable default snapshot for record/replay,
Pavel Dovgalyuk <=
- [Qemu-devel] [PATCH v9 04/10] replay: fix processing async events, Pavel Dovgalyuk, 2017/05/04
- [Qemu-devel] [PATCH v9 05/10] replay: fixed replay_enable_events, Pavel Dovgalyuk, 2017/05/04
- [Qemu-devel] [PATCH v9 06/10] replay: fix save/load vm for non-empty queue, Pavel Dovgalyuk, 2017/05/04