Browse Source

treewide: fix paths for relocated files in comments

After the docs directory restructuring, several comments
refer to paths that no longer exist.

Replace these references to the current file locations
so readers can find the correct files.

Related commits
---------------

  189c099f75 (Jul 2021)
    docs: collect the disparate device emulation docs into one section
    Rename  docs/system/{ => devices}/nvme.rst

  5f4c96b779 (Feb 2023)
    docs/system/loongarch: update loongson3.rst and rename it to virt.rst
    Rename  docs/system/loongarch/{loongson3.rst => virt.rst}

  fe0007f3c1 (Sep 2023)
    exec: Rename cpu.c -> cpu-target.c
    Rename  cpus-common.c => cpu-common.c

  42fa9665e5 (Apr 2025)
    exec: Restrict 'cpu_ldst.h' to accel/tcg/
    Rename  include/{exec/cpu_ldst.h => accel/tcg/cpu-ldst.h}

Signed-off-by: Sean Wei <me@sean.taipei>
Message-ID: <20250616.qemu.relocated.06@sean.taipei>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pull/292/head
Sean Wei 1 year ago
committed by Thomas Huth
parent
commit
c95b08106b
  1. 4
      docs/spin/tcg-exclusive.promela
  2. 2
      hw/nvme/ctrl.c
  3. 2
      target/arm/cpu.c
  4. 2
      target/loongarch/README

4
docs/spin/tcg-exclusive.promela

@ -1,6 +1,6 @@
/*
* This model describes the implementation of exclusive sections in
* cpus-common.c (start_exclusive, end_exclusive, cpu_exec_start,
* cpu-common.c (start_exclusive, end_exclusive, cpu_exec_start,
* cpu_exec_end).
*
* Author: Paolo Bonzini <pbonzini@redhat.com>
@ -65,7 +65,7 @@
}
#define COND_BROADCAST(c) c++
// this is the logic from cpus-common.c
// this is the logic from cpu-common.c
mutex_t mutex;
cond_t exclusive_cond;

2
hw/nvme/ctrl.c

@ -22,7 +22,7 @@
*
* Usage
* -----
* See docs/system/nvme.rst for extensive documentation.
* See docs/system/devices/nvme.rst for extensive documentation.
*
* Add options:
* -drive file=<file>,if=none,id=<drive_id>

2
target/arm/cpu.c

@ -2644,7 +2644,7 @@ static const char *arm_gdb_get_core_xml_file(CPUState *cs)
* linux syscall TIF_TAGGED_ADDR setting, not TBI in general.
*
* There should be a better place to put this, but we need this in
* include/exec/cpu_ldst.h, and not some place linux-user specific.
* include/accel/tcg/cpu-ldst.h, and not some place linux-user specific.
*
* Note that arm-*-user will never set tagged_addr_enable.
*/

2
target/loongarch/README

@ -11,7 +11,7 @@
- System emulation
You can reference docs/system/loongarch/loongson3.rst to get the information about system emulation of LoongArch.
You can reference docs/system/loongarch/virt.rst to get the information about system emulation of LoongArch.
- Linux-user emulation

Loading…
Cancel
Save