From d76d16501ef27fdf3ac8c1f9b7cf59b59a661ec3 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Tue, 16 Dec 2008 10:43:58 +0000 Subject: target-ppc: Enable KVM for ppcemb. Implement hooks called by generic KVM code. Also add code that will copy the host's CPU and timebase frequencies to the guest, which is necessary on KVM because the guest can directly access the timebase. Signed-off-by: Hollis Blanchard Acked-by: Anthony Liguori Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6065 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/kvm_ppc.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 target-ppc/kvm_ppc.h (limited to 'target-ppc/kvm_ppc.h') diff --git a/target-ppc/kvm_ppc.h b/target-ppc/kvm_ppc.h new file mode 100644 index 0000000..e536a88 --- /dev/null +++ b/target-ppc/kvm_ppc.h @@ -0,0 +1,15 @@ +/* + * Copyright 2008 IBM Corporation. + * Authors: Hollis Blanchard + * + * This work is licensed under the GNU GPL license version 2 or later. + * + */ + +#ifndef __KVM_PPC_H__ +#define __KVM_PPC_H__ + +void kvmppc_init(void); +void kvmppc_fdt_update(void *fdt); + +#endif /* __KVM_PPC_H__ */ -- cgit v1.1