Dietmar Maurer wrote:
> Compiling latest version 74 give me (on debian 4.0):
> 
> /home/dietmar/pve/pve-kvm-2.6.24/kvm-74/qemu/qemu-kvm.c: In function
> 'kvm_setup_guest_memory':
> /home/dietmar/pve/pve-kvm-2.6.24/kvm-74/qemu/qemu-kvm.c:821: error:
> 'MADV_DONTFORK' undeclared (first use in this function)
> /home/dietmar/pve/pve-kvm-2.6.24/kvm-74/qemu/qemu-kvm.c:821: error:
> (Each undeclared identifier is reported only once
> /home/dietmar/pve/pve-kvm-2.6.24/kvm-74/qemu/qemu-kvm.c:821: error:
> for each function it appears in.)

MADV_DONTFORK should be a new advice type for madvise, so it isn't
declared in older header files. 

Avi, maybe you should add the stuff to solve the OS compatibility
issues.  

Thanks
Xiantao


> 
> man madvise does not mention this flag.
> 
> Whats wrong?
> 
> - Dietmar

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to