Skip to contentSkip to conversation

Remote Data Help?

Qemu-devel Frank Rizzo 2 participants 3 messages May 15, 2009 – May 18, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello qemu folks!

I'm using qemu to solve a problem where I have 2 computers attached, and the software is on one, and the dynamic data is on the other. As far as the software knows, this data is local. So, I need to patch into the RAM handler on qemu, and add my own code to fetch the data from the remote computer, and put it in a local buffer. (Basically, I want qemu to alloc the local memory, and then I fill it with data from the remote system).

Can anyone point me in the right direction for this? I've been digging through the RAM subsystems to no avail, and could use a pointer.

Thanks in advance!

Frank

_________________________________________________________________
Hotmail® goes with you.
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009

#2 lore raw
Quoted 11 lines · Frank Rizzo

Hello qemu folks!

I'm using qemu to solve a problem where I have 2 computers attached, and the software is on one, and the dynamic data is on the other.  As far as the software knows, this data is local.  So, I need to patch into the RAM handler on qemu, and add my own code to fetch the data from the remote computer, and put it in a local buffer.  (Basically, I want qemu to alloc the local memory, and then I fill it with data from the remote system).

Can anyone point me in the right direction for this?  I've been digging through the RAM subsystems to no avail, and could use a pointer.

If I understand your requirement correctly, perhaps what you're looking for is somekind like qemu monitor command to dump memory content? I forgot what the command is, but I am sure you can locate it fairly easy including the related handler (monitor.c I think).

regards,

Mulyadi.

#3 lore raw
Quoted 5 lines

If I understand your requirement correctly, perhaps what you're looking for is somekind like qemu monitor command to dump memory content? I forgot what the command is, but I am sure you can locate it fairly easy including the related handler (monitor.c I think).

I'm not looking to DUMP memory, I'm looking to hook the RAM access functions so that I can log, and/or verify the data provided to an application running on QEMU.

So, what I REALLY need, is an explanation of how the RAM subsystem works with regards to an application running under qemu.

Can anyone provide this? (Or provide a link to some place that already has this?)

THANKS!
Frank

_________________________________________________________________
Hotmail® goes with you.
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009