qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Karpov <akarpov12@yandex.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] synchronize state of the cpu before memory reading
Date: Wed, 09 Apr 2014 10:52:18 +0400	[thread overview]
Message-ID: <20140409065218.22927.70351.stgit@ndd> (raw)
In-Reply-To: <20140409065121.22927.52213.stgit@ndd>


---
 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	other threads:[~2014-04-09  6:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-09  6:52 [Qemu-devel] [PATCH] qmp: synchronize state of the cpu before memory reading Andrey Karpov
2014-04-09  6:52 ` Andrey Karpov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140409065218.22927.70351.stgit@ndd \
    --to=akarpov12@yandex.ru \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).