[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1690322] Re: errors which can't backing storage for guest RAM with
From: |
Daniel Berrange |
Subject: |
[Bug 1690322] Re: errors which can't backing storage for guest RAM with -mem-path |
Date: |
Tue, 10 Nov 2020 15:45:25 -0000 |
The memory region mapped by QEMU for -mem-path is configured such that
changes are private to the QEMU process.
If you need an external process to be able to view memory changes, you
need to use the modern "memory-backend-file" class with -object arg, and
specify share=on to make the data visible to non-QEMU processes.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1690322
Title:
errors which can't backing storage for guest RAM with -mem-path
Status in QEMU:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1690322/+subscriptions
- [Bug 1690322] Re: errors which can't backing storage for guest RAM with -mem-path,
Daniel Berrange <=