@@ -69,8 +69,8 @@ impl VmFd {
69
69
/// # Arguments
70
70
///
71
71
/// * `user_memory_region` - Guest physical memory slot. For details check the
72
- /// `kvm_userspace_memory_region` structure in the
73
- /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
72
+ /// `kvm_userspace_memory_region` structure in the
73
+ /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
74
74
///
75
75
/// # Safety
76
76
///
@@ -124,8 +124,8 @@ impl VmFd {
124
124
/// # Arguments
125
125
///
126
126
/// * `user_memory_region2` - Guest physical memory slot. For details check the
127
- /// `kvm_userspace_memory_region2` structure in the
128
- /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
127
+ /// `kvm_userspace_memory_region2` structure in the
128
+ /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
129
129
///
130
130
/// # Safety
131
131
///
@@ -378,7 +378,7 @@ impl VmFd {
378
378
/// # Arguments
379
379
///
380
380
/// * pit_config - PIT configuration. For details check the `kvm_pit_config` structure in the
381
- /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
381
+ /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
382
382
/// # Example
383
383
///
384
384
/// ```rust
@@ -550,7 +550,7 @@ impl VmFd {
550
550
/// # Arguments
551
551
///
552
552
/// * kvm_msi - MSI message configuration. For details check the `kvm_msi` structure in the
553
- /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
553
+ /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
554
554
/// # Example
555
555
///
556
556
/// In this example, the important function signal_msi() calling into
@@ -600,10 +600,10 @@ impl VmFd {
600
600
/// # Arguments
601
601
///
602
602
/// * kvm_irq_routing - IRQ routing configuration. Describe all routes
603
- /// associated with GSI entries. For details check
604
- /// the `kvm_irq_routing` and `kvm_irq_routing_entry`
605
- /// structures in the
606
- /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
603
+ /// associated with GSI entries. For details check
604
+ /// the `kvm_irq_routing` and `kvm_irq_routing_entry`
605
+ /// structures in the
606
+ /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
607
607
/// # Example
608
608
///
609
609
/// ```rust
@@ -653,11 +653,11 @@ impl VmFd {
653
653
/// # Arguments
654
654
///
655
655
/// * `fd` - `EventFd` which will be signaled. When signaling, the usual `vmexit` to userspace
656
- /// is prevented.
656
+ /// is prevented.
657
657
/// * `addr` - Address being written to.
658
658
/// * `datamatch` - Limits signaling `fd` to only the cases where the value being written is
659
- /// equal to this parameter. The size of `datamatch` is important and it must
660
- /// match the expected size of the guest's write.
659
+ /// equal to this parameter. The size of `datamatch` is important and it must
660
+ /// match the expected size of the guest's write.
661
661
///
662
662
/// # Example
663
663
///
@@ -1260,7 +1260,7 @@ impl VmFd {
1260
1260
/// # Arguments
1261
1261
///
1262
1262
/// * `device`: device configuration. For details check the `kvm_create_device` structure in the
1263
- /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
1263
+ /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
1264
1264
///
1265
1265
/// # Example
1266
1266
///
@@ -1323,8 +1323,8 @@ impl VmFd {
1323
1323
///
1324
1324
/// # Arguments
1325
1325
/// * `kvi` - CPU target configuration (out). For details check the `kvm_vcpu_init`
1326
- /// structure in the
1327
- /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
1326
+ /// structure in the
1327
+ /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
1328
1328
///
1329
1329
/// # Example
1330
1330
///
@@ -1358,8 +1358,8 @@ impl VmFd {
1358
1358
/// # Arguments
1359
1359
///
1360
1360
/// * kvm_enable_cap - KVM capability structure. For details check the `kvm_enable_cap`
1361
- /// structure in the
1362
- /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
1361
+ /// structure in the
1362
+ /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
1363
1363
///
1364
1364
/// # Example
1365
1365
///
@@ -1487,8 +1487,8 @@ impl VmFd {
1487
1487
/// # Arguments
1488
1488
///
1489
1489
/// * kvm_create_guest_memfd - KVM create guest memfd structure. For details check the
1490
- /// `kvm_create_guest_memfd` structure in the
1491
- /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
1490
+ /// `kvm_create_guest_memfd` structure in the
1491
+ /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
1492
1492
///
1493
1493
/// # Example
1494
1494
///
@@ -1539,8 +1539,8 @@ impl VmFd {
1539
1539
/// # Arguments
1540
1540
///
1541
1541
/// * kvm_memory_attributes - KVM set memory attributes structure. For details check the
1542
- /// `kvm_memory_attributes` structure in the
1543
- /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
1542
+ /// `kvm_memory_attributes` structure in the
1543
+ /// [KVM API doc](https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt).
1544
1544
///
1545
1545
/// # Example
1546
1546
///
0 commit comments