]> Git Repo - qemu.git/commit
kvm-all: drop kvm_setup_guest_memory
authorCao jin <[email protected]>
Mon, 12 Sep 2016 06:34:56 +0000 (14:34 +0800)
committerPaolo Bonzini <[email protected]>
Tue, 13 Sep 2016 17:09:43 +0000 (19:09 +0200)
commitc2cd627ddb13f62557aaf66305edb03cc3d9612d
tree371e69422977c0c55d704199f10274c87a10562f
parenta952c18683bbfa67f6c508c7417001a0bd1b2b97
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 <[email protected]>
Signed-off-by: Cao jin <[email protected]>
Message-Id: <1473662096[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
exec.c
include/sysemu/kvm.h
kvm-all.c
kvm-stub.c
This page took 0.022499 seconds and 4 git commands to generate.