aboutsummaryrefslogtreecommitdiff
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-03-02 20:28:48 +0100
committerAvi Kivity <avi@redhat.com>2012-03-07 12:27:42 +0200
commit8a7c73932e03f13f29dea8622e15f1ded478d407 (patch)
tree6d9778782b08b9e9b3ceaf422dc38beabceb6eec /kvm-stub.c
parent3fbc1c0c1309a6cc2a0699fbf5e286d32250a0be (diff)
downloadqemu-arm-8a7c73932e03f13f29dea8622e15f1ded478d407.tar.gz
kvm: Add kvm_has_pit_state2 helper
To be used for in-kernel PIT emulation. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kvm-stub.c')
-rw-r--r--kvm-stub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index f63a0d2c81..1f1c6861ed 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -78,6 +78,11 @@ int kvm_allows_irq0_override(void)
return 1;
}
+int kvm_has_pit_state2(void)
+{
+ return 0;
+}
+
void kvm_setup_guest_memory(void *start, size_t size)
{
}