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

Re: [Xen-devel] Reading HVM guest memory

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Mike Sun" <msun@xxxxxxxxxx>
  • Date: Sat, 18 Oct 2008 22:13:05 -0400
  • Delivery-date: Sat, 18 Oct 2008 19:13:31 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

> 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()


Xen-devel mailing list



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