Commit 3a269e5
committed
vmm: fix immediate_exit handling for PIO/MMIO code paths
To finish the emulation of PIO or MMIO code paths [0], we need to get
back into KVM_RUN. In order to not lose any signal that we received,
we must preserve the original `immediate_exit` flag in case it was
already set by the signal handler.
[0] https://elixir.bootlin.com/linux/v6.12/source/arch/x86/kvm/x86.c#L115551 parent 9b26f67 commit 3a269e5
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1165 | 1165 | | |
1166 | 1166 | | |
1167 | 1167 | | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
1168 | 1174 | | |
1169 | 1175 | | |
1170 | 1176 | | |
1171 | 1177 | | |
1172 | 1178 | | |
1173 | | - | |
| 1179 | + | |
1174 | 1180 | | |
1175 | 1181 | | |
1176 | 1182 | | |
| |||
0 commit comments