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

[Xen-devel] RE: Is hypercall_hvm_op in changeset 11060 effective?

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] RE: Is hypercall_hvm_op in changeset 11060 effective?
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Sat, 12 Aug 2006 23:20:05 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 12 Aug 2006 08:20:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aca9yABevSNKoKxKQoeZHIOaybJ/twALEKfOAAuHctA=
Thread-topic: Is hypercall_hvm_op in changeset 11060 effective?
>> hypercall_hvm_op in changeset 11060 seem not effective, should we use
>> vmmcall instead since hvmloader is running in none-root vmcs mode?
>
>What do you think is the problem? Init_hypercall() sets up a hypercall
>transfer page suitable for the architecture you are running on 
>(so it uses
>vmmcall when running on VT-x). There are a few example 
>hypercalls at the end
>of that function which do work properly.
>

Just found the code in hvmloader.c seems not work.
        hvm_param.domid = DOMID_SELF;
        hvm_param.index = HVM_PARAM_APIC_ENABLED;
        if (!hypercall_hvm_op(HVMOP_get_param, &hvm_param) &&
hvm_param.value)
                create_mp_tables();

Need more investigation.
Thanks
-Xin

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