1 message in com.xensource.lists.xen-devel[Xen-devel] [PATCH] Re: [Xen-staging]...
FromSent OnAttachments
Alex Williamson25 Oct 2007 08:48 
Subject:[Xen-devel] [PATCH] Re: [Xen-staging] [xen-unstable] pv-qemu 1/10: Add a QEMU machine type for fullvirt guests
From:Alex Williamson (alex@hp.com)
Date:10/25/2007 08:48:30 AM
List:com.xensource.lists.xen-devel

On Thu, 2007-10-25 at 14:54 +0100, Xen staging patchbot-unstable wrote:

# HG changeset patch # User Keir Fraser # Date 1193319181 -3600 # Node ID 65b961265093ccde3df8b1df17cafbcc3e78091e # Parent 168beb9a27a5c1d1c7f16dee9c25dd5aabdaf50a pv-qemu 1/10: Add a QEMU machine type for fullvirt guests

This patch does a (no functional change) re-arrangement of the code for starting up a fully virtualized guest. In particular it creates a new QEMU machine type for Xen fullyvirt guests which can be specified with '-M xenfv'. For compatibility this is in fact made to be the default. The code for setting up memory maps is moved out of vl.c, and into hw/xen_machine_fv.c. This is basically to ensure that it can be easily skipped when we add a paravirt machine type in the next patch.

Trivial ia64 build fix. Thanks,

Alex

Signed-off-by: Alex Williamson <alex@hp.com>

---

diff -r 3d97c1c1f7c8 tools/ioemu/hw/xen_machine_fv.c --- a/tools/ioemu/hw/xen_machine_fv.c Thu Oct 25 15:54:19 2007 +0100 +++ b/tools/ioemu/hw/xen_machine_fv.c Thu Oct 25 09:43:16 2007 -0600 @@ -201,6 +201,7 @@ static void xen_init_fv(uint64_t ram_siz unsigned long nr_pages; xen_pfn_t *page_array; extern void *buffered_pio_page; + int i; #endif

#if defined(__i386__) || defined(__x86_64__)