KVM: Fix compound mmio
authorGleb Natapov <gleb@redhat.com>
Tue, 12 Apr 2011 09:36:24 +0000 (12:36 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:52 +0000 (08:39 -0400)
commit0004c7c25757f103ddb3a9e4bcfd533aad41f9a0
tree9960053fb6ee584744cda342bcaa86dc806277b1
parent4947e7cd0ee36e1aa37dfec4f7fa71cc64a2f0fd
KVM: Fix compound mmio

mmio_index should be taken into account when copying data from
userspace.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c