/qemu/docs/devel/ |
H A D | tracing.rst | 16 Enable tracing of ``memory_region_ops_read`` and ``memory_region_ops_write`` 19 $ qemu --trace "memory_region_ops_*" ... 24 This output comes from the "log" trace backend that is enabled by default when 25 ``./configure --enable-trace-backends=BACKENDS`` was not explicitly specified. 27 Multiple patterns can be specified by repeating the ``--trace`` option:: 29 $ qemu --trace "kvm_*" --trace "virtio_*" ... 32 file to avoid long command-line options:: 36 $ qemu --trace events=/tmp/events ... 38 Trace events 41 Sub-directory setup [all …]
|
/qemu/docs/ |
H A D | qemu-option-trace.rst.inc | 4 ``[enable=]PATTERN`` 6 Immediately enable events matching *PATTERN* 9 or ``ftrace`` tracing backend. To specify multiple events or patterns, 10 specify the :option:`-trace` option multiple times. 12 Use :option:`-trace help` to print a list of names of trace points. 16 Immediately enable events listed in *FILE*. 17 The file must contain one event name (as listed in the ``trace-events-all`` 20 ``ftrace`` tracing backend. 26 the ``simple`` tracing backend.
|
/qemu/trace/ |
H A D | control.c | 4 * Copyright (C) 2011-2016 Lluís Vilanova <vilanova@ac.upc.edu> 7 * See the COPYING file in the top-level directory. 11 #include "trace/control.h" 15 #include "trace/simple.h" 18 #include "trace/ftrace.h" 27 #include "qemu/error-report.h" 28 #include "qemu/config-file.h" 45 .name = "trace", 46 .implied_opt_name = "enable", 50 .name = "enable", [all …]
|
H A D | simple.c | 2 * Simple trace backend 7 * the COPYING file in the top-level directory. 16 #include "trace/control.h" 17 #include "trace/simple.h" 18 #include "qemu/error-report.h" 19 #include "qemu/qemu-print.h" 21 /** Trace file header event ID, picked to avoid conflict with real event IDs */ 24 /** Trace file magic number */ 27 /** Trace file version number, bump if format changes */ 31 #define DROPPED_EVENT_ID (~(uint64_t)0 - 1) [all …]
|
H A D | simple.h | 2 * Simple trace backend 7 * the COPYING file in the top-level directory. 15 bool st_set_trace_file_enabled(bool enable); 29 * Initialize a trace record and claim space for it in the buffer 36 * Append a 64-bit argument to a trace record 41 * Append a string argument to a trace record 46 * Mark a trace record completed 48 * Don't append any more arguments to the trace record after calling this.
|
H A D | control.h | 4 * Copyright (C) 2011-2016 Lluís Vilanova <vilanova@ac.upc.edu> 7 * See the COPYING file in the top-level directory. 13 #include "event-internal.h" 41 * with non-matching names. 116 * compiled-in backends. 121 * Returns: true if at least one backend has the event enabled and the event 133 * Use the define 'TRACE_${EVENT_NAME}_ENABLED' for compile-time checks (it will 154 * Pre-condition: trace_event_get_state_static(ev) == true 161 * Initialize the tracing backend. 170 * Record the name of the output file for the tracing backend. [all …]
|
/qemu/scripts/ |
H A D | meson-buildoptions.sh | 1 # This file is generated by meson-buildoptions.py, do not edit! 3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co' 6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]' 7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE' 8 printf "%s\n" ' set block driver read-only whitelist (by default' 9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE' 11 printf "%s\n" ' set block driver read-write whitelist (by default' 12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 13 printf "%s\n" ' --datadir=VALUE Data file directory [share]' [all …]
|
/qemu/ |
H A D | meson_options.txt | 1 # These options do not correspond to a --enable/--disable-* option 3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too. 9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'], 12 description: 'use specified string as sub-version of the package') 25 …description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like … 27 …description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like q… 28 option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M', 33 description: 'fuzzing engine library for OSS-Fuzz') 34 option('trace_file', type: 'string', value: 'trace', 35 description: 'Trace file prefix for simple backend') [all …]
|
H A D | qemu-options.hx | 14 "-h or -help display this help and exit\n", QEMU_ARCH_ALL) 16 ``-h`` 21 "-version display version information and exit\n", QEMU_ARCH_ALL) 23 ``-version`` 28 "-machine [type=]name[,prop[=value][,...]]\n" 29 " selects emulated machine ('-machine help' for list)\n" 33 " dump-guest-core=on|off include guest memory in a core dump (default=on)\n" 34 " mem-merge=on|off controls memory merge support (default: on)\n" 35 " aes-key-wrap=on|off controls support for AES key wrapping (default=on)\n" 36 " dea-key-wrap=on|off controls support for DEA key wrapping (default=on)\n" [all …]
|
H A D | qemu-io.c | 5 * Copyright (c) 2003-2005 Silicon Graphics, Inc. 8 * See the COPYING file in the top-level directory. 18 #include "qemu/help-texts.h" 21 #include "qemu-io.h" 22 #include "qemu/error-report.h" 23 #include "qemu/main-loop.h" 26 #include "qemu/config-file.h" 33 #include "system/block-backend.h" 35 #include "trace/control.h" 37 #include "qemu-version.h" [all …]
|
H A D | meson.build | 15 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py')) 28 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak') 35 tmpdir = meson.current_build_dir() / 'meson-private/temp' 66 have_linux_user = have_linux_user or target.endswith('linux-user') 67 have_bsd_user = have_bsd_user or target.endswith('bsd-user') 68 have_system = have_system or target.endswith('-softmmu') 113 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"') 120 message('To use Rust you can install a new version with "cargo install bindgen-cli"') 128 '--rustc-version', rustc.version(), 129 '--workspace', meson.project_source_root() / 'rust'] [all …]
|
/qemu/hw/char/ |
H A D | virtio-console.c | 10 * the COPYING file in the top-level directory. 14 #include "chardev/char-fe.h" 15 #include "qemu/error-report.h" 17 #include "trace.h" 18 #include "hw/qdev-properties.h" 19 #include "hw/qdev-properties-system.h" 20 #include "hw/virtio/virtio-serial.h" 22 #include "qapi/qapi-events-char.h" 38 * Callback function that's called from chardevs when backend becomes 46 vcon->watch = 0; in chr_write_unblocked() [all …]
|
H A D | stm32l4x5_usart.c | 4 * Copyright (c) 2023 Arnaud Minier <arnaud.minier@telecom-paris.fr> 5 * Copyright (c) 2023 Inès Varhol <ines.varhol@telecom-paris.fr> 7 * SPDX-License-Identifier: GPL-2.0-or-later 10 * See the COPYING file in the top-level directory. 15 * for STM32L4x5 and STM32L4x6 advanced Arm ® -based 32-bit MCUs. 22 #include "chardev/char-fe.h" 23 #include "chardev/char-serial.h" 28 #include "hw/qdev-clock.h" 29 #include "hw/qdev-properties.h" 30 #include "hw/qdev-properties-system.h" [all …]
|
H A D | cmsdk-apb-uart.c | 12 /* This is a model of the "APB UART" which is part of the Cortex-M 13 * System Design Kit (CMSDK) and documented in the Cortex-M System 15 * https://developer.arm.com/products/system-design/system-design-kits/cortex-m-system-design-kit 22 #include "trace.h" 26 #include "chardev/char-fe.h" 27 #include "chardev/char-serial.h" 28 #include "hw/char/cmsdk-apb-uart.h" 30 #include "hw/qdev-properties-system.h" 78 return s->bauddiv >= 16 && s->bauddiv <= s->pclk_frq; in uart_baudrate_ok() 93 ssp.speed = s->pclk_frq / s->bauddiv; in uart_update_parameters() [all …]
|
H A D | imx_serial.c | 7 * Updated by Jean-Christophe Dubois <jcd@tribudubois.net> 10 * See the COPYING file in the top-level directory. 12 * This is a `bare-bones' implementation of the IMX series serial ports. 14 * -- implement FIFOs. The real hardware has 32 word transmit 15 * and receive FIFOs; we currently use a 1-char buffer 16 * -- implement DMA 17 * -- implement BAUD-rate and modem lines, for when the backend 24 #include "hw/qdev-properties.h" 25 #include "hw/qdev-properties-system.h" 30 #include "trace.h" [all …]
|
H A D | serial.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 31 #include "chardev/char-serial.h" 36 #include "qemu/error-report.h" 37 #include "trace.h" 38 #include "hw/qdev-properties.h" 39 #include "hw/qdev-properties-system.h" 43 #define UART_IER_MSI 0x08 /* Enable Modem status interrupt */ 44 #define UART_IER_RLSI 0x04 /* Enable receiver line status interrupt */ 45 #define UART_IER_THRI 0x02 /* Enable Transmitter holding register int. */ 46 #define UART_IER_RDI 0x01 /* Enable receiver data interrupt */ [all …]
|
/qemu/storage-daemon/ |
H A D | qemu-storage-daemon.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 35 #include "monitor/monitor-internal.h" 38 #include "qapi/qapi-visit-block-core.h" 39 #include "qapi/qapi-visit-block-export.h" 40 #include "qapi/qapi-visit-control.h" 43 #include "qapi/qobject-input-visitor.h" 45 #include "qemu/help-texts.h" 46 #include "qemu-version.h" 48 #include "qemu/config-file.h" 49 #include "qemu/error-report.h" [all …]
|
/qemu/docs/about/ |
H A D | removed-features.rst | 10 -------------------------------------- 12 ``-hdachs`` (removed in 2.12) 15 The geometry defined by ``-hdachs c,h,s,t`` should now be specified via 16 ``-device ide-hd,drive=dr,cyls=c,heads=h,secs=s,bios-chs-trans=t`` 17 (together with ``-drive if=none,id=dr,...``). 19 ``-net channel`` (removed in 2.12) 22 This option has been replaced by ``-net user,guestfwd=...``. 24 ``-net dump`` (removed in 2.12) 27 ``-net dump[,vlan=n][,file=filename][,len=maxlen]`` has been replaced by 28 ``-object filter-dump,id=id,netdev=dev[,file=filename][,maxlen=maxlen]``. [all …]
|
/qemu/net/ |
H A D | vhost-user.c | 2 * vhost-user.c 7 * See the COPYING file in the top-level directory. 14 #include "net/vhost-user.h" 15 #include "hw/virtio/vhost-user.h" 16 #include "chardev/char-fe.h" 18 #include "qapi/qapi-commands-net.h" 19 #include "qapi/qapi-events-net.h" 20 #include "qemu/config-file.h" 21 #include "qemu/error-report.h" 23 #include "trace.h" [all …]
|
/qemu/hw/virtio/ |
H A D | vhost.c | 10 * the COPYING file in the top-level directory. 12 * Contributions after 2012-01-13 are licensed under the terms of the 21 #include "qemu/error-report.h" 24 #include "standard-headers/linux/vhost_types.h" 25 #include "hw/virtio/virtio-bus.h" 26 #include "hw/mem/memory-device.h" 28 #include "migration/qemu-file-types.h" 30 #include "trace.h" 32 /* enabled until disconnected backend stabilizes */ 39 strerror(-retval), -retval); \ [all …]
|
/qemu/hw/ppc/ |
H A D | spapr_irq.c | 7 * COPYING file in the top-level directory. 12 #include "qemu/error-report.h" 20 #include "hw/qdev-properties.h" 21 #include "cpu-models.h" 24 #include "trace.h" 36 if (SPAPR_MACHINE_GET_CLASS(spapr)->legacy_irq_allocation) { in spapr_irq_msi_init() 41 spapr->irq_map_nr = spapr_irq_nr_msis(spapr); in spapr_irq_msi_init() 42 spapr->irq_map = bitmap_new(spapr->irq_map_nr); in spapr_irq_msi_init() 56 align -= 1; in spapr_irq_msi_alloc() 58 irq = bitmap_find_next_zero_area(spapr->irq_map, spapr->irq_map_nr, 0, num, in spapr_irq_msi_alloc() [all …]
|
/qemu/hw/block/ |
H A D | xen-block.c | 5 * See the COPYING file in the top-level directory. 10 #include "qemu/main-loop.h" 14 #include "qapi/qapi-commands-block-core.h" 15 #include "qapi/qapi-commands-qom.h" 16 #include "qapi/qapi-visit-block-core.h" 17 #include "qapi/qobject-input-visitor.h" 23 #include "hw/qdev-properties.h" 24 #include "hw/xen/xen-block.h" 25 #include "hw/xen/xen-backend.h" 27 #include "system/block-backend.h" [all …]
|
/qemu/hw/vfio/ |
H A D | platform.c | 2 * vfio based device assignment support - platform devices 11 * the COPYING file in the top-level directory. 23 #include "hw/vfio/vfio-platform.h" 26 #include "qemu/error-report.h" 28 #include "qemu/main-loop.h" 32 #include "system/address-spaces.h" 35 #include "trace.h" 37 #include "hw/platform-bus.h" 38 #include "hw/qdev-properties.h" 40 #include "hw/vfio/vfio-region.h" [all …]
|
/qemu/system/ |
H A D | vl.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 26 #include "qemu/help-texts.h" 30 #include "qemu/target-info.h" 31 #include "exec/cpu-common.h" 32 #include "exec/page-vary.h" 33 #include "hw/qdev-properties.h" 34 #include "qapi/compat-policy.h" 39 #include "qemu-version.h" 42 #include "qemu/hw-version.h" 44 #include "qemu/target-info.h" [all …]
|
/qemu/hw/net/ |
H A D | virtio-net.c | 10 * the COPYING file in the top-level directory. 18 #include "qemu/main-loop.h" 24 #include "qemu/error-report.h" 28 #include "qemu/config-file.h" 30 #include "hw/virtio/virtio-net.h" 33 #include "hw/virtio/virtio-bus.h" 35 #include "qapi/qapi-events-net.h" 36 #include "hw/qdev-properties.h" 37 #include "qapi/qapi-types-migration.h" 38 #include "qapi/qapi-events-migration.h" [all …]
|