Commit 407369e
committed
KVM: pVMX: Implement vcpu_free operation
Enable the pKVM VMX host to release a vCPU using the vcpu_free PV
interface. The physical addresses and sizes of the allocated memory
pages when creating a vCPU are returned via pkvm_memcache. They are
freed along with VMX specific resources such as VMCS page and MSR
bitmap.
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>1 parent 25c9c7b commit 407369e
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
165 | 184 | | |
166 | 185 | | |
167 | 186 | | |
| |||
177 | 196 | | |
178 | 197 | | |
179 | 198 | | |
| 199 | + | |
180 | 200 | | |
0 commit comments