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] [IA64] Remove duplicate xc_get/set_hvm_pa

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Remove duplicate xc_get/set_hvm_param() definitions
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Oct 2007 15:03:47 -0700
Delivery-date: Wed, 31 Oct 2007 15:04:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 Alex Williamson <alex.williamson@xxxxxx>
# Date 1192218609 21600
# Node ID 5c13433f88422c55eb600429e975718d535e0a3d
# Parent  4746c8c9372fd1b2c9db48210a9be2c3eb0bdb77
[IA64] Remove duplicate xc_get/set_hvm_param() definitions

Remove duplicated xc_get/set_hvm_param definition in xc_ia64_hvm_build.c
They are also defined in xc_domain.c.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 tools/libxc/ia64/xc_ia64_hvm_build.c |   48 -----------------------------------
 1 files changed, 48 deletions(-)

diff -r 4746c8c9372f -r 5c13433f8842 tools/libxc/ia64/xc_ia64_hvm_build.c
--- a/tools/libxc/ia64/xc_ia64_hvm_build.c      Fri Oct 12 10:19:55 2007 +0100
+++ b/tools/libxc/ia64/xc_ia64_hvm_build.c      Fri Oct 12 13:50:09 2007 -0600
@@ -26,54 +26,6 @@ xc_ia64_copy_to_domain_pages(int xc_hand
     }
 
     return 0;
-}
-
-int 
-xc_set_hvm_param(int handle, domid_t dom, int param, unsigned long value)
-{
-    DECLARE_HYPERCALL;
-    xen_hvm_param_t arg;
-    int rc;
-
-    hypercall.op = __HYPERVISOR_hvm_op;
-    hypercall.arg[0] = HVMOP_set_param;
-    hypercall.arg[1] = (unsigned long)&arg;
-
-    arg.domid = dom;
-    arg.index = param;
-    arg.value = value;
-
-    if (lock_pages(&arg, sizeof(arg)) != 0)
-        return -1;
-
-    rc = do_xen_hypercall(handle, &hypercall);
-    unlock_pages(&arg, sizeof(arg));
-
-    return rc;
-}
-
-int 
-xc_get_hvm_param(int handle, domid_t dom, int param, unsigned long *value)
-{
-    DECLARE_HYPERCALL;
-    xen_hvm_param_t arg;
-    int rc;
-
-    hypercall.op = __HYPERVISOR_hvm_op;
-    hypercall.arg[0] = HVMOP_get_param;
-    hypercall.arg[1] = (unsigned long)&arg;
-
-    arg.domid = dom;
-    arg.index = param;
-
-    if (lock_pages(&arg, sizeof(arg)) != 0)
-        return -1;
-
-    rc = do_xen_hypercall(handle, &hypercall);
-    unlock_pages(&arg, sizeof(arg));
-
-    *value = arg.value;
-    return rc;
 }
 
 #define HOB_SIGNATURE         0x3436474953424f48        // "HOBSIG64"

_______________________________________________
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] [IA64] Remove duplicate xc_get/set_hvm_param() definitions, Xen patchbot-unstable <=