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

Re: [Minios-devel] Missing ukplat_monotonic_clock for KVM platform



Hi Costin,

Thanks, I will pick that patch : )

> -----Original Message-----
> From: Costin Lupu <costin.lup@xxxxxxxxx>
> Sent: 2018年4月17日 18:05
> To: Wei Chen <Wei.Chen@xxxxxxx>; Simon Kuenzer (simon.kuenzer@xxxxxxxxx)
> <simon.kuenzer@xxxxxxxxx>
> Cc: minios-devel@xxxxxxxxxxxxxxxxxxxx
> Subject: Re: [Minios-devel] Missing ukplat_monotonic_clock for KVM platform
>
>
> On 04/17/2018 01:00 PM, Wei Chen wrote:
> > Hi Simon,
> >
> > While I am testing ARM64 KVM patches. I found the ukplat_monotonic_clock was
> > missing for KVM platforms (x86_64 and ARM). I have implemented this function
> > for ARM64 KVM, and the timestamp can print properly for debug messages now.
> > But on x86_64 KVM, we still get following error.
> >
> > /home/weic/WIP/unikraft/unikraft/build/libukdebug.o: In function
> `_printd_timestamp':
> > /home/weic/WIP/unikraft/unikraft/lib/ukdebug/print.c:88: undefined reference
> to `ukplat_monotonic_clock'
> >   LD      unikraft_kvm-x86_64
> > /home/weic/WIP/unikraft/unikraft/plat/linuxu/Linker.uk:9: recipe for target
> '/home/weic/WIP/unikraft/unikraft/build/unikraft_linuxu-x86_64' failed
> > make[1]: *** [/home/weic/WIP/unikraft/unikraft/build/unikraft_linuxu-x86_64]
> Error 1
> > make[1]: *** Waiting for unfinished jobs....
> > /home/weic/WIP/unikraft/unikraft/build/unikraft_kvm-x86_64.o: In function
> `_printd_timestamp':
> > /home/weic/WIP/unikraft/unikraft/lib/ukdebug/print.c:88: undefined reference
> to `ukplat_monotonic_clock'
> > /home/weic/WIP/unikraft/unikraft/plat/kvm/Linker.uk:17: recipe for target
> '/home/weic/WIP/unikraft/unikraft/build/unikraft_kvm-x86_64' failed
> > make[1]: *** [/home/weic/WIP/unikraft/unikraft/build/unikraft_kvm-x86_64]
> Error 1
> >   OBJCOPY unikraft_xen-x86_64.dbg
> >   STRIP   unikraft_xen-x86_64
> >   GZ      unikraft_xen-x86_64.gz
> > Makefile:32: recipe for target '_all' failed
> > make: *** [_all] Error 2
> >
> >
> > Should we port tscclock driver from solo5 to fix this issue?
>
> Hi Wei! There already is a pending patch series (Enable scheduling on
> KVM) containing the tscclock driver implementation (patch 'plat/kvm: Add
> KVM (x86_64) timer support').
>
> Cheers,
> Costin
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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