[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Writing into HVM Guest memory from IOEMU


  • To: "vikranth gaddam" <vikranth958@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Fri, 29 Jun 2007 11:41:04 +0200
  • Delivery-date: Fri, 29 Jun 2007 02:41:22 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Ace6HQahypVsTiufSbmBp8CdZnaFZgAFAKHA
  • Thread-topic: [Xen-devel] Writing into HVM Guest memory from IOEMU

 

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> vikranth gaddam
> Sent: 29 June 2007 08:13
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.