Skip to content

Commit b1d8614

Browse files
aprzywaravikivity
authored andcommitted
KVM: x86 emulator: Add missing EFLAGS bit definitions
Signed-off-by: Christoph Egger <[email protected]> Signed-off-by: Amit Shah <[email protected]> Signed-off-by: Andre Przywara <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
1 parent 0cb5762 commit b1d8614

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/x86/kvm/x86_emulate.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,11 @@ static u32 group2_table[] = {
320320
};
321321

322322
/* EFLAGS bit definitions. */
323+
#define EFLG_VM (1<<17)
324+
#define EFLG_RF (1<<16)
323325
#define EFLG_OF (1<<11)
324326
#define EFLG_DF (1<<10)
327+
#define EFLG_IF (1<<9)
325328
#define EFLG_SF (1<<7)
326329
#define EFLG_ZF (1<<6)
327330
#define EFLG_AF (1<<4)

0 commit comments

Comments
 (0)