On 11/20/10 19:31, Stefan Hajnoczi wrote: > On Sat, Nov 20, 2010 at 6:04 PM, Andreas Färber <andreas.faer...@web.de> > wrote: >> http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/daemon.3.html > > Deprecated in favor of using launchd. > > Removing qemu-nbd from the build because there is warning isn't a good > strategy. You may not use qemu-io either but it is always built. > That's important because otherwise it could bitrot, no one would > notice, and one day qemu-tools wouldn't work on Mac OSX at all > anymore. Instead we should fix the code that causes a warning. > > Is it cheating much to daemonize manually in qemu-nbd? ;)
Maybe it would be feasible to write an os_daemonize() implementation based on launchd() on OSX?