On 07/23/11 18:10, Anthony Liguori wrote:
qga/guest-agent-commands.c: In function ‘qmp_guest_fsfreeze_freeze’:
qga/guest-agent-commands.c:443: error: ‘FIFREEZE’ 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 ‘qmp_guest_fsfreeze_thaw’:
qga/guest-agent-commands.c:481: error: ‘FITHAW’ 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?