[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] configure: Disable guest_agent for mingw32
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] [PATCH] configure: Disable guest_agent for mingw32 |
Date: |
Sun, 07 Aug 2011 18:41:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 |
Am 07.08.2011 17:50, schrieb Anthony Liguori:
On 08/06/2011 03:47 PM, Stefan Weil wrote:
guest_agent is not supported for mingw32, so the default value
should be 'no', not 'yes'.
Why is it not supported? It should build just fine.
If the answer is, -mms-bitfield, then we should fix slirp instead of
disabling guest-agent.
Regards,
Anthony Liguori
Code extract from configure:
if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
tools="qemu-nbd\$(EXESUF) $tools"
if [ "$guest_agent" = "yes" ]; then
tools="qemu-ga\$(EXESUF) $tools"
fi
if [ "$check_utests" = "yes" ]; then
tools="check-qint check-qstring check-qdict check-qlist $tools"
tools="check-qfloat check-qjson $tools"
fi
fi
MinGW32 is neither linux nor bsd nor solaris, so guest_agent="yes"
won't enable qemu-ga.exe.
Of course this (and the bitfield related problems) should be fixed in
git master, but not in stable-0.15. So for 0.15, the patch is a must
(unless you are prepared to take additional patches for the
bitfield issues).
Even for git master, the patch is reasonable because it allows
QEMU builds with most mingw32 installations. As soon as
there is a w32 QEMU working with glib-2.0 and a w32 qemu-ga.exe
(and some documentation in the QEMU wiki how to get glib-2.0
and python), the patch can be reverted.
Regards,
Stefan Weil