vikranth gaddam
2007-Jun-29 07:13 UTC
[Xen-devel] Writing into HVM Guest memory from IOEMU
Hi What is the best and simplest way to write into HVM Guest memory from IOEMU. This data transfer is required only once. I see some xc functions for this without implementation. --Thanks Vikranth _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Petersson, Mats
2007-Jun-29 09:41 UTC
RE: [Xen-devel] Writing into HVM Guest memory from IOEMU
> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of > vikranth gaddam > Sent: 29 June 2007 08:13 > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] Writing into HVM Guest memory from IOEMU > > 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].> 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> > --Thanks > Vikranth >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel