KVM: Extract core of kvm_flush_remote_tlbs/kvm_reload_remote_mmus
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 8 Dec 2008 09:56:24 +0000 (19:56 +1030)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:45 +0000 (16:55 +0200)
commit498468961ed6f62a306eb90c49125776c526fa40
treeace5ccb27e61124040aa0add338bf4bb480275dd
parent3d3aab1b973b01bd2a1aa46307e94a1380b1d802
KVM: Extract core of kvm_flush_remote_tlbs/kvm_reload_remote_mmus

Avi said:
> Wow, code duplication from Rusty. Things must be bad.

Something about glass houses comes to mind.  But instead, a patch.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c