From: Mukesh Rathor Subject: Invalid op code emulation for HVM guest and GPF Date: Fri, 23 Mar 2012 11:44:25 -0700 Message-ID: <20120323114425.07bd6db7@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Xen-devel@lists.xensource.com" , Keir Fraser , kris.van.hees@oracle.com List-Id: xen-devel@lists.xenproject.org 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