Received: from eggs.gnu.org ([2001:4830:134:3::10]:35686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c44df-0004ui-J0 for qemu-devel@nongnu.org; Tue, 08 Nov 2016 06:32:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c44da-0003js-Sg for qemu-devel@nongnu.org; Tue, 08 Nov 2016 06:32:27 -0500 Received: from smtp.citrix.com ([66.165.176.89]:5534) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1c44da-0003jV-ND for qemu-devel@nongnu.org; Tue, 08 Nov 2016 06:32:22 -0500 Date: Tue, 8 Nov 2016 11:32:19 +0000 From: Anthony PERARD Message-ID: <20161108113219.GA1849@perard.uk.xensource.com> References: <20161107150504.6567-1-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] xen: Fix xenpv machine initialisation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: qemu-devel@nongnu.org, xen-devel@lists.xen.org, Wei Liu , Eduardo Habkost On Mon, Nov 07, 2016 at 12:53:29PM -0800, Stefano Stabellini wrote: > On Mon, 7 Nov 2016, Anthony PERARD wrote: > > When using QEMU for Xen PV guest, QEMU abort with: > > xen-common.c:118:xen_init: Object 0x7f2b8325dcb0 is not an instance of type generic-pc-machine > > > > This is because the machine 'xenpv' also use accel=xen. > > > > This fix 021746c131cdfeab9d82ff918795a9f18d20d7ae > > > > Signed-off-by: Anthony PERARD > > What about moving the acpi_build_enabled initialization to > xen_hvm_init? Yes, that would be better, I'll do that. Thanks. -- Anthony PERARD