aboutsummaryrefslogtreecommitdiff
path: root/drivers/kvm/x86_emulate.h
diff options
context:
space:
mode:
authorLaurent Vivier <Laurent.Vivier@bull.net>2007-09-24 11:10:56 +0200
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:52:49 +0200
commita01af5ec5163cdc51c00f6dcb22d7766199377cf (patch)
tree36ff10826f39b643736542957a980c37c4ad6fb1 /drivers/kvm/x86_emulate.h
parent05f086f87ef17da70d5f4e9b063e9ea31ab20f28 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/x86_emulate.h b/drivers/kvm/x86_emulate.h
index 28acad416bc..f03b1287700 100644
--- a/drivers/kvm/x86_emulate.h
+++ b/drivers/kvm/x86_emulate.h
@@ -114,7 +114,7 @@ struct x86_emulate_ops {
/* Type, address-of, and value of an instruction's operand. */
struct operand {
- enum { OP_REG, OP_MEM, OP_IMM } type;
+ enum { OP_REG, OP_MEM, OP_IMM, OP_NONE } type;
unsigned int bytes;
unsigned long val, orig_val, *ptr;
};