]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: abstract the operation for read/write emulation
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Wed, 13 Jul 2011 06:31:50 +0000 (14:31 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:17:17 +0000 (19:17 +0300)
commitf01ff65e7f0ea9bbd859e109c63eff742bf1163b
tree05ea5cbfd731818e91b4b6d16cf55905db29aea1
parentaff05c854b55b3f6a483f557182543edfb3ebf54
KVM: x86: abstract the operation for read/write emulation

The operations of read emulation and write emulation are very similar, so we
can abstract the operation of them, in larter patch, it is used to cleanup the
same code

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c