Commit 3dc47d2
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 c5c20b5 commit 3dc47d2
1 file changed
+9
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1121 | 1121 | | |
1122 | 1122 | | |
1123 | 1123 | | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
1134 | 1127 | | |
1135 | 1128 | | |
1136 | 1129 | | |
| |||
1170 | 1163 | | |
1171 | 1164 | | |
1172 | 1165 | | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
1173 | 1171 | | |
1174 | 1172 | | |
1175 | 1173 | | |
1176 | 1174 | | |
1177 | 1175 | | |
1178 | | - | |
| 1176 | + | |
1179 | 1177 | | |
1180 | 1178 | | |
1181 | 1179 | | |
| |||
0 commit comments