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] GNTTAB_copy

To: Steven Smith <steven.smith@xxxxxxxxxx>
Subject: RE: [Xen-devel] GNTTAB_copy
From: "Kumar, Venkat" <Venkat.Kumar@xxxxxxx>
Date: Fri, 30 Jan 2009 18:40:53 +0530
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 30 Jan 2009 05:11:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090130112159.GA20551@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmCzP8oPS1M5VAjR8O7BPHUZqANSAADo6ng
Thread-topic: [Xen-devel] GNTTAB_copy
Steve,

I have ported the GNTTAB_copy part from netchannel2 xen-unstable to 
xen-unstable. But the hypercall is failing with a status -1.

xm dmesg says
===========================================
Bad flags (0) or dom (0). (expected dom 9)
===========================================

I am granting the page with a flag ( GTF_reading | GTF_writing & 
GTF_permit_access ) but still it did not work.

What could be wrong here?

Venkat

-----Original Message-----
From: Steven Smith [mailto:steven.smith@xxxxxxxxxx]
Sent: Friday, January 30, 2009 4:52 PM
To: Kumar, Venkat
Cc: Steven Smith; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] GNTTAB_copy

That's unfortunate; the repository works fine for me.

There aren't any other ways of downloading the entire repository, but
the changes you need to make are pretty self-contained, so I've
attached the relevant cset.  You'll need to get rid of the
GNTTABOP_set_version bits, but apart from that it should all be fairly
obvious.

Steven.


> Steven - Thanks for the pointer.
> I get an error while downloading the code.
>
> =======================================================================
> hg clone http://xenbits.xensource.com/ext/netchannel2/xen-unstable.hg
> destination directory: xen-unstable.hg
> requesting all changes
> adding changesets
> transaction abort!
> rollback completed
> abort: Connection reset by peer
> =======================================================================
>
> Do you know any alternate download?
>
> Venkat
>
> -----Original Message-----
> From: Steven Smith [mailto:steven.smith@xxxxxxxxxx]
> Sent: Friday, January 30, 2009 4:18 PM
> To: Kumar, Venkat
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] GNTTAB_copy
>
> > Is GNTTAB_copy command in the Hypercall "HYPERVISOR_grant_table_op"
> > supported between two HVM's?
> It's not in xen-unstable, no, but it is if you use the netchannel2
> hypervisor (available from
> http://xenbits.xensource.com/ext/netchannel2/xen-unstable.hg).  It'd
> be pretty easy to cross-port, if you wanted to have a go at that.  The
> interesting cset is this one:
>
> changeset:   19112:ea4b9c439ac3
> user:        Steven Smith <steven.smith@xxxxxxxxxxxxx>
> date:        Thu Jan 22 09:53:12 2009 +0000
> files:       xen/arch/x86/hvm/hvm.c xen/include/xen/hypercall.h
> description:
> Allow GNTABOP_copy to be used from HVM domains.
>
> Steven.

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

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