Skip to contentSkip to conversation

Writing into HVM Guest memory from IOEMU

DISCUSSION vikranth gaddam 2 participants 2 messages Jun 29, 2007

lore
Share & tools
lore
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of vikranth gaddam
Sent: 29 June 2007 08:13
To: [email protected]
Subject: [Xen-devel] Writing into HVM Guest memory from IOEMU

Quoted 5 lines

Hi

What is the best and simplest way to write into HVM Guest memory from IOEMU.
This data transfer is required only once.

What do you want to write, and under what circumstance(s)?

There are functions in qemu-dm to map guest memory into qemu, and then you can write to your hearts content - but unless you:
1. Intend to crash the guest.
2. Have some way that the guest will know about the data being written.

If you don't have such a mechanism, I don't really see the point.

[By the way, there are lots of functions on qemu-dm already that writes data to the guest memory].

Quoted 1 line

I see some xc functions for this without implementation.

Such as? If you tell us which function(s) you're talking about, it saves US the time to search through the same code that you've already examined.

--
Mats

Quoted 4 lines

--Thanks
Vikranth