qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: heavybird <4345099@qq.com>
To: "Peter Maydell" <peter.maydell@linaro.org>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] errors which can't backing storage for guest RAM with -mem-path
Date: Sun, 14 May 2017 12:58:23 +0800	[thread overview]
Message-ID: <tencent_5A038239424655CD059BD858@qq.com> (raw)

Hi Peter

I found it can't backup the guest RAM when i run simple ram test code with 

errors which can't backing storage for guest RAM with integratorcp, the commander is:

qemu-system-arm -M integratorcp -m 1 -semihosting -nographic -mem-path mem.txt -kernel build/emu_ram_test.elf

i wrote the patter "0x55" to all of the rest of RAM in my test, after run my test code, it just generate the 1048576 Bytes file, i split these file into 2kB, most of split file is black, some of them just display \00 after open with gedit.

i don't know whether my commander is incorrect, anyone can confirm it for me? i just want to write the guest RAM and read it from host during the guest code is running. but my guest just has simple os without file system and network. so i want to try with this backend RAM ways.

thanks.
js

             reply	other threads:[~2017-05-14  4:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-14  4:58 heavybird [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-12  8:09 [Qemu-devel] errors which can't backing storage for guest RAM with -mem-path heavybird

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=tencent_5A038239424655CD059BD858@qq.com \
    --to=4345099@qq.com \
    --cc=peter.maydell@linaro.org \
    --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).