diff options
author | Avi Kivity <avi@qumranet.com> | 2007-04-29 15:02:17 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 10:52:32 +0300 |
commit | 02c83209726270ddf9597deabc45e08f6fc3942c (patch) | |
tree | 570c2d96c1daba96ae2891e63b1e55b3959e9aba /include/linux/kvm.h | |
parent | e7df56e4a00358b6975fae3b70dc9df1282d427a (diff) | |
download | op-kernel-dev-02c83209726270ddf9597deabc45e08f6fc3942c.zip op-kernel-dev-02c83209726270ddf9597deabc45e08f6fc3942c.tar.gz |
KVM: Don't require explicit indication of completion of mmio or pio
It is illegal not to return from a pio or mmio request without completing
it, as mmio or pio is an atomic operation. Therefore, we can simplify
the userspace interface by avoiding the completion indication.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r-- | include/linux/kvm.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 07bf353..738c2f5 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -11,7 +11,7 @@ #include <asm/types.h> #include <linux/ioctl.h> -#define KVM_API_VERSION 10 +#define KVM_API_VERSION 11 /* * Architectural interrupt line count, and the size of the bitmap needed @@ -58,9 +58,8 @@ enum kvm_exit_reason { /* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */ struct kvm_run { /* in */ - __u32 io_completed; /* mmio/pio request completed */ __u8 request_interrupt_window; - __u8 padding1[3]; + __u8 padding1[7]; /* out */ __u32 exit_reason; |