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

[Xen-API] [PATCH 2 of 6] Drop support for vmxassist

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 2 of 6] Drop support for vmxassist
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Tue, 11 Jan 2011 10:56:11 +0000
Cc: gianni.tedesco@xxxxxxxxxx, zheng.li@xxxxxxxxxxxxx
Delivery-date: Tue, 11 Jan 2011 03:48:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1294743369@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1294743369@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.5.2
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1294740909 0
# Node ID 6514f7298111bf3113f93b04543f7d1e41264fb9
# Parent  ae9d790438a613b306f877f1cd230661f8c28521
Drop support for vmxassist

It hasn't existed since Xen 3.3 and is not supported by the upstream ocaml 
bindings.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r ae9d790438a6 -r 6514f7298111 ocaml/xenops/domain.ml
--- a/ocaml/xenops/domain.ml    Tue Jan 11 10:15:09 2011 +0000
+++ b/ocaml/xenops/domain.ml    Tue Jan 11 10:15:09 2011 +0000
@@ -400,7 +400,6 @@ let build_pre ~xc ~xs ~vcpus ~xen_max_mi
        let read_platform flag = xs.Xs.read (dom_path ^ "/platform/" ^ flag) in
        let has_platform_flag flag = try bool_of_string (read_platform flag) 
with _ -> false in
        let int_platform_flag flag = try Some (int_of_string (read_platform 
flag)) with _ -> None in
-       let use_vmxassist = has_platform_flag "vmxassist" in
        let timer_mode = int_platform_flag "timer_mode" in
        let hpet = int_platform_flag "hpet" in
        let vpt_align = int_platform_flag "vpt_align" in
@@ -413,7 +412,6 @@ let build_pre ~xc ~xs ~vcpus ~xen_max_mi
         maybe_exn_ign "hpet" (fun hpet -> Xc.domain_set_hpet xc domid hpet) 
hpet;
         maybe_exn_ign "vpt align" (fun vpt_align -> Xc.domain_set_vpt_align xc 
domid vpt_align) vpt_align;
 
-       Xc.domain_setvmxassist xc domid use_vmxassist;
        Xc.domain_max_vcpus xc domid vcpus;
        Xc.domain_set_memmap_limit xc domid (Memory.kib_of_mib xen_max_mib);
        Xc.shadow_allocation_set xc domid shadow_mib;

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

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