Received: from eggs.gnu.org ([140.186.70.92]:56488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qki1h-0002Hw-SH for qemu-devel@nongnu.org; Sat, 23 Jul 2011 15:38:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qki1g-0000Hc-If for qemu-devel@nongnu.org; Sat, 23 Jul 2011 15:38:17 -0400 Received: from cantor2.suse.de ([195.135.220.15]:45520 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qki1g-0000GC-9X for qemu-devel@nongnu.org; Sat, 23 Jul 2011 15:38:16 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-191-282727762 From: Alexander Graf In-Reply-To: <4E2B1FA7.6070503@redhat.com> Date: Sat, 23 Jul 2011 21:38:13 +0200 Message-Id: <6B552B10-ADA9-4D07-8296-6B016E04B1B8@suse.de> 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> <4E2AF26C.8040505@redhat.com> <4E2B1FA7.6070503@redhat.com> Subject: Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes Sorensen Cc: agl@linux.vnet.ibm.com, "qemu-devel@nongnu.org Developers" , Michael Roth , Luiz Capitulino , Blue Swirl , Anthony Liguori --Apple-Mail-191-282727762 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 23.07.2011, at 21:23, Jes Sorensen wrote: > On 07/23/11 18:10, Anthony Liguori wrote: >>=20 >>>> qga/guest-agent-commands.c: In function = =91qmp_guest_fsfreeze_freeze=92: >>>> qga/guest-agent-commands.c:443: error: =91FIFREEZE=92 undeclared = (first >>>> use in this function) >>>> qga/guest-agent-commands.c:443: error: (Each undeclared identifier = is >>>> reported only once >>>> qga/guest-agent-commands.c:443: error: for each function it appears = in.) >>>> qga/guest-agent-commands.c: In function =91qmp_guest_fsfreeze_thaw=92= : >>>> qga/guest-agent-commands.c:481: error: =91FITHAW=92 undeclared = (first use >>>> in this function) >>=20 >> The kernel probably doesn't implement FIFREEZE. You need to do a >> configure test and set CONFIG_FSFREEZE appropriately. I anticipated >> this and that's why I added CONFIG_FSFREEZE and didn't just do = __linux__. >=20 > That would be odd, FIFREEZE has been around since at least January = 2009 > according to git blame (fcccf502540e3d752d33b2d8e976034dee81f9f7). Is > OpenSuSE 11 that old? http://news.opensuse.org/2008/12/18/opensuse-111-released/ In short: yes, it is :) Alex --Apple-Mail-191-282727762 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
On = 07/23/11 18:10, Anthony Liguori wrote:

qga/guest-agent-commands.c: In = function = =91qmp_guest_fsfreeze_freeze=92:
qga/guest-agent-commands.c:443: error: =91FIFREEZE=92 = undeclared (first
use in = this function)
qga/guest-agent-commands.c:443: error: (Each undeclared = identifier is
reported= only once
qga/guest-agent-commands.c:443: error: for each function = it appears in.)
qga/guest-agent-commands.c: In function = =91qmp_guest_fsfreeze_thaw=92:
<= blockquote type=3D"cite">
qga/guest-agent-commands.c:481: error: =91FITHAW=92 = undeclared (first = use
in = this function)

The kernel = probably doesn't implement FIFREEZE.  You need to do = a
configure test and set = CONFIG_FSFREEZE appropriately.  I = anticipated
this and that's = why I added CONFIG_FSFREEZE and didn't just do = __linux__.

That would be odd, FIFREEZE has been = around since at least January 2009
according to git blame = (fcccf502540e3d752d33b2d8e976034dee81f9f7). Is
OpenSuSE 11 that = old?


In short: yes, it is = :)


Alex

= --Apple-Mail-191-282727762--