KVM: x86 emulator: simplify read_emulated
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Thu, 26 Jul 2012 05:12:22 +0000 (13:12 +0800)
committerAvi Kivity <avi@redhat.com>
Thu, 26 Jul 2012 09:10:58 +0000 (12:10 +0300)
commitf23b070e662ca55a8fdaaa28537af06cab664499
tree1b15d4cc5f1d8cbbffbc3dd7e332e2dcad76cba0
parenta2766325cf9f9e36d1225145f1ce1b066f001837
KVM: x86 emulator: simplify read_emulated

No need split mmio read region into 8-bits pieces since we do it in
emulator_read_write_onepage

Changelog:
  Add a WARN_ON to check read-cache overflow

Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c
This page took 0.024647 seconds and 5 git commands to generate.