aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/helper_regs.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-04-18 23:10:17 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-05-18 20:21:00 +0200
commitc821c2bd4f5fcd3e91e3cd1e2bef76a408677425 (patch)
treef69fad9390d452e57e44ea833a8815e902545805 /target-ppc/helper_regs.h
parenta5829fd9e6e49016188efd17a6bb34e80f50cd4c (diff)
PPC/KVM: make iothread work
When running with --enable-io-thread the timer we have doesn't help, because it doesn't wake up the CPU thread. So instead we need to actually kick it. While at it I refined the logic a bit to not dumbly trigger a timer every 500ms, but rather do it more often after an interrupt got injected. If there's no level based interrupt to be expected, we don't need the timer anyways. This makes qemu-system-ppc with --enable-io-thread work when using KVM. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-ppc/helper_regs.h')
0 files changed, 0 insertions, 0 deletions