From: Marcelo Tosatti <mtosatti@redhat.com>
To: Dietmar Maurer <dietmar@proxmox.com>
Cc: "Zhang, Xiantao" <xiantao.zhang@intel.com>, kvm@vger.kernel.org
Subject: Re: MADV_DONTFORK undeclared
Date: Thu, 28 Aug 2008 11:22:26 -0300 [thread overview]
Message-ID: <20080828142226.GA7998@dmt.cnet> (raw)
In-Reply-To: <E88155B5BD67CE4D87A3F1F70950B96A2FFC5E@berta.maurer-it.com>
On Thu, Aug 28, 2008 at 01:06:13PM +0200, Dietmar Maurer wrote:
> Well, I guess I need to update my kernel headers
>
> > 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.
Sorry, my bad.
Just comment that madvise(MADV_DONTFORK) call out for now, will post
a compat patch soon.
next prev parent reply other threads:[~2008-08-28 14:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-28 10:55 MADV_DONTFORK undeclared Dietmar Maurer
2008-08-28 11:01 ` Zhang, Xiantao
2008-08-28 11:06 ` AW: " Dietmar Maurer
2008-08-28 11:10 ` Zhang, Xiantao
2008-08-28 14:22 ` Marcelo Tosatti [this message]
2008-09-04 22:43 ` AW: " Carsten Bock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080828142226.GA7998@dmt.cnet \
--to=mtosatti@redhat.com \
--cc=dietmar@proxmox.com \
--cc=kvm@vger.kernel.org \
--cc=xiantao.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox