aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/kvm-stub.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-06-28 13:47:15 +0200
committerAlexander Graf <agraf@suse.de>2013-07-01 01:11:14 +0200
commit4be1db86060d803f2335c08a483218eb6a8bd9eb (patch)
treeb6b8a543ec8352a2d32e930563bbf6ec531437bf /target-ppc/kvm-stub.c
parentcb925cf9230f77c096dae4b159a9449bc306256c (diff)
downloadqemu-4be1db86060d803f2335c08a483218eb6a8bd9eb.zip
qemu-4be1db86060d803f2335c08a483218eb6a8bd9eb.tar.gz
qemu-4be1db86060d803f2335c08a483218eb6a8bd9eb.tar.bz2
PPC: Add non-kvm stub file
There are cases where a kvm provided function is called from generic hw code that doesn't know whether kvm is available or not. Provide a stub file which can provide simple replacement functions for those cases. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-ppc/kvm-stub.c')
-rw-r--r--target-ppc/kvm-stub.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/target-ppc/kvm-stub.c b/target-ppc/kvm-stub.c
new file mode 100644
index 0000000..0f5c27d
--- /dev/null
+++ b/target-ppc/kvm-stub.c
@@ -0,0 +1,12 @@
+/*
+ * QEMU KVM PPC specific function stubs
+ *
+ * Copyright Freescale Inc. 2013
+ *
+ * Author: Alexander Graf <agraf@suse.de>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ *
+ */
+#include "qemu-common.h"