From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA3f3-0004S1-6T for qemu-devel@nongnu.org; Tue, 20 Mar 2012 14:19:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA3ee-0003AN-LY for qemu-devel@nongnu.org; Tue, 20 Mar 2012 14:19:56 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:51591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA3ee-0003A5-D5 for qemu-devel@nongnu.org; Tue, 20 Mar 2012 14:19:32 -0400 Received: by obbwd20 with SMTP id wd20so169098obb.4 for ; Tue, 20 Mar 2012 11:19:30 -0700 (PDT) Sender: fluxion Date: Tue, 20 Mar 2012 13:19:25 -0500 From: Michael Roth Message-ID: <20120320181925.GA32325@illuin> References: <0ccd5fa1764f254dbde6851c0d2139e9198a25e2.1332256180.git.mprivozn@redhat.com> <20120320161046.GA29058@illuin> <4F68AD69.8060500@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F68AD69.8060500@redhat.com> Subject: Re: [Qemu-devel] [PATCH] qemu-ga: Make guest-network-get-interfaces Linux only List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michal Privoznik Cc: qemu-devel@nongnu.org On Tue, Mar 20, 2012 at 05:16:41PM +0100, Michal Privoznik wrote: > On 20.03.2012 17:10, Michael Roth wrote: > > On Tue, Mar 20, 2012 at 04:09:53PM +0100, Michal Privoznik wrote: > >> Currently, the implementation of that command is full of > >> Linux specific code. Before any brave man will step into > >> and port it to other OSes, make this function Linux only. > >> > >> Signed-off-by: Michal Privoznik > > > > Which aspect is linux-specific? getifaddrs() and getnameinfo() seem to > > be available on BSD and OpenSolaris, and we're already stubbed for w32. > > Are you seeing breakage? > > Personally, I don't; but there has been this report: > > http://lists.nongnu.org/archive/html/qemu-devel/2012-03/msg03951.html > > which happens on OpenBSD, I suspect. Ew, okay, well it looks like guest-suspend has a role as well so this patch wouldn't be sufficient. Let me fire up a FreeBSD image I have laying around and play around with it a bit. > > Michal >