From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPw1v-0005dZ-Bq for qemu-devel@nongnu.org; Mon, 04 Jun 2018 16:24:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPw1s-0006ki-8T for qemu-devel@nongnu.org; Mon, 04 Jun 2018 16:24:39 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39574 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fPw1s-0006iq-2k for qemu-devel@nongnu.org; Mon, 04 Jun 2018 16:24:36 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 78C004010207 for ; Mon, 4 Jun 2018 20:24:35 +0000 (UTC) Date: Mon, 4 Jun 2018 22:24:33 +0200 From: Igor Mammedov Message-ID: <20180604222433.4d585846@redhat.com> In-Reply-To: <787c23db-430b-dc20-10f7-00fdf119449c@redhat.com> References: <787c23db-430b-dc20-10f7-00fdf119449c@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Preconfig state reachable without --preconfig given List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Michal Privoznik , "qemu-devel@nongnu.org" On Mon, 4 Jun 2018 16:04:33 +0200 Max Reitz wrote: > On 2018-06-02 12:46, Michal Privoznik wrote: > > On 06/01/2018 03:28 PM, Max Reitz wrote: > >> Hi, > >> > >> The @preconfig RunState documentation states: > >> > >>> The state is reachable only if the --preconfig CLI option is used. > >> > >> However, this is not true: > >> > >> $ echo | x86_64-softmmu/qemu-system-x86_64 -monitor stdio > >> QEMU 2.12.50 monitor - type 'help' for more information > >> (qemu) > >> HMP not available in preconfig state, use QMP instead > > > > Not sure if this is the same bug, but I've noticed libvirt having > > troubles detecting capabilities of qemu and debugging lead to this patch: > > > > http://lists.nongnu.org/archive/html/qemu-devel/2018-06/msg00367.html > > > > (which by no means I claim is proper solution. It might be viewed as > > workaround by expert qemu devels) > > I haven't investigated further, but that patch breaks iotest 091 (which > tests migration). It just stops now after the migration has started, so > it never completes. > > Actually, it seems to break all migration iotests (but 203, which > migrates to /dev/null), so I suspect it breaks migration as a whole. Manual migration to file and restore from it, was tested manually and worked fine, migration-test from 'make check' is ok as well. It's probably due broken to "echo foo | $QEMU" There is another issue with -nodefaults option leading to indefinite timeout even if --preconfig wasn't used. I've just posted fix for that so that it won't be masked out by Michal/Daniel's fix. But I've run iotests and -nodefaults fix doesn't affect outcome of the tests (the same 4 failures). > > Max >