ia64/xen-unstable

diff xen/include/asm-x86/hvm/support.h @ 16427:fd3f6d814f6d

x86: single step after instruction emulation

Inject single step trap after emulating instructions if guest's
EFLAGS.TF is set.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Nov 22 18:28:47 2007 +0000 (2007-11-22)
parents db9f62d8f7f4
children e818c24cec03
line diff
     1.1 --- a/xen/include/asm-x86/hvm/support.h	Thu Nov 22 17:44:51 2007 +0000
     1.2 +++ b/xen/include/asm-x86/hvm/support.h	Thu Nov 22 18:28:47 2007 +0000
     1.3 @@ -50,7 +50,7 @@ static inline vcpu_iodata_t *get_ioreq(s
     1.4  #define TYPE_CLTS               (2 << 4)
     1.5  #define TYPE_LMSW               (3 << 4)
     1.6  
     1.7 -#define VMX_DELIVER_NO_ERROR_CODE  -1
     1.8 +#define HVM_DELIVER_NO_ERROR_CODE  -1
     1.9  
    1.10  #if HVM_DEBUG
    1.11  #define DBG_LEVEL_0                 (1 << 0)