All of lore.kernel.org
 help / color / mirror / Atom feed
* hap_invlpg() vs INVLPGA
@ 2016-01-29 13:24 Jan Beulich
  2016-01-29 13:57 ` Egger, Christoph
  0 siblings, 1 reply; 10+ messages in thread
From: Jan Beulich @ 2016-01-29 13:24 UTC (permalink / raw)
  To: Christoph Egger; +Cc: xen-devel

Christoph,

in commit dd6de3ab99 ("Implement Nested-on-Nested") you added
code to hap_invlpg() supposedly emulating INVLPGA. I've been
stumbling across this a number of times in the past, not being able
to make the connection between (a) VMX/EPT and INVLPGA and
(b) SVM's INVLPGA intercept and this function.

I'm asking in the context of a reported crash resulting from the
nv_p2m field being NULL during emulation of an INVLPG instruction
in a guest with nesting enabled but - afaict - not actually used. Of
course I could submit a patch adding a NULL check here, but I'd
like to understand what this code if for, and hence whether the
better fix wouldn't be to get rid of it.

Jan

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

end of thread, other threads:[~2016-02-01  9:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-29 13:24 hap_invlpg() vs INVLPGA Jan Beulich
2016-01-29 13:57 ` Egger, Christoph
2016-01-29 14:02   ` Egger, Christoph
2016-01-29 15:53     ` Jan Beulich
2016-01-29 17:09       ` Egger, Christoph
2016-02-01  8:04         ` Jan Beulich
2016-02-01  8:14           ` Egger, Christoph
2016-02-01  9:00             ` Jan Beulich
2016-02-01  9:41               ` Egger, Christoph
2016-02-01  9:58                 ` Jan Beulich

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.