qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] errors which can't backing storage for guest RAM with -mem-path
@ 2017-05-12  8:09 heavybird
  0 siblings, 0 replies; 2+ messages in thread
From: heavybird @ 2017-05-12  8:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: hutao, pbonzini

Hi all

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] errors which can't backing storage for guest RAM with -mem-path
@ 2017-05-14  4:58 heavybird
  0 siblings, 0 replies; 2+ messages in thread
From: heavybird @ 2017-05-14  4:58 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-14  4:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-14  4:58 [Qemu-devel] errors which can't backing storage for guest RAM with -mem-path heavybird
  -- strict thread matches above, loose matches on Subject: below --
2017-05-12  8:09 heavybird

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).