diff options
author | Glauber Costa <glommer@redhat.com> | 2009-07-21 12:26:58 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-22 10:58:49 -0500 |
commit | 6f725c139ae975646c44ace77bf796318a5783da (patch) | |
tree | 8cf60b827ab2d649b4dd7954bce465e51874793e /kvm.h | |
parent | 609f2fabab3ca9cedd69c499dc94bb2019d4f665 (diff) | |
download | qemu-6f725c139ae975646c44ace77bf796318a5783da.zip qemu-6f725c139ae975646c44ace77bf796318a5783da.tar.gz qemu-6f725c139ae975646c44ace77bf796318a5783da.tar.bz2 |
provide tests for pit in kernel and irqchip in kernel
KVM can have an in-kernel pit or irqchip. While we don't implement it
yet, having a way for test for it (that always returns zero) will allow us
to reuse code in qemu-kvm that tests for it.
Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -60,6 +60,9 @@ int kvm_remove_breakpoint(CPUState *current_env, target_ulong addr, void kvm_remove_all_breakpoints(CPUState *current_env); int kvm_update_guest_debug(CPUState *env, unsigned long reinject_trap); +int kvm_pit_in_kernel(void); +int kvm_irqchip_in_kernel(void); + /* internal API */ struct KVMState; |