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.
Unified · Split
| @@ -2532,7 +2532,7 @@ · 2531 unmodified lines | |||
| 2532 | mem_encrypt=on: Activate SME | 2532 | mem_encrypt=on: Activate SME |
| 2533 | mem_encrypt=off: Do not activate SME | 2533 | mem_encrypt=off: Do not activate SME |
| 2534 | 2534 | ||
| 2535 | Refer to Documentation/virtual/kvm/amd-memory-encryption.rst | 2535 | 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: |
File renamed without changes.
File renamed without changes.
| @@ -3781,7 +3781,7 @@ encrypted VMs. · 3780 unmodified lines | |||
| 3781 | 3781 | ||
| 3782 | Currently, this ioctl is used for issuing Secure Encrypted Virtualization | 3782 | Currently, this ioctl is used for issuing Secure Encrypted Virtualization |
| 3783 | (SEV) commands on AMD Processors. The SEV commands are defined in | 3783 | (SEV) commands on AMD Processors. The SEV commands are defined in |
| 3784 | Documentation/virtual/kvm/amd-memory-encryption.rst. | 3784 | Documentation/virt/kvm/amd-memory-encryption.rst. |
| 3785 | 3785 | ||
| 3786 | 4.111 KVM_MEMORY_ENCRYPT_REG_REGION | 3786 | 4.111 KVM_MEMORY_ENCRYPT_REG_REGION |
| 3787 | 3787 | ||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
| @@ -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.txt | 29 | For more information refer to Documentation/virt/kvm/ppc-pv.txt |
| 30 | 30 | ||
| 31 | MIPS: | 31 | MIPS: |
| 32 | KVM hypercalls use the HYPCALL instruction with code 0 and the hypercall | 32 | KVM hypercalls use the HYPCALL instruction with code 0 and the hypercall |
File renamed without changes.
File renamed without changes.
| @@ -298,7 +298,7 @@ Handling a page fault is performed as follows: · 297 unmodified lines | |||
| 298 | vcpu->arch.mmio_gfn, and call the emulator | 298 | vcpu->arch.mmio_gfn, and call the emulator |
| 299 | - If both P bit and R/W bit of error code are set, this could possibly | 299 | - 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). See | 300 | 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 translation | 302 | - 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 guest | 304 | - if permissions are insufficient, reflect the fault back to the guest |
File renamed without changes.
File renamed without changes.
File renamed without changes.
| @@ -7,7 +7,7 @@ Review checklist for kvm patches · 6 unmodified lines | |||
| 7 | 2. Patches should be against kvm.git master branch. | 7 | 2. Patches should be against kvm.git master branch. |
| 8 | 8 | ||
| 9 | 3. If the patch introduces or modifies a new userspace API: | 9 | 3. If the patch introduces or modifies a new userspace API: |
| 10 | - the API must be documented in Documentation/virtual/kvm/api.txt | 10 | - the API must be documented in Documentation/virt/kvm/api.txt |
| 11 | - the API must be discoverable using KVM_CHECK_EXTENSION | 11 | - the API must be discoverable using KVM_CHECK_EXTENSION |
| 12 | 12 | ||
| 13 | 4. New state must include support for save/restore. | 13 | 4. New state must include support for save/restore. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
| @@ -8727,7 +8727,7 @@ L: kvm@vger.kernel.org · 8726 unmodified lines | |||
| 8727 | W: http://www.linux-kvm.org | 8727 | W: http://www.linux-kvm.org |
| 8728 | T: git git://git.kernel.org/pub/scm/virt/kvm/kvm.git | 8728 | T: git git://git.kernel.org/pub/scm/virt/kvm/kvm.git |
| 8729 | S: Supported | 8729 | S: Supported |
| 8730 | F: Documentation/virtual/kvm/ | 8730 | F: Documentation/virt/kvm/ |
| 8731 | F: include/trace/events/kvm.h | 8731 | F: include/trace/events/kvm.h |
| 8732 | F: include/uapi/asm-generic/kvm* | 8732 | F: include/uapi/asm-generic/kvm* |
| 8733 | F: include/uapi/linux/kvm* | 8733 | F: include/uapi/linux/kvm* |
| @@ -12054,7 +12054,7 @@ M: Juergen Gross <jgross@suse.com> · 3320 unmodified lines | |||
| 12054 | M: Alok Kataria <akataria@vmware.com> | 12054 | M: Alok Kataria <akataria@vmware.com> |
| 12055 | L: virtualization@lists.linux-foundation.org | 12055 | L: virtualization@lists.linux-foundation.org |
| 12056 | S: Supported | 12056 | S: Supported |
| 12057 | F: Documentation/virtual/paravirt_ops.txt | 12057 | F: Documentation/virt/paravirt_ops.txt |
| 12058 | F: arch/*/kernel/paravirt* | 12058 | F: arch/*/kernel/paravirt* |
| 12059 | F: arch/*/include/asm/paravirt*.h | 12059 | F: arch/*/include/asm/paravirt*.h |
| 12060 | F: include/linux/hypervisor.h | 12060 | F: include/linux/hypervisor.h |
| @@ -16745,7 +16745,7 @@ W: http://user-mode-linux.sourceforge.net · 4684 unmodified lines | |||
| 16745 | Q: https://patchwork.ozlabs.org/project/linux-um/list/ | 16745 | Q: https://patchwork.ozlabs.org/project/linux-um/list/ |
| 16746 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git | 16746 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git |
| 16747 | S: Maintained | 16747 | S: Maintained |
| 16748 | F: Documentation/virtual/uml/ | 16748 | F: Documentation/virt/uml/ |
| 16749 | F: arch/um/ | 16749 | F: arch/um/ |
| 16750 | F: arch/x86/um/ | 16750 | F: arch/x86/um/ |
| 16751 | F: fs/hostfs/ | 16751 | F: fs/hostfs/ |
| @@ -31,7 +31,7 @@ · 30 unmodified lines | |||
| 31 | * Struct fields are always 32 or 64 bit aligned, depending on them being 32 | 31 | * 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.txt | 34 | * See Documentation/virt/kvm/ppc-pv.txt |
| 35 | */ | 35 | */ |
| 36 | struct kvm_vcpu_arch_shared { | 36 | struct kvm_vcpu_arch_shared { |
| 37 | __u64 scratch1; | 37 | __u64 scratch1; |
| @@ -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 mapping | 3467 | * Currently, fast page fault only works for direct mapping |
| 3468 | * since the gfn is not stable for indirect shadow page. See | 3468 | * 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, |
| @@ -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.txt | 119 | * 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 specifies | 1087 | * KVM_IRQFD_FLAG_RESAMPLE indicates resamplefd is valid and specifies |
| 1088 | * the irqfd to operate in resampling mode for level triggered interrupt | 1088 | * 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 | ||
| @@ -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.txt | 119 | * 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 specifies | 1086 | * KVM_IRQFD_FLAG_RESAMPLE indicates resamplefd is valid and specifies |
| 1087 | * the irqfd to operate in resampling mode for level triggered interrupt | 1087 | * 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 | ||
| @@ -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 disable | 727 | * 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() and | 729 | * See the comment in kvm_vcpu_exiting_guest_mode() and |
| 730 | * Documentation/virtual/kvm/vcpu-requests.rst | 730 | * 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 | ||
| @@ -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_level | 251 | * Userspace will save and restore pending state and line_level |
| 252 | * separately. | 252 | * separately. |
| 253 | * Refer to Documentation/virtual/kvm/devices/arm-vgic-v3.txt | 253 | * 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++) { |
| @@ -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 0x000000000000c000 | 48 | #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 63 | 69 | #define KVM_ITS_CTE_VALID_SHIFT 63 |