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

RE: [Xen-ia64-devel] [PV-on-HVM] Hypercall optimizations


  • To: "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx>, "xen-ia64-devel" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
  • Date: Wed, 24 Jan 2007 10:38:11 +0800
  • Delivery-date: Tue, 23 Jan 2007 18:37:37 -0800
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: Acc+6ZppisqgGRTjTI6cDpPiWsPBMQAdeidQ
  • Thread-topic: [Xen-ia64-devel] [PV-on-HVM] Hypercall optimizations

Hi Kasai,

For PV-on-HVM, it needs to implement hypercall stub itself.

This stub needs to be implemented by a function call.

> It is necessary to export functio of __ hypercall() in
> unmodified_drivers. However, function of __hypercall() is defined by
> assembler code. 
> 
I don't quite understand this question.
Even __hypercall() is definded by assembler code.
It can be exported by using EXPORT_SYMBOL(__hypercall) in some C file.

- Anthony


Kasai Takanori write on 2007年1月23日 20:23:
> Hi All,
> 
> We tested pv-on-hvm.
> But pv-on-hvm doesn't work by Hypercall optimizations.
> ・xen-ia64-unstable.hg : 13367
>   [IA64] Hypercall optimizations
> 
> If we load xen-platform-pci.ko, the following errors occur.
> 
>   # insmod xen-platform-pci.ko
>   xen_platform_pci: Unknown symbol __hypercall
>   insmod: error inserting 'xen-platform-pci.ko': -1 Unknown symbol in
> module 
> 
> It is necessary to export functio of __ hypercall() in
> unmodified_drivers. However, function of __hypercall() is defined by
> assembler code. 
> 
> How should we define function of __hypercall() in unmodified_drivers?
> Then, how should export symbol of __hypercall()?
> 
> Best Regards,

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


 


Rackspace

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