qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/1] NBD isn't used by qemu-img, so don't link q


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH 1/1] NBD isn't used by qemu-img, so don't link qemu-img against NBD objects
Date: Sat, 20 Nov 2010 19:04:11 +0100

Am 20.11.2010 um 18:39 schrieb Stefan Hajnoczi:

On Sat, Nov 20, 2010 at 5:22 PM, Andreas Färber <address@hidden > wrote:
Any plans for a way to disable NBD build completely? There are warnings about use of daemon() on Mac OS X and possibly Solaris, and there's little
point in building qemu-nbd if one does not use it.

daemon() could be replaced by sharing os_daemonize().

What is the warning message that you get?

  CC    qemu-nbd.o
/Users/andreas/QEMU/qemu/qemu-nbd.c: In function ‘main’:
/Users/andreas/QEMU/qemu/qemu-nbd.c:364: warning: ‘daemon’ is deprecated (declared at /usr/include/stdlib.h:283)

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ ManPages/man3/daemon.3.html

Andreas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]