WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "vikranth gaddam" <vikranth958@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] Writing into HVM Guest memory from IOEMU
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <43d19db20706290013q5d6bcc01u8cb8058a349c3bed@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>