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] [xen-unstable] libxc: Remove obsolete xc_find_device_num

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] libxc: Remove obsolete xc_find_device_number() declaration.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 04 Jun 2010 03:45:35 -0700
Delivery-date: Fri, 04 Jun 2010 03:48:14 -0700
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1275644792 -3600
# Node ID d4a91417a0231ff4a434d1a5b46749acda1dfe13
# Parent  936f4c08eaefc9d5bd07bb4d196e9ccb89b2d6aa
libxc: Remove obsolete xc_find_device_number() declaration.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/libxc/xc_minios.c |    6 ------
 tools/libxc/xenctrl.h   |   10 ----------
 2 files changed, 16 deletions(-)

diff -r 936f4c08eaef -r d4a91417a023 tools/libxc/xc_minios.c
--- a/tools/libxc/xc_minios.c   Fri Jun 04 10:25:45 2010 +0100
+++ b/tools/libxc/xc_minios.c   Fri Jun 04 10:46:32 2010 +0100
@@ -150,12 +150,6 @@ int do_xen_hypercall(xc_interface *xch, 
         return -1;
     }
     return call.result;
-}
-
-int xc_find_device_number(const char *name)
-{
-    printf("xc_find_device_number(%s)\n", name);
-    do_exit();
 }
 
 int xc_evtchn_open(void)
diff -r 936f4c08eaef -r d4a91417a023 tools/libxc/xenctrl.h
--- a/tools/libxc/xenctrl.h     Fri Jun 04 10:25:45 2010 +0100
+++ b/tools/libxc/xenctrl.h     Fri Jun 04 10:46:32 2010 +0100
@@ -133,16 +133,6 @@ enum xc_open_flags {
  * @return 0 on success, -1 otherwise.
  */
 int xc_interface_close(xc_interface *xch);
-
-/*
- * KERNEL INTERFACES
- */
-
-/*
- * Resolve a kernel device name (e.g., "evtchn", "blktap0") into a kernel
- * device number. Returns -1 on error (and sets errno).
- */
-int xc_find_device_number(const char *name);
 
 /*
  * DOMAIN DEBUGGING FUNCTIONS

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] libxc: Remove obsolete xc_find_device_number() declaration., Xen patchbot-unstable <=