All of lore.kernel.org
 help / color / mirror / Atom feed
* more segment/selector handling woes
@ 2006-11-22 10:43 Jan Beulich
  2006-11-22 11:31 ` Petersson, Mats
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Beulich @ 2006-11-22 10:43 UTC (permalink / raw)
  To: xen-devel

Not only on VMX and in generic code, but also on SVM now:
svm_get_io_address() uses the segment base only when the guest
is not in long mode - what if outs has an fs/gs override? I'm pretty
sure the base address is needed then, which opens the question -
does the CPU guarantee a valid (zero) base also for the other
segment register, or does this need to be conditionalized?

Further, in the same function (and likely elsewhere) the injection
of GP faults seems pretty pointless - if either of the two
conditions is true, then the CPU itself should have raised a GP
fault for the guest already (i.e. execution flow would never get
here).

Thanks, Jan

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

end of thread, other threads:[~2006-11-23 13:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-22 10:43 more segment/selector handling woes Jan Beulich
2006-11-22 11:31 ` Petersson, Mats
2006-11-22 11:45   ` Jan Beulich
2006-11-22 12:09     ` Petersson, Mats
2006-11-22 12:43     ` Petersson, Mats
2006-11-22 13:08       ` Jan Beulich
2006-11-22 13:36         ` Petersson, Mats
2006-11-23 13:06     ` Petersson, Mats

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.