Commit e93fc7b
committed
KVM: s390: Also reset registers in sync regs for initial cpu reset
When we do the initial CPU reset we must not only clear the registers
in the internal data structures but also in kvm_run sync_regs. For
modern userspace sync_regs is the only place that it looks at.
Fixes: 7de3f14 ("KVM: s390: Add new reset vcpu API")
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>1 parent d718fdc commit e93fc7b
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3268 | 3268 | | |
3269 | 3269 | | |
3270 | 3270 | | |
3271 | | - | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
3272 | 3275 | | |
3273 | 3276 | | |
3274 | 3277 | | |
| |||
3278 | 3281 | | |
3279 | 3282 | | |
3280 | 3283 | | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
| 3292 | + | |
| 3293 | + | |
| 3294 | + | |
| 3295 | + | |
| 3296 | + | |
3281 | 3297 | | |
3282 | 3298 | | |
3283 | 3299 | | |
| |||
0 commit comments