commit | af7cc7d1ee422a612f6785e347a893d44cc892ea | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | Tue Jul 12 03:22:46 2011 +0800 |
committer | Avi Kivity <avi@redhat.com> | Sun Jul 24 11:50:25 2011 +0300 |
tree | 8897ab6ef96d67a0a42cbd30aed66a50356cd3d4 | |
parent | ffb61bb3bca33ff8e68d11d7cb6b27ac0f74a2c0 [diff] |
KVM: x86: introduce vcpu_mmio_gva_to_gpa to cleanup the code Introduce vcpu_mmio_gva_to_gpa to translate the gva to gpa, we can use it to cleanup the code between read emulation and write emulation Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>