mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 17:23:25 -05:00
docs: kvm: fix build warnings
Fix some small build warnings. The title underline was too short in some
cases and a code block was not indented.
Documentation/virt/kvm/api.rst:7216: WARNING: Title underline too short.
Fixes: 6dba940352
("KVM: x86: Introduce KVM_GET_SREGS2 / KVM_SET_SREGS2")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20210722100356.635078-3-ciorneiioana@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
5b42d0bfb7
commit
8b9671643d
1 changed files with 14 additions and 14 deletions
|
@ -5077,7 +5077,7 @@ of bytes successfully copied is returned. If the call completes successfully
|
||||||
then ``length`` is returned.
|
then ``length`` is returned.
|
||||||
|
|
||||||
4.131 KVM_GET_SREGS2
|
4.131 KVM_GET_SREGS2
|
||||||
------------------
|
--------------------
|
||||||
|
|
||||||
:Capability: KVM_CAP_SREGS2
|
:Capability: KVM_CAP_SREGS2
|
||||||
:Architectures: x86
|
:Architectures: x86
|
||||||
|
@ -5090,17 +5090,17 @@ This ioctl (when supported) replaces the KVM_GET_SREGS.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
struct kvm_sregs2 {
|
struct kvm_sregs2 {
|
||||||
/* out (KVM_GET_SREGS2) / in (KVM_SET_SREGS2) */
|
/* out (KVM_GET_SREGS2) / in (KVM_SET_SREGS2) */
|
||||||
struct kvm_segment cs, ds, es, fs, gs, ss;
|
struct kvm_segment cs, ds, es, fs, gs, ss;
|
||||||
struct kvm_segment tr, ldt;
|
struct kvm_segment tr, ldt;
|
||||||
struct kvm_dtable gdt, idt;
|
struct kvm_dtable gdt, idt;
|
||||||
__u64 cr0, cr2, cr3, cr4, cr8;
|
__u64 cr0, cr2, cr3, cr4, cr8;
|
||||||
__u64 efer;
|
__u64 efer;
|
||||||
__u64 apic_base;
|
__u64 apic_base;
|
||||||
__u64 flags;
|
__u64 flags;
|
||||||
__u64 pdptrs[4];
|
__u64 pdptrs[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
flags values for ``kvm_sregs2``:
|
flags values for ``kvm_sregs2``:
|
||||||
|
|
||||||
|
@ -5110,7 +5110,7 @@ flags values for ``kvm_sregs2``:
|
||||||
|
|
||||||
|
|
||||||
4.132 KVM_SET_SREGS2
|
4.132 KVM_SET_SREGS2
|
||||||
------------------
|
--------------------
|
||||||
|
|
||||||
:Capability: KVM_CAP_SREGS2
|
:Capability: KVM_CAP_SREGS2
|
||||||
:Architectures: x86
|
:Architectures: x86
|
||||||
|
@ -7213,7 +7213,7 @@ supported in the host. A VMM can check whether the service is
|
||||||
available to the guest on migration.
|
available to the guest on migration.
|
||||||
|
|
||||||
8.33 KVM_CAP_HYPERV_ENFORCE_CPUID
|
8.33 KVM_CAP_HYPERV_ENFORCE_CPUID
|
||||||
-----------------------------
|
---------------------------------
|
||||||
|
|
||||||
Architectures: x86
|
Architectures: x86
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue