History

Documentation: move Documentation/virtual to Documentation/virt

Renaming docs seems to be en vogue at the moment, so fix on of the grossly misnamed directories. We usually never use "virtual" as a shortcut for virtualization in the kernel, but always virt, as seen in the virt/ top-level directory. Fix up the documentation to match that.

Christoph Hellwig committed 7 years ago

Commit 2f5947d1 parent c6bf2ae40 files · +19 −19Browse files

Unified · Split

40 files
  1. Documentation/admin-guide/kernel-parameters.txt +1 −1
  2. Documentation/virt/index.rst +0 −0
  3. Documentation/virt/kvm/amd-memory-encryption.rst +0 −0
  4. Documentation/virt/kvm/api.txt +1 −1
  5. Documentation/virt/kvm/arm/hyp-abi.txt +0 −0
  6. Documentation/virt/kvm/arm/psci.txt +0 −0
  7. Documentation/virt/kvm/cpuid.rst +0 −0
  8. Documentation/virt/kvm/devices/README +0 −0
  9. Documentation/virt/kvm/devices/arm-vgic-its.txt +0 −0
  10. Documentation/virt/kvm/devices/arm-vgic-v3.txt +0 −0
  11. Documentation/virt/kvm/devices/arm-vgic.txt +0 −0
  12. Documentation/virt/kvm/devices/mpic.txt +0 −0
  13. Documentation/virt/kvm/devices/s390_flic.txt +0 −0
  14. Documentation/virt/kvm/devices/vcpu.txt +0 −0
  15. Documentation/virt/kvm/devices/vfio.txt +0 −0
  16. Documentation/virt/kvm/devices/vm.txt +0 −0
  17. Documentation/virt/kvm/devices/xics.txt +0 −0
  18. Documentation/virt/kvm/devices/xive.txt +0 −0
  19. Documentation/virt/kvm/halt-polling.txt +0 −0
  20. Documentation/virt/kvm/hypercalls.txt +2 −2
  21. Documentation/virt/kvm/index.rst +0 −0
  22. Documentation/virt/kvm/locking.txt +0 −0
  23. Documentation/virt/kvm/mmu.txt +1 −1
  24. Documentation/virt/kvm/msr.txt +0 −0
  25. Documentation/virt/kvm/nested-vmx.txt +0 −0
  26. Documentation/virt/kvm/ppc-pv.txt +0 −0
  27. Documentation/virt/kvm/review-checklist.txt +1 −1
  28. Documentation/virt/kvm/s390-diag.txt +0 −0
  29. Documentation/virt/kvm/timekeeping.txt +0 −0
  30. Documentation/virt/kvm/vcpu-requests.rst +0 −0
  31. Documentation/virt/paravirt_ops.rst +0 −0
  32. Documentation/virt/uml/UserModeLinux-HOWTO.txt +0 −0
  33. MAINTAINERS +3 −3
  34. arch/powerpc/include/uapi/asm/kvm_para.h +1 −1
  35. arch/x86/kvm/mmu.c +1 −1
  36. include/uapi/linux/kvm.h +2 −2
  37. tools/include/uapi/linux/kvm.h +2 −2
  38. virt/kvm/arm/arm.c +1 −1
  39. virt/kvm/arm/vgic/vgic-mmio-v3.c +1 −1
  40. virt/kvm/arm/vgic/vgic.h +2 −2
Documentation/admin-guide/kernel-parameters.txt+1−1
@@ -2532,7 +2532,7 @@ · 2531 unmodified lines
2532 mem_encrypt=on: Activate SME2532 mem_encrypt=on: Activate SME
2533 mem_encrypt=off: Do not activate SME2533 mem_encrypt=off: Do not activate SME
2534 2534
2535 Refer to Documentation/virtual/kvm/amd-memory-encryption.rst2535 Refer to Documentation/virt/kvm/amd-memory-encryption.rst
2536 for details on when memory encryption can be activated.2536 for details on when memory encryption can be activated.
2537 2537
2538 mem_sleep_default= [SUSPEND] Default system suspend mode:2538 mem_sleep_default= [SUSPEND] Default system suspend mode:
Documentation/virt/index.rstrenamed from Documentation/virtual/index.rst+0−0

File renamed without changes.

Documentation/virt/kvm/amd-memory-encryption.rstrenamed from Documentation/virtual/kvm/amd-memory-encryption.rst+0−0

File renamed without changes.

Documentation/virt/kvm/api.txtrenamed from Documentation/virtual/kvm/api.txt+1−1
@@ -3781,7 +3781,7 @@ encrypted VMs. · 3780 unmodified lines
3781 3781
3782Currently, this ioctl is used for issuing Secure Encrypted Virtualization3782Currently, this ioctl is used for issuing Secure Encrypted Virtualization
3783(SEV) commands on AMD Processors. The SEV commands are defined in3783(SEV) commands on AMD Processors. The SEV commands are defined in
3784Documentation/virtual/kvm/amd-memory-encryption.rst.3784Documentation/virt/kvm/amd-memory-encryption.rst.
3785 3785
37864.111 KVM_MEMORY_ENCRYPT_REG_REGION37864.111 KVM_MEMORY_ENCRYPT_REG_REGION
3787 3787
Documentation/virt/kvm/arm/hyp-abi.txtrenamed from Documentation/virtual/kvm/arm/hyp-abi.txt+0−0

File renamed without changes.

Documentation/virt/kvm/arm/psci.txtrenamed from Documentation/virtual/kvm/arm/psci.txt+0−0

File renamed without changes.

Documentation/virt/kvm/cpuid.rstrenamed from Documentation/virtual/kvm/cpuid.rst+0−0

File renamed without changes.

Documentation/virt/kvm/devices/READMErenamed from Documentation/virtual/kvm/devices/README+0−0

File renamed without changes.

Documentation/virt/kvm/devices/arm-vgic-its.txtrenamed from Documentation/virtual/kvm/devices/arm-vgic-its.txt+0−0

File renamed without changes.

Documentation/virt/kvm/devices/arm-vgic-v3.txtrenamed from Documentation/virtual/kvm/devices/arm-vgic-v3.txt+0−0

File renamed without changes.

Documentation/virt/kvm/devices/arm-vgic.txtrenamed from Documentation/virtual/kvm/devices/arm-vgic.txt+0−0

File renamed without changes.

Documentation/virt/kvm/devices/mpic.txtrenamed from Documentation/virtual/kvm/devices/mpic.txt+0−0

File renamed without changes.

Documentation/virt/kvm/devices/s390_flic.txtrenamed from Documentation/virtual/kvm/devices/s390_flic.txt+0−0

File renamed without changes.

Documentation/virt/kvm/devices/vcpu.txtrenamed from Documentation/virtual/kvm/devices/vcpu.txt+0−0

File renamed without changes.

Documentation/virt/kvm/devices/vfio.txtrenamed from Documentation/virtual/kvm/devices/vfio.txt+0−0

File renamed without changes.

Documentation/virt/kvm/devices/vm.txtrenamed from Documentation/virtual/kvm/devices/vm.txt+0−0

File renamed without changes.

Documentation/virt/kvm/devices/xics.txtrenamed from Documentation/virtual/kvm/devices/xics.txt+0−0

File renamed without changes.

Documentation/virt/kvm/devices/xive.txtrenamed from Documentation/virtual/kvm/devices/xive.txt+0−0

File renamed without changes.

Documentation/virt/kvm/halt-polling.txtrenamed from Documentation/virtual/kvm/halt-polling.txt+0−0

File renamed without changes.

Documentation/virt/kvm/hypercalls.txtrenamed from Documentation/virtual/kvm/hypercalls.txt+2−2
@@ -18,7 +18,7 @@ S390: · 17 unmodified lines
18 number in R1.18 number in R1.
19 19
20 For further information on the S390 diagnose call as supported by KVM,20 For further information on the S390 diagnose call as supported by KVM,
21 refer to Documentation/virtual/kvm/s390-diag.txt.21 refer to Documentation/virt/kvm/s390-diag.txt.
22 22
23 PowerPC:23 PowerPC:
24 It uses R3-R10 and hypercall number in R11. R4-R11 are used as output registers.24 It uses R3-R10 and hypercall number in R11. R4-R11 are used as output registers.
@@ -26,7 +26,7 @@ S390: · 1 unmodified line
26 26
27 KVM hypercalls uses 4 byte opcode, that are patched with 'hypercall-instructions'27 KVM hypercalls uses 4 byte opcode, that are patched with 'hypercall-instructions'
28 property inside the device tree's /hypervisor node.28 property inside the device tree's /hypervisor node.
29 For more information refer to Documentation/virtual/kvm/ppc-pv.txt29 For more information refer to Documentation/virt/kvm/ppc-pv.txt
30 30
31MIPS:31MIPS:
32 KVM hypercalls use the HYPCALL instruction with code 0 and the hypercall32 KVM hypercalls use the HYPCALL instruction with code 0 and the hypercall
Documentation/virt/kvm/index.rstrenamed from Documentation/virtual/kvm/index.rst+0−0

File renamed without changes.

Documentation/virt/kvm/locking.txtrenamed from Documentation/virtual/kvm/locking.txt+0−0

File renamed without changes.

Documentation/virt/kvm/mmu.txtrenamed from Documentation/virtual/kvm/mmu.txt+1−1
@@ -298,7 +298,7 @@ Handling a page fault is performed as follows: · 297 unmodified lines
298 vcpu->arch.mmio_gfn, and call the emulator298 vcpu->arch.mmio_gfn, and call the emulator
299 - If both P bit and R/W bit of error code are set, this could possibly299 - If both P bit and R/W bit of error code are set, this could possibly
300 be handled as a "fast page fault" (fixed without taking the MMU lock). See300 be handled as a "fast page fault" (fixed without taking the MMU lock). See
301 the description in Documentation/virtual/kvm/locking.txt.301 the description in Documentation/virt/kvm/locking.txt.
302 - if needed, walk the guest page tables to determine the guest translation302 - if needed, walk the guest page tables to determine the guest translation
303 (gva->gpa or ngpa->gpa)303 (gva->gpa or ngpa->gpa)
304 - if permissions are insufficient, reflect the fault back to the guest304 - if permissions are insufficient, reflect the fault back to the guest
Documentation/virt/kvm/msr.txtrenamed from Documentation/virtual/kvm/msr.txt+0−0

File renamed without changes.

Documentation/virt/kvm/nested-vmx.txtrenamed from Documentation/virtual/kvm/nested-vmx.txt+0−0

File renamed without changes.

Documentation/virt/kvm/ppc-pv.txtrenamed from Documentation/virtual/kvm/ppc-pv.txt+0−0

File renamed without changes.

Documentation/virt/kvm/review-checklist.txtrenamed from Documentation/virtual/kvm/review-checklist.txt+1−1
@@ -7,7 +7,7 @@ Review checklist for kvm patches · 6 unmodified lines
72. Patches should be against kvm.git master branch.72. Patches should be against kvm.git master branch.
8 8
93. If the patch introduces or modifies a new userspace API:93. If the patch introduces or modifies a new userspace API:
10 - the API must be documented in Documentation/virtual/kvm/api.txt10 - the API must be documented in Documentation/virt/kvm/api.txt
11 - the API must be discoverable using KVM_CHECK_EXTENSION11 - the API must be discoverable using KVM_CHECK_EXTENSION
12 12
134. New state must include support for save/restore.134. New state must include support for save/restore.
Documentation/virt/kvm/s390-diag.txtrenamed from Documentation/virtual/kvm/s390-diag.txt+0−0

File renamed without changes.

Documentation/virt/kvm/timekeeping.txtrenamed from Documentation/virtual/kvm/timekeeping.txt+0−0

File renamed without changes.

Documentation/virt/kvm/vcpu-requests.rstrenamed from Documentation/virtual/kvm/vcpu-requests.rst+0−0

File renamed without changes.

Documentation/virt/paravirt_ops.rstrenamed from Documentation/virtual/paravirt_ops.rst+0−0

File renamed without changes.

Documentation/virt/uml/UserModeLinux-HOWTO.txtrenamed from Documentation/virtual/uml/UserModeLinux-HOWTO.txt+0−0

File renamed without changes.

MAINTAINERS+3−3
@@ -8727,7 +8727,7 @@ L: kvm@vger.kernel.org · 8726 unmodified lines
8727W: http://www.linux-kvm.org8727W: http://www.linux-kvm.org
8728T: git git://git.kernel.org/pub/scm/virt/kvm/kvm.git8728T: git git://git.kernel.org/pub/scm/virt/kvm/kvm.git
8729S: Supported8729S: Supported
8730F: Documentation/virtual/kvm/8730F: Documentation/virt/kvm/
8731F: include/trace/events/kvm.h8731F: include/trace/events/kvm.h
8732F: include/uapi/asm-generic/kvm*8732F: include/uapi/asm-generic/kvm*
8733F: include/uapi/linux/kvm*8733F: include/uapi/linux/kvm*
@@ -12054,7 +12054,7 @@ M: Juergen Gross <jgross@suse.com> · 3320 unmodified lines
12054M: Alok Kataria <akataria@vmware.com>12054M: Alok Kataria <akataria@vmware.com>
12055L: virtualization@lists.linux-foundation.org12055L: virtualization@lists.linux-foundation.org
12056S: Supported12056S: Supported
12057F: Documentation/virtual/paravirt_ops.txt12057F: Documentation/virt/paravirt_ops.txt
12058F: arch/*/kernel/paravirt*12058F: arch/*/kernel/paravirt*
12059F: arch/*/include/asm/paravirt*.h12059F: arch/*/include/asm/paravirt*.h
12060F: include/linux/hypervisor.h12060F: include/linux/hypervisor.h
@@ -16745,7 +16745,7 @@ W: http://user-mode-linux.sourceforge.net · 4684 unmodified lines
16745Q: https://patchwork.ozlabs.org/project/linux-um/list/16745Q: https://patchwork.ozlabs.org/project/linux-um/list/
16746T: git git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git16746T: git git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git
16747S: Maintained16747S: Maintained
16748F: Documentation/virtual/uml/16748F: Documentation/virt/uml/
16749F: arch/um/16749F: arch/um/
16750F: arch/x86/um/16750F: arch/x86/um/
16751F: fs/hostfs/16751F: fs/hostfs/
arch/powerpc/include/uapi/asm/kvm_para.h+1−1
@@ -31,7 +31,7 @@ · 30 unmodified lines
31 * Struct fields are always 32 or 64 bit aligned, depending on them being 3231 * Struct fields are always 32 or 64 bit aligned, depending on them being 32
32 * or 64 bit wide respectively.32 * or 64 bit wide respectively.
33 *33 *
34 * See Documentation/virtual/kvm/ppc-pv.txt34 * See Documentation/virt/kvm/ppc-pv.txt
35 */35 */
36struct kvm_vcpu_arch_shared {36struct kvm_vcpu_arch_shared {
37 __u64 scratch1;37 __u64 scratch1;
arch/x86/kvm/mmu.c+1−1
@@ -3466,7 +3466,7 @@ static bool fast_page_fault(struct kvm_vcpu *vcpu, gva_t gva, int level, · 3465 unmodified lines
3466 /*3466 /*
3467 * Currently, fast page fault only works for direct mapping3467 * Currently, fast page fault only works for direct mapping
3468 * since the gfn is not stable for indirect shadow page. See3468 * since the gfn is not stable for indirect shadow page. See
3469 * Documentation/virtual/kvm/locking.txt to get more detail.3469 * Documentation/virt/kvm/locking.txt to get more detail.
3470 */3470 */
3471 fault_handled = fast_pf_fix_direct_spte(vcpu, sp,3471 fault_handled = fast_pf_fix_direct_spte(vcpu, sp,
3472 iterator.sptep, spte,3472 iterator.sptep, spte,
include/uapi/linux/kvm.h+2−2
@@ -116,7 +116,7 @@ struct kvm_irq_level { · 115 unmodified lines
116 * ACPI gsi notion of irq.116 * ACPI gsi notion of irq.
117 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47..117 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47..
118 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23..118 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23..
119 * For ARM: See Documentation/virtual/kvm/api.txt119 * For ARM: See Documentation/virt/kvm/api.txt
120 */120 */
121 union {121 union {
122 __u32 irq;122 __u32 irq;
@@ -1086,7 +1086,7 @@ struct kvm_xen_hvm_config { · 963 unmodified lines
1086 *1086 *
1087 * KVM_IRQFD_FLAG_RESAMPLE indicates resamplefd is valid and specifies1087 * KVM_IRQFD_FLAG_RESAMPLE indicates resamplefd is valid and specifies
1088 * the irqfd to operate in resampling mode for level triggered interrupt1088 * the irqfd to operate in resampling mode for level triggered interrupt
1089 * emulation. See Documentation/virtual/kvm/api.txt.1089 * emulation. See Documentation/virt/kvm/api.txt.
1090 */1090 */
1091#define KVM_IRQFD_FLAG_RESAMPLE (1 << 1)1091#define KVM_IRQFD_FLAG_RESAMPLE (1 << 1)
1092 1092
tools/include/uapi/linux/kvm.h+2−2
@@ -116,7 +116,7 @@ struct kvm_irq_level { · 115 unmodified lines
116 * ACPI gsi notion of irq.116 * ACPI gsi notion of irq.
117 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47..117 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47..
118 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23..118 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23..
119 * For ARM: See Documentation/virtual/kvm/api.txt119 * For ARM: See Documentation/virt/kvm/api.txt
120 */120 */
121 union {121 union {
122 __u32 irq;122 __u32 irq;
@@ -1085,7 +1085,7 @@ struct kvm_xen_hvm_config { · 962 unmodified lines
1085 *1085 *
1086 * KVM_IRQFD_FLAG_RESAMPLE indicates resamplefd is valid and specifies1086 * KVM_IRQFD_FLAG_RESAMPLE indicates resamplefd is valid and specifies
1087 * the irqfd to operate in resampling mode for level triggered interrupt1087 * the irqfd to operate in resampling mode for level triggered interrupt
1088 * emulation. See Documentation/virtual/kvm/api.txt.1088 * emulation. See Documentation/virt/kvm/api.txt.
1089 */1089 */
1090#define KVM_IRQFD_FLAG_RESAMPLE (1 << 1)1090#define KVM_IRQFD_FLAG_RESAMPLE (1 << 1)
1091 1091
virt/kvm/arm/arm.c+1−1
@@ -727,7 +727,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *run) · 726 unmodified lines
727 * Ensure we set mode to IN_GUEST_MODE after we disable727 * Ensure we set mode to IN_GUEST_MODE after we disable
728 * interrupts and before the final VCPU requests check.728 * interrupts and before the final VCPU requests check.
729 * See the comment in kvm_vcpu_exiting_guest_mode() and729 * See the comment in kvm_vcpu_exiting_guest_mode() and
730 * Documentation/virtual/kvm/vcpu-requests.rst730 * Documentation/virt/kvm/vcpu-requests.rst
731 */731 */
732 smp_store_mb(vcpu->mode, IN_GUEST_MODE);732 smp_store_mb(vcpu->mode, IN_GUEST_MODE);
733 733
virt/kvm/arm/vgic/vgic-mmio-v3.c+1−1
@@ -250,7 +250,7 @@ static unsigned long vgic_v3_uaccess_read_pending(struct kvm_vcpu *vcpu, · 249 unmodified lines
250 * pending state of interrupt is latched in pending_latch variable.250 * pending state of interrupt is latched in pending_latch variable.
251 * Userspace will save and restore pending state and line_level251 * Userspace will save and restore pending state and line_level
252 * separately.252 * separately.
253 * Refer to Documentation/virtual/kvm/devices/arm-vgic-v3.txt253 * Refer to Documentation/virt/kvm/devices/arm-vgic-v3.txt
254 * for handling of ISPENDR and ICPENDR.254 * for handling of ISPENDR and ICPENDR.
255 */255 */
256 for (i = 0; i < len * 8; i++) {256 for (i = 0; i < len * 8; i++) {
virt/kvm/arm/vgic/vgic.h+2−2
@@ -42,7 +42,7 @@ · 41 unmodified lines
42 VGIC_AFFINITY_LEVEL(val, 3))42 VGIC_AFFINITY_LEVEL(val, 3))
43 43
44/*44/*
45 * As per Documentation/virtual/kvm/devices/arm-vgic-v3.txt,45 * As per Documentation/virt/kvm/devices/arm-vgic-v3.txt,
46 * below macros are defined for CPUREG encoding.46 * below macros are defined for CPUREG encoding.
47 */47 */
48#define KVM_REG_ARM_VGIC_SYSREG_OP0_MASK 0x000000000000c00048#define KVM_REG_ARM_VGIC_SYSREG_OP0_MASK 0x000000000000c000
@@ -63,7 +63,7 @@ · 14 unmodified lines
63 KVM_REG_ARM_VGIC_SYSREG_OP2_MASK)63 KVM_REG_ARM_VGIC_SYSREG_OP2_MASK)
64 64
65/*65/*
66 * As per Documentation/virtual/kvm/devices/arm-vgic-its.txt,66 * As per Documentation/virt/kvm/devices/arm-vgic-its.txt,
67 * below macros are defined for ITS table entry encoding.67 * below macros are defined for ITS table entry encoding.
68 */68 */
69#define KVM_ITS_CTE_VALID_SHIFT 6369#define KVM_ITS_CTE_VALID_SHIFT 63