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] Reading HVM guest memory

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Reading HVM guest memory
From: "Mike Sun" <msun@xxxxxxxxxx>
Date: Sat, 18 Oct 2008 22:13:05 -0400
Delivery-date: Sat, 18 Oct 2008 19:13:31 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=h7q7i3nk4P2PlTbXFAkb6tXCZztHKDYlmJZf4fxJ3VA=; b=LyITpW33Q8RDX0D4GAZxcAwxUqaKh0yE7OQLkX0fmeuTDj6MMt1+Z7YgRpkZ/+HXwL zrffAy2EP8olv19ZOvT83Lm6PzGGiXxq37f297ibQZRhD1bk2JX5/Fc3n9ou526aWfQ7 NJutBMCdS5Lr+r0r7On+3qGccSzAFNB7W5zd8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=S4Smt94NaWc2youa/OimPESDBKgFVzYCCA+qBen5nubQRPc4AQKpaCn2hJu/RP8Pls 1Uk4wQzaC3vhlKAQtyDxFDD/amg+esH/Lpl9B1FiBw8/G3cVn2lJuBljBd3TF5azdPK7 4ALAXAJwDGvwVgF1JB/3j4zx1Eg6wGOItzARg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4314.75.182.68.20.1224353366.squirrel@xxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <48F8F973.2020407@xxxxxxxxxxxxxxxx> <4314.75.182.68.20.1224353366.squirrel@xxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> My problem is that I can't read the buffer from the hypervisor.  The
> pointer is being passed correctly.  I tried copying it to a local buffer
> via copy_from_user() function but this function fails.  I noticed that
> access_ok() function fails for this pointer, so I tried to use the
> __copy_from_user_ll() function.  All to no avail.

I think you want to use copy_from_user_hvm()

Mike

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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