summaryrefslogtreecommitdiffstats
path: root/hw/xen_machine_pv.c
diff options
context:
space:
mode:
authorAnthony PERARD2010-08-19 13:27:56 +0200
committerAlexander Graf2011-05-08 10:10:00 +0200
commit3285cf4fe78b4b83b70b9306cc97968b414a6e9d (patch)
tree1e95a4a1f27382ab7bacc9825b375d33228ad18e /hw/xen_machine_pv.c
parentxen: Support new libxc calls from xen unstable. (diff)
downloadqemu-3285cf4fe78b4b83b70b9306cc97968b414a6e9d.tar.gz
qemu-3285cf4fe78b4b83b70b9306cc97968b414a6e9d.tar.xz
qemu-3285cf4fe78b4b83b70b9306cc97968b414a6e9d.zip
xen: Add initialisation of Xen
The xenpv machine use the common init function. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/xen_machine_pv.c')
-rw-r--r--hw/xen_machine_pv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xen_machine_pv.c b/hw/xen_machine_pv.c
index 0d7f73ed82..7985d11d5a 100644
--- a/hw/xen_machine_pv.c
+++ b/hw/xen_machine_pv.c
@@ -113,6 +113,7 @@ static QEMUMachine xenpv_machine = {
.desc = "Xen Para-virtualized PC",
.init = xen_init_pv,
.max_cpus = 1,
+ .default_machine_opts = "accel=xen",
};
static void xenpv_machine_init(void)