docs: fix broken paths
Subsystems (4)
cover docs: fix broken paths
Hi, following Cleber Rosa example I cleaned more invalid references.
Eric said this can wait 2.11, however these patches don't change any code generated, I think the 2.10 users deserve an up-to-date doc :p
I used the following command (and consider include it in some CI test job):
$ git grep docs/ \
| sed -ne "s/.* \(docs[^ :)}\"\']*\).*/\1/p" \
| sed -e 's/\(.*\)\.$/\1/p' | sort -u | while read p;do
ls -ld $p 1>/dev/null
doneRegards,
Phil.
Cleber Rosa (1):
docs: fix broken paths to docs/interop dir
Philippe Mathieu-Daudé (7):
docs: fix broken paths to docs/interop/qcow2.txt
docs: fix broken paths to docs/devel/qapi-code-gen.txt
docs: fix broken paths to docs/devel/atomics.txt
docs: fix broken paths to docs/devel/tracing.txt
docs: fix broken paths to docs/config/ich9-ehci-uhci.cfg
docs: fix broken paths to docs/specs/ivshmem-spec.txt
docs: fix broken paths to docs/spin/
audio/trace-events | 2 +- block/trace-events | 2 +- chardev/trace-events | 2 +- crypto/trace-events | 2 +- docs/devel/lockcnt.txt | 2 +- docs/devel/writing-qmp-commands.txt | 4 ++-- docs/qcow2-cache.txt | 2 +- docs/specs/pci-ids.txt | 2 +- docs/spin/aio_notify.promela | 6 +++--- docs/spin/aio_notify_accept.promela | 4 ++-- docs/spin/aio_notify_bug.promela | 4 ++-- docs/spin/tcg-exclusive.promela | 2 +- docs/usb2.txt | 2 +- hw/9pfs/trace-events | 2 +- hw/acpi/trace-events | 2 +- hw/alpha/trace-events | 2 +- hw/arm/trace-events | 2 +- hw/audio/trace-events | 2 +- hw/block/dataplane/trace-events | 2 +- hw/block/trace-events | 2 +- hw/char/trace-events | 2 +- hw/display/trace-events | 2 +- hw/dma/trace-events | 2 +- hw/i386/trace-events | 2 +- hw/input/trace-events | 2 +- hw/intc/trace-events | 2 +- hw/isa/trace-events | 2 +- hw/mem/trace-events | 2 +- hw/misc/trace-events | 2 +- hw/net/trace-events | 2 +- hw/nvram/trace-events | 2 +- hw/pci/trace-events | 2 +- hw/ppc/trace-events | 2 +- hw/s390x/trace-events | 2 +- hw/scsi/trace-events | 2 +- hw/sd/trace-events | 2 +- hw/sparc/trace-events | 2 +- hw/timer/trace-events | 2 +- hw/usb/trace-events | 2 +- hw/vfio/trace-events | 2 +- hw/virtio/trace-events | 2 +- hw/xen/trace-events | 2 +- include/block/aio.h | 2 +- include/qapi/visitor.h | 2 +- include/qemu/atomic.h | 4 ++-- io/trace-events | 2 +- linux-user/trace-events | 2 +- migration/trace-events | 2 +- net/trace-events | 2 +- qapi-schema.json | 4 ++-- qapi/introspect.json | 2 +- qapi/qapi-util.c | 2 +- qom/trace-events | 2 +- scripts/qapi2texi.py | 2 +- scripts/simpletrace.py | 2 +- target/arm/trace-events | 2 +- target/i386/trace-events | 2 +- target/mips/trace-events | 2 +- target/ppc/trace-events | 2 +- target/s390x/trace-events | 2 +- target/sparc/trace-events | 2 +- tcg/README | 2 +- ui/trace-events | 2 +- util/trace-events | 2 +- 64 files changed, 71 insertions(+), 71 deletions(-)
Signature · 1 line
2.13.3
PATCH 1/8 docs: fix broken paths to docs/interop dir
From: Cleber Rosa <[email protected]>
With the move of some docs to docs/interop on d59157e, a couple of references where not updated.
--- docs/devel/writing-qmp-commands.txt | 2 +- qapi-schema.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
docs/devel/writing-qmp-commands.txt +1 -1
@@ -8,7 +8,7 @@ into the QAPI framework implementation. For an in-depth introduction to the QAPI framework, please refer to docs/qapi-code-gen.txt. For documentation about the QMP protocol, -start with docs/qmp-intro.txt. +start with docs/interop/qmp-intro.txt. == Overview ==
qapi-schema.json +2 -2
@@ -23,7 +23,7 @@ # | -> data issued by the Client # | <- Server data response # -# Please, refer to the QMP specification (docs/qmp-spec.txt) for +# Please, refer to the QMP specification (docs/interop/qmp-spec.txt) for # detailed information on the Server command and response formats. # # = Stability Considerations
@@ -108,7 +108,7 @@ # # Notes: This command is valid exactly when first connecting: it must be # issued before any other command will be accepted, and will fail once the -# monitor is accepting other commands. (see qemu docs/qmp-spec.txt) +# monitor is accepting other commands. (see qemu docs/interop/qmp-spec.txt) # # Since: 0.13 #
Signature · 1 line
2.13.3
PATCH 2/8 docs: fix broken paths to docs/interop/qcow2.txt
In reply to Philippe Mathieu-Daudé--- docs/qcow2-cache.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
docs/qcow2-cache.txt +1 -1
@@ -15,7 +15,7 @@ not a straightforward operation. This document attempts to give an overview of the L2 and refcount caches, and how to configure them. -Please refer to the docs/specs/qcow2.txt file for an in-depth +Please refer to the docs/interop/qcow2.txt file for an in-depth technical description of the qcow2 file format.
Signature · 1 line
2.13.3
Re: [Qemu-devel] [PATCH for 2.10 2/8] docs: fix broken paths to docs/interop/qcow2.txt
Am 28.07.2017 um 03:25 hat Philippe Mathieu-Daudé geschrieben:
Quoted 1 line
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Re: [Qemu-devel] [PATCH for 2.10 2/8] docs: fix broken paths to docs/interop/qcow2.txt
In reply to Philippe Mathieu-DaudéQuoted 1 line · Philippe Mathieu-Daudé
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
The commit message in 1/8 was a lot nicer, in referring to which commit broke the linkage.
(When backporting patches, a very common thing to do is 'git log' and then grep for the commit id being backported - if any other commits refer to the same id, then it's probably a good idea to consider backporting those other commits as well. But it only works when there is a good chain of 'patch B fixes patch A' in commit messages)
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
PATCH 3/8 docs: fix broken paths to docs/devel/qapi-code-gen.txt
In reply to Philippe Mathieu-Daudé--- docs/devel/writing-qmp-commands.txt | 2 +- include/qapi/visitor.h | 2 +- qapi/introspect.json | 2 +- qapi/qapi-util.c | 2 +- scripts/qapi2texi.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
docs/devel/writing-qmp-commands.txt +1 -1
@@ -7,7 +7,7 @@ This document doesn't discuss QMP protocol level details, nor does it dive into the QAPI framework implementation. For an in-depth introduction to the QAPI framework, please refer to -docs/qapi-code-gen.txt. For documentation about the QMP protocol, +docs/devel/qapi-code-gen.txt. For documentation about the QMP protocol, start with docs/interop/qmp-intro.txt. == Overview ==
include/qapi/visitor.h +1 -1
@@ -36,7 +36,7 @@* QemuOpts, and clone visitors have some implementation limitations; * see the documentation for each visitor for more details on what it * supports. Also, see visitor-impl.h for the callback contracts -* implemented by each visitor, and docs/qapi-code-gen.txt for more +* implemented by each visitor, and docs/devel/qapi-code-gen.txt for more * about the QAPI code generator. * * All of the visitors are created via:
qapi/introspect.json +1 -1
@@ -226,7 +226,7 @@ # # @members: the alternate type's members, in no particular order. # The members' wire encoding is distinct, see -# docs/qapi-code-gen.txt section Alternate types. +# docs/devel/qapi-code-gen.txt section Alternate types. # # On the wire, this can be any of the members. #
qapi/qapi-util.c +1 -1
@@ -40,7 +40,7 @@ int qapi_enum_parse(const char * const lookup[], const char *buf,* It may be prefixed by __RFQDN_ (downstream extension), where RFQDN * may contain only letters, digits, hyphen and period. * The special exception for enumeration names is not implemented. -* See docs/qapi-code-gen.txt for more on QAPI naming rules. +* See docs/devel/qapi-code-gen.txt for more on QAPI naming rules. * Keep this consistent with scripts/qapi.py! * If @complete, the parse fails unless it consumes @str completely. * Return its length on success, -1 on failure.
scripts/qapi2texi.py +1 -1
@@ -91,7 +91,7 @@ def texi_format(doc): # doesn't. # # Make sure to update section "Documentation markup" in - # docs/qapi-code-gen.txt when fixing this. + # docs/devel/qapi-code-gen.txt when fixing this. if line.startswith('| '): line = EXAMPLE_FMT(code=line[2:]) elif line.startswith('= '):
Signature · 1 line
2.13.3
PATCH 4/8 docs: fix broken paths to docs/devel/atomics.txt
In reply to Philippe Mathieu-Daudé--- docs/devel/lockcnt.txt | 2 +- include/qemu/atomic.h | 4 ++-- tcg/README | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
docs/devel/lockcnt.txt +1 -1
@@ -145,7 +145,7 @@ can also be more efficient in two ways: - on some platforms, one can implement QemuLockCnt to hold the lock and the mutex in a single word, making the fast path no more expensive than simply managing a counter using atomic operations (see - docs/atomics.txt). This can be very helpful if concurrent access to + docs/devel/atomics.txt). This can be very helpful if concurrent access to the data structure is expected to be rare.
include/qemu/atomic.h +2 -2
@@ -8,7 +8,7 @@* This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * -* See docs/atomics.txt for discussion about the guarantees each +* See docs/devel/atomics.txt for discussion about the guarantees each * atomic primitive is meant to provide. */
@@ -427,7 +427,7 @@* sequentially consistent operations. * * As long as they are used as paired operations they are safe to -* use. See docs/atomic.txt for more discussion. +* use. See docs/devel/atomics.txt for more discussion. */ #ifndef atomic_mb_read
tcg/README +1 -1
@@ -446,7 +446,7 @@ when MTTCG is enabled. The guest translators should generate this opcode for all guest instructions which have ordering side effects. -Please see docs/atomics.txt for more information on memory barriers. +Please see docs/devel/atomics.txt for more information on memory barriers. ********* 64-bit guest on 32-bit host support
Signature · 1 line
2.13.3
PATCH 5/8 docs: fix broken paths to docs/devel/tracing.txt
In reply to Philippe Mathieu-Daudé--- audio/trace-events | 2 +- block/trace-events | 2 +- chardev/trace-events | 2 +- crypto/trace-events | 2 +- hw/9pfs/trace-events | 2 +- hw/acpi/trace-events | 2 +- hw/alpha/trace-events | 2 +- hw/arm/trace-events | 2 +- hw/audio/trace-events | 2 +- hw/block/dataplane/trace-events | 2 +- hw/block/trace-events | 2 +- hw/char/trace-events | 2 +- hw/display/trace-events | 2 +- hw/dma/trace-events | 2 +- hw/i386/trace-events | 2 +- hw/input/trace-events | 2 +- hw/intc/trace-events | 2 +- hw/isa/trace-events | 2 +- hw/mem/trace-events | 2 +- hw/misc/trace-events | 2 +- hw/net/trace-events | 2 +- hw/nvram/trace-events | 2 +- hw/pci/trace-events | 2 +- hw/ppc/trace-events | 2 +- hw/s390x/trace-events | 2 +- hw/scsi/trace-events | 2 +- hw/sd/trace-events | 2 +- hw/sparc/trace-events | 2 +- hw/timer/trace-events | 2 +- hw/usb/trace-events | 2 +- hw/vfio/trace-events | 2 +- hw/virtio/trace-events | 2 +- hw/xen/trace-events | 2 +- io/trace-events | 2 +- linux-user/trace-events | 2 +- migration/trace-events | 2 +- net/trace-events | 2 +- qom/trace-events | 2 +- scripts/simpletrace.py | 2 +- target/arm/trace-events | 2 +- target/i386/trace-events | 2 +- target/mips/trace-events | 2 +- target/ppc/trace-events | 2 +- target/s390x/trace-events | 2 +- target/sparc/trace-events | 2 +- ui/trace-events | 2 +- util/trace-events | 2 +- 47 files changed, 47 insertions(+), 47 deletions(-)
audio/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # audio/alsaaudio.c alsa_revents(int revents) "revents = %d"
block/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # block.c bdrv_open_common(void *bs, const char *filename, int flags, const char *format_name) "bs %p filename \"%s\" flags %#x format_name \"%s\""
chardev/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # chardev/wctablet.c wct_init(void) ""
crypto/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # crypto/tlscreds.c qcrypto_tls_creds_load_dh(void *creds, const char *filename) "TLS creds load DH creds=%p filename=%s"
hw/9pfs/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/9pfs/virtio-9p.c v9fs_rerror(uint16_t tag, uint8_t id, int err) "tag %d id %d err %d"
hw/acpi/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/acpi/memory_hotplug.c mhp_acpi_invalid_slot_selected(uint32_t slot) "0x%"PRIx32
hw/alpha/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/alpha/pci.c alpha_pci_iack_write(void) ""
hw/arm/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/arm/virt-acpi-build.c virt_acpi_setup(void) "No fw cfg or ACPI disabled. Bailing out."
hw/audio/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/audio/cs4231.c cs4231_mem_readl_dreg(uint32_t reg, uint32_t ret) "read dreg %d: 0x%02x"
hw/block/dataplane/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/block/dataplane/virtio-blk.c virtio_blk_data_plane_start(void *s) "dataplane %p"
hw/block/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/block/virtio-blk.c virtio_blk_req_complete(void *vdev, void *req, int status) "vdev %p req %p status %d"
hw/char/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/char/virtio-serial-bus.c virtio_serial_send_control_event(unsigned int port, uint16_t event, uint16_t value) "port %u, event %u, value %u"
hw/display/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/display/jazz_led.c jazz_led_read(uint64_t addr, uint8_t val) "read addr=0x%"PRIx64": 0x%x"
hw/dma/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/dma/rc4030.c jazzio_read(uint64_t addr, uint32_t ret) "read reg[0x%"PRIx64"] = 0x%x"
hw/i386/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/i386/x86-iommu.c x86_iommu_iec_notify(bool global, uint32_t index, uint32_t mask) "Notify IEC invalidation: global=%d index=%" PRIu32 " mask=%" PRIu32
hw/input/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/input/ps2.c ps2_put_keycode(void *opaque, int keycode) "%p keycode %d"
hw/intc/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/intc/apic_common.c cpu_set_apic_base(uint64_t val) "%016"PRIx64
hw/isa/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/isa/pc87312.c pc87312_io_read(uint32_t addr, uint32_t val) "read addr=%x val=%x"
hw/mem/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/trace-events.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/mem/pc-dimm.c mhp_pc_dimm_assigned_slot(int slot) "%d"
hw/misc/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/misc/eccmemctl.c ecc_mem_writel_mer(uint32_t val) "Write memory enable %08x"
hw/net/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/net/lance.c lance_mem_readw(uint64_t addr, uint32_t ret) "addr=%"PRIx64"val=0x%04x"
hw/nvram/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/nvram/ds1225y.c nvram_read(uint32_t addr, uint32_t ret) "read addr %d: 0x%02x"
hw/pci/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/pci/pci.c pci_update_mappings_del(void *d, uint32_t bus, uint32_t slot, uint32_t func, int bar, uint64_t addr, uint64_t size) "d=%p %02x:%02x.%x %d,%#"PRIx64"+%#"PRIx64
hw/ppc/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/ppc/spapr_pci.c spapr_pci_msi(const char *msg, uint32_t ca) "%s (cfg=%x)"
hw/s390x/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/s390x/css.c css_enable_facility(const char *facility) "CSS: enable %s"
hw/scsi/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/scsi/scsi-bus.c scsi_req_alloc(int target, int lun, int tag) "target %d lun %d tag %d"
hw/sd/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/sd/milkymist-memcard.c milkymist_memcard_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
hw/sparc/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/sparc/sun4m.c sun4m_cpu_interrupt(unsigned int level) "Set CPU IRQ %d"
hw/timer/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/timer/slavio_timer.c slavio_timer_get_out(uint64_t limit, uint32_t counthigh, uint32_t count) "limit %"PRIx64" count %x%08x"
hw/usb/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/usb/core.c usb_packet_state_change(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s -> %s"
hw/vfio/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/vfio/pci.c vfio_intx_interrupt(const char *name, char line) " (%s) Pin %c"
hw/virtio/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # hw/virtio/virtio.c virtqueue_alloc_element(void *elem, size_t sz, unsigned in_num, unsigned out_num) "elem %p size %zd in_num %u out_num %u"
hw/xen/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # include/hw/xen/xen_common.h xen_default_ioreq_server(void) ""
io/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # io/task.c qio_task_new(void *task, void *source, void *func, void *opaque) "Task new task=%p source=%p func=%p opaque=%p"
linux-user/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # linux-user/signal.c user_setup_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64
migration/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # migration/savevm.c qemu_loadvm_state_section(unsigned int section_type) "%d"
net/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # net/vhost-user.c vhost_user_event(const char *chr, int event) "chr: %s got event: %d"
qom/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # qom/object.c object_dynamic_cast_assert(const char *type, const char *target, const char *file, int line, const char *func) "%s->%s (%s:%d:%s)"
scripts/simpletrace.py +1 -1
@@ -7,7 +7,7 @@ # This work is licensed under the terms of the GNU GPL, version 2. See # the COPYING file in the top-level directory. # -# For help see docs/tracing.txt +# For help see docs/devel/tracing.txt import struct import re
target/arm/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # target/arm/helper.c arm_gt_recalc(int timer, int irqstate, uint64_t nexttick) "gt recalc: timer %d irqstate %d next tick %" PRIx64
target/i386/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # target/i386/kvm.c kvm_x86_fixup_msi_error(uint32_t gsi) "VT-d failed to remap interrupt for GSI %" PRIu32
target/mips/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # target/mips/translate.c mips_translate_c0(const char *instr, const char *rn, int reg, int sel) "%s %s (reg %d sel %d)"
target/ppc/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # target/ppc/kvm.c kvm_failed_spr_set(int str, const char *msg) "Warning: Unable to set SPR %d to KVM: %s"
target/s390x/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # target/s390x/mmu_helper.c get_skeys_nonzero(int rc) "SKEY: Call to get_skeys unexpectedly returned %d"
target/sparc/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # target/sparc/mmu_helper.c mmu_helper_dfault(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DFAULT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d"
ui/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # ui/console.c console_gfx_new(void) ""
util/trace-events +1 -1
@@ -1,4 +1,4 @@ -# See docs/tracing.txt for syntax documentation. +# See docs/devel/tracing.txt for syntax documentation. # util/aio-posix.c run_poll_handlers_begin(void *ctx, int64_t max_ns) "ctx %p max_ns %"PRId64
Signature · 1 line
2.13.3
Re: [Qemu-devel] [PATCH for 2.10 5/8] docs: fix broken paths to docs/devel/tracing.txt
Quoted 42 lines · Philippe Mathieu-Daudé
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- audio/trace-events | 2 +- block/trace-events | 2 +- chardev/trace-events | 2 +- crypto/trace-events | 2 +- hw/9pfs/trace-events | 2 +- hw/acpi/trace-events | 2 +- hw/alpha/trace-events | 2 +- hw/arm/trace-events | 2 +- hw/audio/trace-events | 2 +- hw/block/dataplane/trace-events | 2 +- hw/block/trace-events | 2 +- hw/char/trace-events | 2 +- hw/display/trace-events | 2 +- hw/dma/trace-events | 2 +- hw/i386/trace-events | 2 +- hw/input/trace-events | 2 +- hw/intc/trace-events | 2 +- hw/isa/trace-events | 2 +- hw/mem/trace-events | 2 +- hw/misc/trace-events | 2 +- hw/net/trace-events | 2 +- hw/nvram/trace-events | 2 +- hw/pci/trace-events | 2 +- hw/ppc/trace-events | 2 +- hw/s390x/trace-events | 2 +- hw/scsi/trace-events | 2 +- hw/sd/trace-events | 2 +- hw/sparc/trace-events | 2 +- hw/timer/trace-events | 2 +- hw/usb/trace-events | 2 +- hw/vfio/trace-events | 2 +- hw/virtio/trace-events | 2 +- hw/xen/trace-events | 2 +- io/trace-events | 2 +- linux-user/trace-events | 2 +- migration/trace-events | 2 +- net/trace-events | 2 +- qom/trace-events | 2 +- scripts/simpletrace.py | 2 +- target/arm/trace-events | 2 +-
Quoted 8 lines
target/i386/trace-events | 2 +- target/mips/trace-events | 2 +- target/ppc/trace-events | 2 +- target/s390x/trace-events | 2 +- target/sparc/trace-events | 2 +- ui/trace-events | 2 +- util/trace-events | 2 +- 47 files changed, 47 insertions(+), 47 deletions(-)
Thank you!
301 Moved Permanently :)
PATCH 6/8 docs: fix broken paths to docs/config/ich9-ehci-uhci.cfg
In reply to Philippe Mathieu-Daudé--- docs/usb2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
docs/usb2.txt +1 -1
@@ -50,7 +50,7 @@ companion controllers with two ports each. There is a config file in docs which will do all this for you, just try ... - qemu -readconfig docs/ich9-ehci-uhci.cfg + qemu -readconfig docs/config/ich9-ehci-uhci.cfg ... then use "bus=ehci.0" to assign your usb devices to that bus.
Signature · 1 line
2.13.3
PATCH 7/8 docs: fix broken paths to docs/specs/ivshmem-spec.txt
In reply to Philippe Mathieu-Daudé--- docs/specs/pci-ids.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
docs/specs/pci-ids.txt +1 -1
@@ -40,7 +40,7 @@ maintained as part of the virtio specification. 1af4:1100 Used as PCI Subsystem ID for existing hardware devices emulated by qemu. -1af4:1110 ivshmem device (shared memory, docs/specs/ivshmem_device_spec.txt) +1af4:1110 ivshmem device (shared memory, docs/specs/ivshmem-spec.txt) All other device IDs are reserved.
Signature · 1 line
2.13.3
PATCH 8/8 docs: fix broken paths to docs/spin/
In reply to Philippe Mathieu-Daudé--- docs/spin/aio_notify.promela | 6 +++--- docs/spin/aio_notify_accept.promela | 4 ++-- docs/spin/aio_notify_bug.promela | 4 ++-- docs/spin/tcg-exclusive.promela | 2 +- include/block/aio.h | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-)
docs/spin/aio_notify.promela +3 -3
@@ -8,15 +8,15 @@ * the WTFPL will do. * * To simulate it: - * spin -p docs/aio_notify.promela + * spin -p docs/spin/aio_notify.promela * * To verify it: - * spin -a docs/aio_notify.promela + * spin -a docs/spin/aio_notify.promela * gcc -O2 pan.c * ./a.out -a * * To verify it (with a bug planted in the model): - * spin -a -DBUG docs/aio_notify.promela + * spin -a -DBUG docs/spin/aio_notify.promela * gcc -O2 pan.c * ./a.out -a */
docs/spin/aio_notify_accept.promela +2 -2
@@ -8,13 +8,13 @@ * the WTFPL will do. * * To verify the buggy version: - * spin -a -DBUG1 docs/aio_notify_bug.promela + * spin -a -DBUG1 docs/spin/aio_notify_bug.promela * gcc -O2 pan.c * ./a.out -a -f * (or -DBUG2) * * To verify the fixed version: - * spin -a docs/aio_notify_bug.promela + * spin -a docs/spin/aio_notify_bug.promela * gcc -O2 pan.c * ./a.out -a -f *
docs/spin/aio_notify_bug.promela +2 -2
@@ -8,12 +8,12 @@ * the WTFPL will do. * * To verify the buggy version: - * spin -a -DBUG docs/aio_notify_bug.promela + * spin -a -DBUG docs/spin/aio_notify_bug.promela * gcc -O2 pan.c * ./a.out -a -f * * To verify the fixed version: - * spin -a docs/aio_notify_bug.promela + * spin -a docs/spin/aio_notify_bug.promela * gcc -O2 pan.c * ./a.out -a -f *
docs/spin/tcg-exclusive.promela +1 -1
@@ -9,7 +9,7 @@ * the WTFPL will do. * * To verify it: - * spin -a docs/tcg-exclusive.promela + * spin -a docs/spin/tcg-exclusive.promela * gcc pan.c -O2 * ./a.out -a *
include/block/aio.h +1 -1
@@ -104,7 +104,7 @@ struct AioContext {* * Note that event_notifier_set *cannot* be optimized the same way. For * more information on the problem that would result, see "#ifdef BUG2" -* in the docs/aio_notify_accept.promela formal model. +* in the docs/spin/aio_notify_accept.promela formal model. */ bool notified;EventNotifier notifier;
Signature · 1 line
2.13.3
Quoted 4 lines · Philippe Mathieu-Daudé
Hi, following Cleber Rosa example I cleaned more invalid references.
Eric said this can wait 2.11, however these patches don't change any code generated, I think the 2.10 users deserve an up-to-date doc :p
Well if someone is looking at that doc he'll rapidly end up cloning the repository... so this can wait 2.11 :)
Michael Tokarev
AppliedQuoted 4 lines · Philippe Mathieu-Daudé
Hi, following Cleber Rosa example I cleaned more invalid references.
Eric said this can wait 2.11, however these patches don't change any code generated, I think the 2.10 users deserve an up-to-date doc :p
Applied all to -trivial, thanks!
/mjt
Quoted 2 lines · Philippe Mathieu-Daudé
Eric said this can wait 2.11, however these patches don't change any code generated, I think the 2.10 users deserve an up-to-date doc :p
I agree, especially because this is a 2.10 regression.
Paolo
Quoted 4 lines · Philippe Mathieu-Daudé
Hi, following Cleber Rosa example I cleaned more invalid references.
Eric said this can wait 2.11, however these patches don't change any code generated, I think the 2.10 users deserve an up-to-date doc :p
I think what I said was: this doesn't change code and doc updates are find during freeze, so this is a GOOD candidate for 2.10; but if it misses 2.10, slipping to 2.11 doesn't hurt. (If I didn't say that, it's what I should have done). But you caught on to my intention, even if in the process it sounds like I was asking you to wait.
Quoted 7 lines
I used the following command (and consider include it in some CI test job):
$ git grep docs/ \ | sed -ne "s/.* \(docs[^ :)}\"\']*\).*/\1/p" \ | sed -e 's/\(.*\)\.$/\1/p' | sort -u | while read p;do ls -ld $p 1>/dev/null
Wait. What? 'ls -ld' with stdout sent to /dev/null? (I never cease to be amazed at the random shell constructs that people come up with). I guess you are just trying to check for file existence, by going off of the stderr droppings from ls? 'ls -d' is less effort than 'ls -ld'; and if all you care about is stderr messages, spawning one ls per filename is much slower than just doing it wholesale via xargs to minimize ls calls:
git grep ... | sort -u | xargs ls -d >/dev/null
But then again, efficiency in generating the list of problems isn't a bottleneck.
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org