]> Git Repo - qemu.git/commit - target/s390x/kvm.c
s390x/kvm: propagate s390 cpu state to kvm
authorDavid Hildenbrand <[email protected]>
Tue, 30 Sep 2014 08:57:30 +0000 (10:57 +0200)
committerCornelia Huck <[email protected]>
Fri, 10 Oct 2014 08:37:47 +0000 (10:37 +0200)
commitc9e659c9ee75d33ff11a8573cea738ad26bb6f86
tree577ab7f30ee4184604550b227a05dddcc08342db
parenteb24f7c6896e93047f2c58ffd3ba4f453e88280b
s390x/kvm: propagate s390 cpu state to kvm

Let QEMU propagate the cpu state to kvm. If kvm doesn't yet support it, it is
silently ignored as kvm will still handle the cpu state itself in that case.

The state is not synced back, thus kvm won't have a chance to actively modify
the cpu state. To do so, control has to be given back to QEMU (which is already
done so in all relevant cases).

Setting of the cpu state can fail either because kvm doesn't support the
interface yet, or because the state is invalid/not supported. Failed attempts
will be traced

Signed-off-by: David Hildenbrand <[email protected]>
Signed-off-by: Jens Freimann <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
CC: Andreas Faerber <[email protected]>
Tested-by: Christian Borntraeger <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
target-s390x/cpu.c
target-s390x/cpu.h
target-s390x/kvm.c
trace-events
This page took 0.025529 seconds and 4 git commands to generate.