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

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


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

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