[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.