]> 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)
commita686af9ab7d85be9567c611945c921d4d01ac891
tree05ea5cbfd731818e91b4b6d16cf55905db29aea1
parent41a70324130bd13f8c65450b778daca65451b243
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