]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 29 Aug 2011 13:21:09 +0000 (16:21 +0300)
commit3838c504b54350f9a1da1aca9f24cc9c3a7d8d9d
treebd84de5ce21dab6a21cd88f71b6f63eec3f65a5c
parent42f2141fd13f38c84a1a17442e9b026802773dd5
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