summaryrefslogtreecommitdiff
path: root/xen-stub.c
diff options
context:
space:
mode:
authorPaul Durrant <paul.durrant@citrix.com>2013-06-25 11:46:37 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-06-25 12:00:48 +0000
commita97d6fe6fbb97630d77253d20bdce78f76d01850 (patch)
treecd79fb71f911826f90882c5c00277bf2979afddb /xen-stub.c
parentfc744bb10cde3ba7b9ecbaf9e723e99d3b7fa25c (diff)
downloadqemu-a97d6fe6fbb97630d77253d20bdce78f76d01850.tar.gz
Allow use of pc machine type (accel=xen) for Xen HVM domains.
Xen HVM domains normally spawn QEMU with a dedicated xenfv machine type. The initialization code for this machine type can easily be pulled into the generic pc initialization code and guarded with a test for whether the xen accelerator options is specified, which is more consistent with the way other accelerators are used. Signed-off-by: Paul Durrant <paul.durrant@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'xen-stub.c')
-rw-r--r--xen-stub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xen-stub.c b/xen-stub.c
index 6f0516aa3e..47c8e73e0f 100644
--- a/xen-stub.c
+++ b/xen-stub.c
@@ -63,3 +63,8 @@ void qmp_xen_set_global_dirty_log(bool enable, Error **errp)
void xen_modified_memory(ram_addr_t start, ram_addr_t length)
{
}
+
+int xen_hvm_init(void)
+{
+ return 0;
+}