Commit 70c0194
KVM: Rename symbols related to enabling virtualization hardware
Rename the various functions (and a variable) that enable virtualization
to prepare for upcoming changes, and to clean up artifacts of KVM's
previous behavior, which required manually juggling locks around
kvm_usage_count.
Drop the "nolock" qualifier from per-CPU functions now that there are no
"nolock" implementations of the "all" variants, i.e. now that calling a
non-nolock function from a nolock function isn't confusing (unlike this
sentence).
Drop "all" from the outer helpers as they no longer manually iterate
over all CPUs, and because it might not be obvious what "all" refers to.
In lieu of the above qualifiers, append "_cpu" to the end of the functions
that are per-CPU helpers for the outer APIs.
Opportunistically prepend "kvm" to all functions to help make it clear
that they are KVM helpers, but mostly because there's no reason not to.
Lastly, use "virtualization" instead of "hardware", because while the
functions do enable virtualization in hardware, there are a _lot_ of
things that KVM enables in hardware.
Defer renaming the arch hooks to future patches, purely to reduce the
amount of churn in a single commit.
Reviewed-by: Chao Gao <[email protected]>
Reviewed-by: Kai Huang <[email protected]>
Acked-by: Kai Huang <[email protected]>
Tested-by: Farrah Chen <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>1 parent 9a798b1 commit 70c0194
1 file changed
+21
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
| 139 | + | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
1220 | 1220 | | |
1221 | 1221 | | |
1222 | 1222 | | |
1223 | | - | |
| 1223 | + | |
1224 | 1224 | | |
1225 | 1225 | | |
1226 | 1226 | | |
| |||
1263 | 1263 | | |
1264 | 1264 | | |
1265 | 1265 | | |
1266 | | - | |
| 1266 | + | |
1267 | 1267 | | |
1268 | 1268 | | |
1269 | 1269 | | |
| |||
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
1363 | | - | |
| 1363 | + | |
1364 | 1364 | | |
1365 | 1365 | | |
1366 | 1366 | | |
| |||
5574 | 5574 | | |
5575 | 5575 | | |
5576 | 5576 | | |
5577 | | - | |
| 5577 | + | |
5578 | 5578 | | |
5579 | 5579 | | |
5580 | 5580 | | |
5581 | | - | |
| 5581 | + | |
5582 | 5582 | | |
5583 | | - | |
| 5583 | + | |
5584 | 5584 | | |
5585 | 5585 | | |
5586 | 5586 | | |
| |||
5589 | 5589 | | |
5590 | 5590 | | |
5591 | 5591 | | |
5592 | | - | |
| 5592 | + | |
5593 | 5593 | | |
5594 | 5594 | | |
5595 | 5595 | | |
| |||
5600 | 5600 | | |
5601 | 5601 | | |
5602 | 5602 | | |
5603 | | - | |
| 5603 | + | |
5604 | 5604 | | |
5605 | 5605 | | |
5606 | | - | |
| 5606 | + | |
5607 | 5607 | | |
5608 | | - | |
| 5608 | + | |
5609 | 5609 | | |
5610 | 5610 | | |
5611 | 5611 | | |
5612 | 5612 | | |
5613 | | - | |
| 5613 | + | |
5614 | 5614 | | |
5615 | 5615 | | |
5616 | 5616 | | |
5617 | 5617 | | |
5618 | | - | |
| 5618 | + | |
5619 | 5619 | | |
5620 | 5620 | | |
5621 | 5621 | | |
| |||
5634 | 5634 | | |
5635 | 5635 | | |
5636 | 5636 | | |
5637 | | - | |
| 5637 | + | |
5638 | 5638 | | |
5639 | 5639 | | |
5640 | 5640 | | |
| |||
5650 | 5650 | | |
5651 | 5651 | | |
5652 | 5652 | | |
5653 | | - | |
| 5653 | + | |
5654 | 5654 | | |
5655 | 5655 | | |
5656 | 5656 | | |
| |||
5659 | 5659 | | |
5660 | 5660 | | |
5661 | 5661 | | |
5662 | | - | |
| 5662 | + | |
5663 | 5663 | | |
5664 | 5664 | | |
5665 | 5665 | | |
| |||
5668 | 5668 | | |
5669 | 5669 | | |
5670 | 5670 | | |
5671 | | - | |
| 5671 | + | |
5672 | 5672 | | |
5673 | 5673 | | |
5674 | 5674 | | |
| |||
5711 | 5711 | | |
5712 | 5712 | | |
5713 | 5713 | | |
5714 | | - | |
| 5714 | + | |
5715 | 5715 | | |
5716 | 5716 | | |
5717 | 5717 | | |
| |||
5722 | 5722 | | |
5723 | 5723 | | |
5724 | 5724 | | |
5725 | | - | |
| 5725 | + | |
5726 | 5726 | | |
5727 | 5727 | | |
5728 | 5728 | | |
5729 | 5729 | | |
5730 | | - | |
| 5730 | + | |
5731 | 5731 | | |
5732 | 5732 | | |
5733 | 5733 | | |
| |||
0 commit comments