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-ppc-devel

[XenPPC] xm save: adding couple domctl operations to access htab

To: jimix@xxxxxxxxxxxxxx
Subject: [XenPPC] xm save: adding couple domctl operations to access htab
From: poff <poff@xxxxxxxxxxxxxx>
Date: Sat, 30 Sep 2006 17:29:40 -0400
Cc: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 30 Sep 2006 14:30:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
When saving a domain, its htab must be copied, real page numbers replaced with 
physical,
then written to disk. To copy the htab, I've tried for many hours to add a 
domctl operation,
#define XEN_DOMCTL_gethtab  29, using code and structures similar to 
XEN_DOMCTL_getmemlist.

This new command makes it through do_xen_hypercall(), however, always get 
ENOSYS returned...
On the Xen side, hcall_xen() I print all the command numbers for do_domctl ops, 
but this
new command never arrives. Of course, have added a 'case XEN_DOMCTL_gethtab' in 
domctl.c,
and also printk before ENOSYS, but this code is never run.

1) Is this a reasonable approach to copying the htab?

2) Any clues?



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

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