KVM: fill in run->mmio details in (read|write)_emulated function
authorGleb Natapov <gleb@redhat.com>
Wed, 28 Apr 2010 16:15:34 +0000 (19:15 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:33 +0000 (10:35 +0300)
commit411c35b7ef02aefb91e166ffeffad0891d955fcb
tree809e400adecde2ad22bbb5ad899e4efa7a46c8a4
parente680080e653b8c8725ca620bf22a5f8480f40cb5
KVM: fill in run->mmio details in (read|write)_emulated function

Fill in run->mmio details in (read|write)_emulated function just like
pio does. There is no point in filling only vcpu fields there just to
copy them into vcpu->run a little bit later.

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