Commit 6254eeb
committed
Merge tag 'kvm-x86-fixes-6.7-rcN' of https://github.com/kvm-x86/linux into kvm-master
KVM fixes for 6.7-rcN:
- When checking if a _running_ vCPU is "in-kernel", i.e. running at CPL0,
get the CPL directly instead of relying on preempted_in_kernel, which
is valid if and only if the vCPU was preempted, i.e. NOT running.
- Set .owner for various KVM file_operations so that files refcount the
KVM module until KVM is done executing _all_ code, including the last
few instructions of kvm_put_kvm(). And then revert the misguided
attempt to rely on "struct kvm" refcounts to pin KVM-the-module.
- Fix a benign "return void" that was recently introduced.3 files changed
Lines changed: 15 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5518 | 5518 | | |
5519 | 5519 | | |
5520 | 5520 | | |
5521 | | - | |
5522 | | - | |
| 5521 | + | |
| 5522 | + | |
5523 | 5523 | | |
5524 | 5524 | | |
5525 | 5525 | | |
| |||
13031 | 13031 | | |
13032 | 13032 | | |
13033 | 13033 | | |
13034 | | - | |
| 13034 | + | |
| 13035 | + | |
| 13036 | + | |
| 13037 | + | |
13035 | 13038 | | |
13036 | 13039 | | |
13037 | 13040 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | 118 | | |
121 | 119 | | |
122 | 120 | | |
| |||
1157 | 1155 | | |
1158 | 1156 | | |
1159 | 1157 | | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
1163 | 1158 | | |
1164 | 1159 | | |
1165 | 1160 | | |
| |||
1279 | 1274 | | |
1280 | 1275 | | |
1281 | 1276 | | |
1282 | | - | |
1283 | 1277 | | |
1284 | 1278 | | |
1285 | 1279 | | |
| |||
1348 | 1342 | | |
1349 | 1343 | | |
1350 | 1344 | | |
1351 | | - | |
1352 | 1345 | | |
1353 | 1346 | | |
1354 | 1347 | | |
| |||
3887 | 3880 | | |
3888 | 3881 | | |
3889 | 3882 | | |
3890 | | - | |
| 3883 | + | |
3891 | 3884 | | |
3892 | 3885 | | |
3893 | 3886 | | |
| |||
4081 | 4074 | | |
4082 | 4075 | | |
4083 | 4076 | | |
| 4077 | + | |
4084 | 4078 | | |
4085 | 4079 | | |
4086 | 4080 | | |
| |||
4431 | 4425 | | |
4432 | 4426 | | |
4433 | 4427 | | |
4434 | | - | |
| 4428 | + | |
4435 | 4429 | | |
4436 | 4430 | | |
4437 | 4431 | | |
| |||
4759 | 4753 | | |
4760 | 4754 | | |
4761 | 4755 | | |
| 4756 | + | |
4762 | 4757 | | |
4763 | 4758 | | |
4764 | 4759 | | |
| |||
5060 | 5055 | | |
5061 | 5056 | | |
5062 | 5057 | | |
5063 | | - | |
| 5058 | + | |
5064 | 5059 | | |
5065 | 5060 | | |
5066 | 5061 | | |
| |||
6095 | 6090 | | |
6096 | 6091 | | |
6097 | 6092 | | |
| 6093 | + | |
| 6094 | + | |
| 6095 | + | |
6098 | 6096 | | |
6099 | 6097 | | |
6100 | 6098 | | |
| |||
0 commit comments