Skip to content

Commit 3b1c8c5

Browse files
mchehabbonzini
authored andcommitted
docs: virt: kvm: api.rst: replace some characters
The conversion tools used during DocBook/LaTeX/html/Markdown->ReST conversion and some cut-and-pasted text contain some characters that aren't easily reachable on standard keyboards and/or could cause troubles when parsed by the documentation build system. Replace the occurences of the following characters: - U+00a0 (' '): NO-BREAK SPACE as it can cause lines being truncated on PDF output Signed-off-by: Mauro Carvalho Chehab <[email protected]> Message-Id: <ff70cb42d63f3a1da66af1b21b8d038418ed5189.1626947264.git.mchehab+huawei@kernel.org> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 0e691ee commit 3b1c8c5

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Documentation/virt/kvm/api.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ in-kernel irqchip (GIC), and for in-kernel irqchip can tell the GIC to
855855
use PPIs designated for specific cpus. The irq field is interpreted
856856
like this::
857857

858-
 bits: | 31 ... 28 | 27 ... 24 | 23 ... 16 | 15 ... 0 |
858+
bits: | 31 ... 28 | 27 ... 24 | 23 ... 16 | 15 ... 0 |
859859
field: | vcpu2_index | irq_type | vcpu_index | irq_id |
860860

861861
The irq_type field has the following values:
@@ -2149,10 +2149,10 @@ prior to calling the KVM_RUN ioctl.
21492149
Errors:
21502150

21512151
====== ============================================================
2152-
 ENOENT   no such register
2153-
 EINVAL   invalid register ID, or no such register or used with VMs in
2152+
ENOENT no such register
2153+
EINVAL invalid register ID, or no such register or used with VMs in
21542154
protected virtualization mode on s390
2155-
 EPERM    (arm64) register access not allowed before vcpu finalization
2155+
EPERM (arm64) register access not allowed before vcpu finalization
21562156
====== ============================================================
21572157

21582158
(These error codes are indicative only: do not rely on a specific error
@@ -2590,10 +2590,10 @@ following id bit patterns::
25902590
Errors include:
25912591

25922592
======== ============================================================
2593-
 ENOENT   no such register
2594-
 EINVAL   invalid register ID, or no such register or used with VMs in
2593+
ENOENT no such register
2594+
EINVAL invalid register ID, or no such register or used with VMs in
25952595
protected virtualization mode on s390
2596-
 EPERM    (arm64) register access not allowed before vcpu finalization
2596+
EPERM (arm64) register access not allowed before vcpu finalization
25972597
======== ============================================================
25982598

25992599
(These error codes are indicative only: do not rely on a specific error
@@ -3112,13 +3112,13 @@ current state. "addr" is ignored.
31123112
Errors:
31133113

31143114
====== =================================================================
3115-
 EINVAL    the target is unknown, or the combination of features is invalid.
3116-
 ENOENT    a features bit specified is unknown.
3115+
EINVAL the target is unknown, or the combination of features is invalid.
3116+
ENOENT a features bit specified is unknown.
31173117
====== =================================================================
31183118

31193119
This tells KVM what type of CPU to present to the guest, and what
3120-
optional features it should have.  This will cause a reset of the cpu
3121-
registers to their initial values.  If this is not called, KVM_RUN will
3120+
optional features it should have. This will cause a reset of the cpu
3121+
registers to their initial values. If this is not called, KVM_RUN will
31223122
return ENOEXEC for that vcpu.
31233123

31243124
The initial values are defined as:
@@ -3239,8 +3239,8 @@ VCPU matching underlying host.
32393239
Errors:
32403240

32413241
===== ==============================================================
3242-
 E2BIG     the reg index list is too big to fit in the array specified by
3243-
            the user (the number required will be written into n).
3242+
E2BIG the reg index list is too big to fit in the array specified by
3243+
the user (the number required will be written into n).
32443244
===== ==============================================================
32453245

32463246
::
@@ -3288,7 +3288,7 @@ specific device.
32883288
ARM/arm64 divides the id field into two parts, a device id and an
32893289
address type id specific to the individual device::
32903290

3291-
 bits: | 63 ... 32 | 31 ... 16 | 15 ... 0 |
3291+
bits: | 63 ... 32 | 31 ... 16 | 15 ... 0 |
32923292
field: | 0x00000000 | device id | addr type id |
32933293

32943294
ARM/arm64 currently only require this when using the in-kernel GIC

0 commit comments

Comments
 (0)