All of lore.kernel.org
 help / color / mirror / Atom feed
* What is do_ni_hypercall() for
@ 2013-02-19 23:09 Xinxin Jin
  2013-02-20  1:17 ` Andrew Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Xinxin Jin @ 2013-02-19 23:09 UTC (permalink / raw)
  To: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 265 bytes --]

Hi everyone,
I traced pv hypercalls and found that the vector "do_ni_hypercall" is
invoked a lot. But this hypercall function does nothing (from the source
code). So I am very confused what is do_ni_hypercall for? Why do guests
invoke it ?
Thanks a lot,
-- 
Xinxin

[-- Attachment #1.2: Type: text/html, Size: 320 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: What is do_ni_hypercall() for
  2013-02-19 23:09 What is do_ni_hypercall() for Xinxin Jin
@ 2013-02-20  1:17 ` Andrew Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cooper @ 2013-02-20  1:17 UTC (permalink / raw)
  To: Xinxin Jin; +Cc: Xen-devel@lists.xen.org

On 19/02/2013 23:09, Xinxin Jin wrote:
> Hi everyone,
> I traced pv hypercalls and found that the vector "do_ni_hypercall" is
> invoked a lot. But this hypercall function does nothing (from the
> source code). So I am very confused what is do_ni_hypercall for? Why
> do guests invoke it ?
> Thanks a lot,
> -- 
> Xinxin

As expected.  It is the "Not Implemented" hypercall.  This means that
your PV guest is erroneously asking for hypercalls which are in the
permitted range (0-63) but not implemented by the hypervisor.

See xen/arch/x86/x86_64/entry.S:hypercall_table

~Andrew

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-20  1:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-19 23:09 What is do_ni_hypercall() for Xinxin Jin
2013-02-20  1:17 ` Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.