Message ID | 1394670436-575-1-git-send-email-afaerber@suse.de |
---|---|
State | New |
Headers | show |
On 13 March 2014 00:27, Andreas Färber <afaerber@suse.de> wrote: > Hello Peter, > > This is my QOM (devices) patch queue. Please pull. > > v2 changes qom-test. No, this is still broken: /home/petmay01/linaro/qemu-for-merges/tests/qom-test.c: In function ‘qmp’: /home/petmay01/linaro/qemu-for-merges/tests/libqtest.h:359:60: sorry, unimplemented: function ‘qmp’ can never be inlined because it uses variable argument lists make: *** [tests/qom-test.o] Error 1 make: Leaving directory `/home/petmay01/linaro/qemu-for-merges/build/all' Moving qmp() into libqtest.c and just having a prototype in libqtest.h (ie having it not be an inline varargs function) seems to fix this. I don't know why (a) it didn't complain about earlier uses of qmp() or (b) why it's not complaining about qmp_discard_response() now [perhaps the compiler manages to special case "varargs but the varargs list is empty]. Probably safest to move qmp_discard_response too, though. thanks -- PMM
Am 13.03.2014 12:22, schrieb Peter Maydell: > On 13 March 2014 00:27, Andreas Färber <afaerber@suse.de> wrote: >> Hello Peter, >> >> This is my QOM (devices) patch queue. Please pull. >> >> v2 changes qom-test. > > No, this is still broken: > /home/petmay01/linaro/qemu-for-merges/tests/qom-test.c: In function ‘qmp’: > /home/petmay01/linaro/qemu-for-merges/tests/libqtest.h:359:60: sorry, > unimplemented: function ‘qmp’ can never be inlined because it uses > variable argument lists > make: *** [tests/qom-test.o] Error 1 > make: Leaving directory `/home/petmay01/linaro/qemu-for-merges/build/all' > > Moving qmp() into libqtest.c and just having a > prototype in libqtest.h (ie having it not be an > inline varargs function) seems to fix this. > > I don't know why (a) it didn't complain about > earlier uses of qmp() or (b) why it's not complaining > about qmp_discard_response() now [perhaps the compiler > manages to special case "varargs but the varargs list > is empty]. Probably safest to move qmp_discard_response > too, though. My v1 did have empty varargs, so that's not it... Andreas
On 13 March 2014 00:27, Andreas Färber <afaerber@suse.de> wrote: > Hello Peter, > > This is my QOM (devices) patch queue. Please pull. > > v2 changes qom-test. > > Regards, > Andreas > > Cc: Peter Maydell <peter.maydell@linaro.org> > Cc: Anthony Liguori <anthony@codemonkey.ws> > > Cc: Markus Armbruster <armbru@redhat.com> > Cc: Peter Crosthwaite <peter.crosthwaite@xilinx.com> > Cc: Alexander Graf <agraf@suse.de> > Cc: Stefan Hajnoczi <stefanha@redhat.com> > Cc: Michael S. Tsirkin <mst@redhat.com> > Cc: Paolo Bonzini <pbonzini@redhat.com> > Cc: Bandan Das <bsd@redhat.com> > > The following changes since commit 750036a848ea913ba6343718ffa70da98f7eef6b: > > Merge remote-tracking branch 'remotes/afaerber/tags/prep-for-upstream' into staging (2014-03-12 17:53:37 +0000) > > are available in the git repository at: > > > git://github.com/afaerber/qemu-cpu.git tags/qom-devices-for-peter > > for you to fetch changes up to f8762027a33e2f5d0915c56a904962b1481f75c1: > > libqtest: Fix possible deadlock in qtest initialization (2014-03-13 01:21:57 +0100) Applied, thanks (after the libqtest patch, so make check is fine now). -- PMM