Commit 4be1db86 authored by Alexander Graf's avatar Alexander Graf
Browse files

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: default avatarAlexander Graf <agraf@suse.de>
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent cb925cf9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ obj-y += machine.o mmu_helper.o mmu-hash32.o
obj-$(TARGET_PPC64) += mmu-hash64.o
endif
obj-$(CONFIG_KVM) += kvm.o kvm_ppc.o
obj-$(CONFIG_NO_KVM) += kvm-stub.o
obj-y += excp_helper.o
obj-y += fpu_helper.o
obj-y += int_helper.o

target-ppc/kvm-stub.c

0 → 100644
+12 −0
Original line number Diff line number Diff line
/*
 * 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"