* [Qemu-devel] Writing into guest memory from qemu
@ 2014-06-24 7:20 Shubham Gupta
2014-06-24 8:11 ` Sergey Fedorov
0 siblings, 1 reply; 2+ messages in thread
From: Shubham Gupta @ 2014-06-24 7:20 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 420 bytes --]
Hello
I am attempting to write into the guest memory state (before the guest is
launched) using the cpu_physical_memory_write function. While some values
are being correctly written into the guest memory (confirmed by a
cpu_physical_memory_read just after the write), some are not. Is there an
explanation for this behavior? Or am I using the wrong function to
accomplish what I want? Thanks in advance.
Shubham Gupta
[-- Attachment #2: Type: text/html, Size: 509 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Writing into guest memory from qemu
2014-06-24 7:20 [Qemu-devel] Writing into guest memory from qemu Shubham Gupta
@ 2014-06-24 8:11 ` Sergey Fedorov
0 siblings, 0 replies; 2+ messages in thread
From: Sergey Fedorov @ 2014-06-24 8:11 UTC (permalink / raw)
To: Shubham Gupta, qemu-devel
Hi,
Maybe you are trying to write into read-only, device MMIO or unassigned
address? You can launch qemu with '-S' and then try 'info mtree' qemu
monitor command to see the memory mapping.
// Sergey
On 24.06.2014 11:20, Shubham Gupta wrote:
> Hello
>
> I am attempting to write into the guest memory state (before the guest
> is launched) using the cpu_physical_memory_write function. While some
> values are being correctly written into the guest memory (confirmed by
> a cpu_physical_memory_read just after the write), some are not. Is
> there an explanation for this behavior? Or am I using the wrong
> function to accomplish what I want? Thanks in advance.
>
> Shubham Gupta
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-24 8:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24 7:20 [Qemu-devel] Writing into guest memory from qemu Shubham Gupta
2014-06-24 8:11 ` Sergey Fedorov
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).