qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] synchronize state of the cpu before memory reading


From: Andrey Karpov
Subject: [Qemu-devel] [PATCH] synchronize state of the cpu before memory reading
Date: Wed, 09 Apr 2014 10:52:18 +0400
User-agent: StGit/0.17.1-dirty

---
 cpus.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/cpus.c b/cpus.c
index 1104d61..4c53747 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1417,6 +1417,7 @@ void qmp_memsave(int64_t addr, int64_t size, const char 
*filename,
         return;
     }
 
+    cpu_synchronize_state(cpu);
     while (size != 0) {
         l = sizeof(buf);
         if (l > size)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]