aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/x86_emulate.h
diff options
context:
space:
mode:
authorLaurent Vivier <Laurent.Vivier@bull.net>2007-09-24 05:10:56 -0400
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:52:49 -0500
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 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. */
116struct operand { 116struct 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};