diff options
author | Laurent Vivier <Laurent.Vivier@bull.net> | 2007-09-24 05:10:56 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:52:49 -0500 |
commit | a01af5ec5163cdc51c00f6dcb22d7766199377cf (patch) | |
tree | 36ff10826f39b643736542957a980c37c4ad6fb1 /drivers/kvm/x86_emulate.h | |
parent | 05f086f87ef17da70d5f4e9b063e9ea31ab20f28 (diff) |
KVM: x86 emulator: Remove no_wb, use dst.type = OP_NONE instead
Remove no_wb, use dst.type = OP_NONE instead, idea stollen from xen-3.1
Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86_emulate.h')
-rw-r--r-- | drivers/kvm/x86_emulate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/x86_emulate.h b/drivers/kvm/x86_emulate.h index 28acad416bca..f03b1287700a 100644 --- a/drivers/kvm/x86_emulate.h +++ b/drivers/kvm/x86_emulate.h | |||
@@ -114,7 +114,7 @@ struct x86_emulate_ops { | |||
114 | 114 | ||
115 | /* Type, address-of, and value of an instruction's operand. */ | 115 | /* Type, address-of, and value of an instruction's operand. */ |
116 | struct operand { | 116 | struct operand { |
117 | enum { OP_REG, OP_MEM, OP_IMM } type; | 117 | enum { OP_REG, OP_MEM, OP_IMM, OP_NONE } type; |
118 | unsigned int bytes; | 118 | unsigned int bytes; |
119 | unsigned long val, orig_val, *ptr; | 119 | unsigned long val, orig_val, *ptr; |
120 | }; | 120 | }; |