Re: [PATCH 2/4] libkvm: add kvm_has_mmu_notifiers

2008-08-21 Thread Avi Kivity
Anthony Liguori wrote: This patch adds a kvm_has_mmu_notifiers routine to libkvm. This allows userspace to query the existence of mmu notifiers which is important for ballooning since madvise() is not safe from userspace without it. Can we call this kvm_has_sync_mmu()? s390 doesn't need

[PATCH 2/4] libkvm: add kvm_has_mmu_notifiers

2008-08-19 Thread Anthony Liguori
This patch adds a kvm_has_mmu_notifiers routine to libkvm. This allows userspace to query the existence of mmu notifiers which is important for ballooning since madvise() is not safe from userspace without it. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] diff --git a/libkvm/libkvm.c