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

[Xen-devel] Grant Table problem mapping dom0 mem to domU


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Carlos Perez" <carlosrene@xxxxxxxxx>
  • Date: Wed, 25 Jul 2007 11:41:30 -0400
  • Delivery-date: Wed, 25 Jul 2007 08:39:06 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=AnhdNlfuuXVfJpkFvnjsycr4++QmAv0nKR0Hnhp/zby8ciXl8nHVeUR+nehiRt/hmBC2gtHCPoj5X5Ibb0Egmthj6rBpQqu5RgqeMdByz+UsIcKrdhYoRR1OEGuq/OFTPHq0wM8jbHn27wMUKI1AszHo3EFPzTEOCUzuRIPep64=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I've been looking through some back-end drivers and I notice that
grant tables are used to map domU memory into the privileged domain,
is the opposite possible? Can I map dom0 memory into a domU?

I've written code grants foreign access to a page from dom0 (take the
grant ref_id) then on domU I try to map it (basically the same way ex
blkback does it, or just any other driver for that matter) and all I
get from HYPERVISOR_grant_table_op() is a -1 return value, op.status
is empty=0.

I'll send more information on the specific error, if I at least know
that this can be done and I'm just not falling of a cliff. Also, if it
is possible, can you point me to some example code?

thanks,
C. René

_______________________________________________
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®.