diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-16 10:43:58 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-16 10:43:58 +0000 |
commit | d76d16501ef27fdf3ac8c1f9b7cf59b59a661ec3 (patch) | |
tree | 7ac820762695e1cb0022bc000c50b9c2f2172bae /target-ppc/kvm_ppc.h | |
parent | f652e6af11c670da4bbd738a1bca8b4b31ed97b4 (diff) | |
download | hqemu-d76d16501ef27fdf3ac8c1f9b7cf59b59a661ec3.zip hqemu-d76d16501ef27fdf3ac8c1f9b7cf59b59a661ec3.tar.gz |
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 <hollisb@us.ibm.com>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6065 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/kvm_ppc.h')
-rw-r--r-- | target-ppc/kvm_ppc.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 <hollisb@us.ibm.com> + * + * 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__ */ |