All of lore.kernel.org
 help / color / mirror / Atom feed
* Invalid op code emulation for HVM guest and GPF
@ 2012-03-23 18:44 Mukesh Rathor
  2012-03-23 18:58 ` Andrew Cooper
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mukesh Rathor @ 2012-03-23 18:44 UTC (permalink / raw)
  To: Xen-devel@lists.xensource.com, Keir Fraser, kris.van.hees

Hey Keir,

DTRACE in linux/solaris guests use invalid op code sequence:

opcode trap is: 0xF0 0x90 0x90 0x90 0x90 (LOCK NOP NOP NOP NOP) 

to receive UD, but they get GPF instead. (xen 4.1.2)

Looking at hvm_emulate_one() I see place where it generates GPF if not
expected sequence. Do you know quickly what can be done to deliver UD
for the above sequence, or what single byte they can use to generate
UD? (int 6 is two byte instr and doesn't work for them).

thanks a lot,
Mukesh

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

end of thread, other threads:[~2012-03-23 20:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-23 18:44 Invalid op code emulation for HVM guest and GPF Mukesh Rathor
2012-03-23 18:58 ` Andrew Cooper
2012-03-23 19:17 ` Keir Fraser
2012-03-23 19:28   ` Mukesh Rathor
2012-03-23 19:20 ` Andrew Cooper
2012-03-23 19:30   ` Mukesh Rathor
2012-03-23 19:38     ` Andrew Cooper
2012-03-23 19:58       ` Andrew Cooper
2012-03-23 20:40         ` 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.