On Mon, Nov 23, 2015 at 6:40 PM, Paolo Bonzini <pbonz...@redhat.com> wrote: > Before: object-initial, chardev, qtest, object-late (not in the patch) > > After: chardev, qtest, object-initial, object-late (not in the patch) > > Objects must be initialized before chardev (except rng-egd) since in the > future chardev will need to use objects, in particular secret objects. > Was the swap intentional?
Yes, without the swap, qtest was not initialized before memory is allocated. The alternative I could think of is to check the QTEST_QEMU_BINARY variable: http://lists.nongnu.org/archive/html/qemu-devel/2015-11/msg01527.html -- Marc-André Lureau