Received: from [140.186.70.92] (port=60606 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ol0I0-0001XJ-9N for qemu-devel@nongnu.org; Mon, 16 Aug 2010 10:03:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ol0Hy-0001T1-8i for qemu-devel@nongnu.org; Mon, 16 Aug 2010 10:03:47 -0400 Received: from smtp.eu.citrix.com ([62.200.22.115]:56204) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ol0Hy-0001SW-4f for qemu-devel@nongnu.org; Mon, 16 Aug 2010 10:03:46 -0400 Date: Mon, 16 Aug 2010 15:04:00 +0100 From: Stefano Stabellini Subject: Re: [Qemu-devel] [PATCH 02/15] xen: Add xen_machine_fv In-Reply-To: <4C694054.8010600@redhat.com> Message-ID: References: <1281622202-3453-2-git-send-email-stefano.stabellini@eu.citrix.com> <4C694054.8010600@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Anthony Perard , "xen-devel@lists.xensource.com" , "qemu-devel@nongnu.org" , Stefano Stabellini On Mon, 16 Aug 2010, Kevin Wolf wrote: > Am 12.08.2010 16:09, schrieb stefano.stabellini@eu.citrix.com: > > From: Anthony PERARD > > > > Add the Xen FV (Fully Virtualized) machine to Qemu; > > this is groundwork to add Xen device model support in Qemu. > > > > Signed-off-by: Anthony PERARD > > Signed-off-by: Stefano Stabellini > > Why does this need its own machine type? Shouldn't an HVM machine really > look like a PC? And indeed most of this code looks like a (slightly > outdated) copy of pc_piix.c with !pci_enabled code paths removed. The main reason is that we need some xen specific initializations, as you can see from xen_init_fv. But considering that we have been asked to remove target-xen and that will cause a major refactoring of this series, xen_machine_fv could change significantly in the next iterations anyway...