]> Git Repo - qemu.git/commit - target-s390x/gdbstub.c
s390x/gdb: synchronize cpu state after modifying acrs
authorDavid Hildenbrand <[email protected]>
Tue, 23 Jun 2015 07:10:51 +0000 (09:10 +0200)
committerCornelia Huck <[email protected]>
Thu, 2 Jul 2015 13:35:33 +0000 (15:35 +0200)
commit55b1b753dff022dcc95123bed35946b4977d31fa
tree7854c892d57bdfa181b1b68840adc69d81976535
parent6efd2c2a125b4369b8def585b0dac35c849b5eb3
s390x/gdb: synchronize cpu state after modifying acrs

Whenever we touch the access control registers, we have to make sure that
the values will make it into kvm. Otherwise the change will simply be lost.

When synchronizing qemu and kvm, a normal KVM_PUT_RUNTIME_STATE does not take
care of these registers. Let's simply trigger a KVM_PUT_FULL_STATE sync,
so the values will directly be written to kvm. The performance overhead can
be ignored and this is much cleaner than manually writing these registers to kvm
via our two supported ways.

Reviewed-by: Christian Borntraeger <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
target-s390x/gdbstub.c
This page took 0.022237 seconds and 4 git commands to generate.