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-changelog

[Xen-changelog] Add xc_init_store and run xenbus probe on INITDOMAIN_STO

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Add xc_init_store and run xenbus probe on INITDOMAIN_STORE privcmd ioctl.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Jul 2005 06:16:10 -0400
Delivery-date: Tue, 12 Jul 2005 10:16:39 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 739ba7204123075cf0483a09d78a121e72ca75cd
# Parent  1b837c5794ca16171bf34decdbf1a32f261e28ec

Add xc_init_store and run xenbus probe on INITDOMAIN_STORE privcmd ioctl.
Signed-off-by: Rusty Russel <rusty@xxxxxxxxxxxxxxx>
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 1b837c5794ca -r 739ba7204123 
linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c
--- a/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c        Tue Jul 12 
09:51:37 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c        Tue Jul 12 
10:01:03 2005
@@ -19,6 +19,7 @@
 #include <linux/highmem.h>
 #include <linux/pagemap.h>
 #include <linux/seq_file.h>
+#include <linux/kthread.h>
 
 #include <asm/pgalloc.h>
 #include <asm/pgtable.h>
@@ -222,7 +223,7 @@
                          PAGE_SHIFT);
 
         /* We'll return then this will wait for daemon to answer */
-        // kthread_run(do_xenbus_probe, NULL, "xenbus_probe");
+        kthread_run(do_xenbus_probe, NULL, "xenbus_probe");
     }
     break;
 
diff -r 1b837c5794ca -r 739ba7204123 tools/libxc/xc.h
--- a/tools/libxc/xc.h  Tue Jul 12 09:51:37 2005
+++ b/tools/libxc/xc.h  Tue Jul 12 10:01:03 2005
@@ -524,4 +524,13 @@
 /* Execute a privileged dom0 operation. */
 int xc_dom0_op(int xc_handle, dom0_op_t *op);
 
+/* Initializes the store (for dom0)
+   remote_port should be the remote end of a bound interdomain channel between
+   the store and dom0.
+
+   This function returns a shared frame that should be passed to
+   xs_introduce_domain
+ */
+long xc_init_store(int xc_handle, int remote_port);
+
 #endif /* __XC_H__ */
diff -r 1b837c5794ca -r 739ba7204123 tools/libxc/xc_misc.c
--- a/tools/libxc/xc_misc.c     Tue Jul 12 09:51:37 2005
+++ b/tools/libxc/xc_misc.c     Tue Jul 12 10:01:03 2005
@@ -130,3 +130,8 @@
     
     return rc;
 }
+
+long xc_init_store(int xc_handle, int remote_port)
+{
+       return ioctl(xc_handle, IOCTL_PRIVCMD_INITDOMAIN_STORE, remote_port);
+}

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Add xc_init_store and run xenbus probe on INITDOMAIN_STORE privcmd ioctl., Xen patchbot -unstable <=