]> git.proxmox.com Git - qemu.git/commit - kvm-all.c
KVM: Don't assume that mpstate exists with in-kernel PIC always
authorAlexander Graf <agraf@suse.de>
Wed, 24 Apr 2013 20:24:12 +0000 (22:24 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 30 Jun 2013 23:11:13 +0000 (01:11 +0200)
commit215e79c01c4e6f766eb9add56c56453e9ea1d948
treed28e0ea5876281859d33a9d4ee4942ed23429e99
parentffeec223b55ea696567ed544016824199cd7c7bc
KVM: Don't assume that mpstate exists with in-kernel PIC always

On PPC, we don't support MP state. So far it's not necessary and I'm
not convinced yet that we really need to support it ever.

However, the current idle logic in QEMU assumes that an in-kernel PIC
also means we support MP state. This assumption is not true anymore.

Let's split up the two cases into two different variables. That way
PPC can expose an in-kernel PIC, while not implementing MP state.

Signed-off-by: Alexander Graf <agraf@suse.de>
CC: Jan Kiszka <jan.kiszka@siemens.com>
cpus.c
include/sysemu/kvm.h
kvm-all.c