summaryrefslogtreecommitdiffstats
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-03-01 16:20:40 +0200
committerAvi Kivity <avi@qumranet.com>2007-05-03 10:52:23 +0300
commit106b552b43beac2694df5fbafc8f125a72df5f65 (patch)
tree3d26f1f7148eaa4cb6e6d882418db283d9f2d29f /include/linux/kvm.h
parent06465c5a3aa9948a7b00af49cd22ed8f235cdb0f (diff)
KVM: Remove the 'emulated' field from the userspace interface
We no longer emulate single instructions in userspace. Instead, we service mmio or pio requests. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r--include/linux/kvm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 15e23bc06e8..c6dd4a79b74 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -51,10 +51,9 @@ enum kvm_exit_reason {
/* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */
struct kvm_run {
/* in */
- __u32 emulated; /* skip current instruction */
__u32 io_completed; /* mmio/pio request completed */
__u8 request_interrupt_window;
- __u8 padding1[7];
+ __u8 padding1[3];
/* out */
__u32 exit_type;