kvm: minor fixes and cleanups
Subsystems (6)
cover kvm: minor fixes and cleanups
Another new kernel cycle starts ticking and my bot seems to have some complaints about some new changes. Please check if any of them helps.
Like Xu (4):
KVM: x86/xen: Remove the redundantly included header file lapic.h
selftests: kvm: add tsc_scaling_sync to .gitignore
selftests: kvm/x86/xen: Replace a comma in the xen_shinfo_test with
semicolon
Documentation: KVM: Add SPDX-License-Identifier tag
Documentation/virt/kvm/vcpu-requests.rst | 2 ++ Documentation/virt/kvm/x86/amd-memory-encryption.rst | 2 ++ Documentation/virt/kvm/x86/errata.rst | 2 +- Documentation/virt/kvm/x86/running-nested-guests.rst | 2 ++ arch/x86/kvm/xen.c | 1 - tools/testing/selftests/kvm/.gitignore | 1 + tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 2 +- 7 files changed, 9 insertions(+), 3 deletions(-)
Signature · 1 line
2.35.1
PATCH 1/4 KVM: x86/xen: Remove the redundantly included header file lapic.h
The header lapic.h is included more than once, remove one of them.
---
Note: repeated as https://lore.kernel.org/kvm/[email protected]/
arch/x86/kvm/xen.c | 1 - 1 file changed, 1 deletion(-)
arch/x86/kvm/xen.c +0 -1
@@ -8,7 +8,6 @@#include "x86.h" #include "xen.h" -#include "lapic.h" #include "hyperv.h" #include "lapic.h"
Signature · 1 line
2.35.1
PATCH 2/4 selftests: kvm: add tsc_scaling_sync to .gitignore
In reply to Like XuThe tsc_scaling_sync's binary should be present in the .gitignore file for the git to ignore it.
---
Note: hyperv_svm_test has been added in the upstream commit 946ad0499d98.
tools/testing/selftests/kvm/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/kvm/.gitignore +1 -0
@@ -33,6 +33,7 @@ /x86_64/state_test /x86_64/svm_vmcall_test /x86_64/svm_int_ctl_test +/x86_64/tsc_scaling_sync /x86_64/sync_regs_test /x86_64/tsc_msrs_test /x86_64/userspace_io_test
Signature · 1 line
2.35.1
PATCH 3/4 selftests: kvm/x86/xen: Replace a comma in the xen_shinfo_test with semicolon
In reply to Like Xu+WARNING: Possible comma where semicolon could be used +#397: FILE: tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c:700:
++ tmr.type = KVM_XEN_VCPU_ATTR_TYPE_TIMER,
++ vcpu_ioctl(vm, VCPU_ID, KVM_XEN_VCPU_GET_ATTR, &tmr);
--- tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c +1 -1
@@ -702,7 +702,7 @@ int main(int argc, char *argv[])case 14 :memset (&tmr,0 ,sizeof (tmr)); - tmr.type =KVM_XEN_VCPU_ATTR_TYPE_TIMER , + tmr.type =KVM_XEN_VCPU_ATTR_TYPE_TIMER ;vcpu_ioctl (vm,VCPU_ID ,KVM_XEN_VCPU_GET_ATTR , &tmr);TEST_ASSERT (tmr.u.timer.port ==EVTCHN_TIMER ,"Timer port not returned" );
Signature · 1 line
2.35.1
PATCH 4/4 Documentation: KVM: Add SPDX-License-Identifier tag
In reply to Like Xu+new file mode 100644
+WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 +#27: FILE: Documentation/virt/kvm/x86/errata.rst:1:
Opportunistically update all other non-added KVM documents and remove a new extra blank line at EOF for x86/errata.rst.
--- Documentation/virt/kvm/vcpu-requests.rst | 2 ++ Documentation/virt/kvm/x86/amd-memory-encryption.rst | 2 ++ Documentation/virt/kvm/x86/errata.rst | 2 +- Documentation/virt/kvm/x86/running-nested-guests.rst | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-)
Documentation/virt/kvm/vcpu-requests.rst +2 -0
@@ -1,3 +1,5 @@ +.. SPDX-License-Identifier: GPL-2.0 + ================= KVM VCPU Requests =================
Documentation/virt/kvm/x86/amd-memory-encryption.rst +2 -0
@@ -1,3 +1,5 @@ +.. SPDX-License-Identifier: GPL-2.0 + ====================================== Secure Encrypted Virtualization (SEV) ======================================
Documentation/virt/kvm/x86/errata.rst +1 -1
@@ -1,3 +1,4 @@ +.. SPDX-License-Identifier: GPL-2.0 ======================================= Known limitations of CPU virtualization
@@ -36,4 +37,3 @@ Nested virtualization features ------------------------------ TBD -
Documentation/virt/kvm/x86/running-nested-guests.rst +2 -0
@@ -1,3 +1,5 @@ +.. SPDX-License-Identifier: GPL-2.0 + ============================== Running nested guests with KVM ==============================
Signature · 1 line
2.35.1
Queued, thanks.
Paolo
Quoted 3 lines · Paolo Bonzini
Queued, thanks.
Paolo
Sorry, my carelessness may bring the following warning from linux-next:
WARNING: From:/Signed-off-by: email address mismatch:
'From: Like Xu <[email protected]>' != 'Signed-off-by: Like Xu <[email protected]>'
Please let me know if we need to tweak out a better new version.