All of lore.kernel.org
 help / color / mirror / Atom feed
* VMX check_for_null_selector()
@ 2006-11-22  8:46 Jan Beulich
  2006-11-22  9:47 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2006-11-22  8:46 UTC (permalink / raw)
  To: xen-devel

What is the hidden background for using this function when the guest
is in protected mode? When the selector used is a null one (and not
in 64-bit mode), the instruction should not cause an
EXIT_REASON_IO_INSTRUCTION exit at all, but rather should cause
a GP fault in the guest. In 64-bit mode, a null selector isn't invalid,
and hence doesn't need checking for.
What I'm trying to determine is whether the function must be fixed
(to deal with (a) non-zero CS base addresses and (b) the fact that
on INS there shouldn't be checking for segment overrides, but ES
should be used in all cases) or can be removed.

Thanks, Jan

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

end of thread, other threads:[~2006-11-22  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-22  8:46 VMX check_for_null_selector() Jan Beulich
2006-11-22  9:47 ` Keir Fraser

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.