commit | c2cd627ddb13f62557aaf66305edb03cc3d9612d | [log] [tgz] |
---|---|---|
author | Cao jin <caoj.fnst@cn.fujitsu.com> | Mon Sep 12 14:34:56 2016 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Sep 13 19:09:43 2016 +0200 |
tree | 371e69422977c0c55d704199f10274c87a10562f | |
parent | a952c18683bbfa67f6c508c7417001a0bd1b2b97 [diff] |
kvm-all: drop kvm_setup_guest_memory kvm_setup_guest_memory only does "madvise to QEMU_MADV_DONTFORK" and is only called by ram_block_add, which actually is duplicate code. Bonus: add simple comment for kvm_has_sync_mmu to make life easier. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> Message-Id: <1473662096-32598-1-git-send-email-caoj.fnst@cn.fujitsu.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>