From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qkhd0-0000vO-Ot for qemu-devel@nongnu.org; Sat, 23 Jul 2011 15:12:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qkhcz-00046W-NV for qemu-devel@nongnu.org; Sat, 23 Jul 2011 15:12:46 -0400 Received: from mail-gy0-f173.google.com ([209.85.160.173]:53938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qkhcz-00046N-Kv for qemu-devel@nongnu.org; Sat, 23 Jul 2011 15:12:45 -0400 Received: by gyf2 with SMTP id 2so2049989gyf.4 for ; Sat, 23 Jul 2011 12:12:45 -0700 (PDT) Message-ID: <4E2B1D2B.4090000@codemonkey.ws> Date: Sat, 23 Jul 2011 14:12:43 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1311108115-27128-4-git-send-email-mdroth@linux.vnet.ibm.com> <1311193177-22282-1-git-send-email-mdroth@linux.vnet.ibm.com> <81810A74-E616-4199-BB69-E7DE4AAE9C0C@suse.de> <4E2AF189.7040403@linux.vnet.ibm.com> <4E2AF277.6060001@codemonkey.ws> <4E2AFA2D.9070706@linux.vnet.ibm.com> <4E2AFB9F.2010907@us.ibm.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Anthony Liguori , agl@linux.vnet.ibm.com, Michael Roth , Jes Sorensen , "qemu-devel@nongnu.org Developers" , Luiz Capitulino , Blue Swirl , Anthony Liguori On 07/23/2011 01:35 PM, Alexander Graf wrote: > > On 23.07.2011, at 18:49, Anthony Liguori wrote: > >> On 07/23/2011 11:43 AM, Michael Roth wrote: >>> On 07/23/2011 11:10 AM, Anthony Liguori wrote: >>>> On 07/23/2011 11:06 AM, Michael Roth wrote: >>>>> On 07/23/2011 05:07 AM, Alexander Graf wrote: >>>>>> >>>>>> On 20.07.2011, at 22:19, Michael Roth wrote: >>>>>> >>>>>>> This is the actual guest daemon, it listens for requests over a >>>>>>> virtio-serial/isa-serial/unix socket channel and routes them through >>>>>>> to dispatch routines, and writes the results back to the channel in >>>>>>> a manner similar to QMP. >>>>>>> >>>>>>> A shorthand invocation: >>>>>>> >>>>>>> qemu-ga -d >>>>>>> >>>>>>> Is equivalent to: >>>>>>> >>>>>>> qemu-ga -m virtio-serial -p /dev/virtio-ports/org.qemu.guest_agent.0 \ >>>>>>> -f /var/run/qemu-ga.pid -d >>>>>>> >>>>>>> Signed-off-by: Michael Roth >>>>>> >>>>>> A rebase on top of current HEAD gave me the following on openSUSE 11.1 >>>>>> PPC: >>>>>> >>>>>> >>>>>> agraf@lychee:/home/agraf/release/qemu> make >>>>>> CC qemu-ga.o >>>>>> qemu-ga.c:40: error: expected specifier-qualifier-list before ‘GSocket’ >>>> >>>> GIO is fairly new. It may not be available on openSUSE. >>>> >>>> Mike, you probably need to do a configure test for GIO and if it's not >>>> present, don't build qemu-ga. >>> >>> It should've failed the glib probe in that case. I think we might need a >>> compile test to catch this GSocket issue. >> >> Indeed. Alex, can you help debug this a bit? We can tr to setup a SUSE system. > > It's not only about SUSE vs. non-SUSE. This was 11.1 (ancient, but latest ppc release) on PowerPC. > >> Can you confirm that gio is actually present? > > Sure, tell me how :). I'm fairly ignorant when it comes to g* stuff. pkg-config --modversion gio-2.0 Regards, Anthony Liguori > > Alex > >