[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Writing into guest memory from qemu
From: |
Sergey Fedorov |
Subject: |
Re: [Qemu-devel] Writing into guest memory from qemu |
Date: |
Tue, 24 Jun 2014 12:11:56 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
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