Home
last modified time | relevance | path

Searched +full:- +full:- +full:enable +full:- +full:debug (Results 1 – 25 of 159) sorted by relevance

1234567

/qemu/scripts/
H A Dmeson-buildoptions.sh1 # 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 …]
H A Dmeson-buildoptions.py28 # Options with nonstandard names (e.g. --with/--without) or OS-dependent
40 "coroutine_backend": "with-coroutine",
41 "debug": "debug-info",
42 "malloc": "enable-malloc",
43 "pkgversion": "with-pkgversion",
45 "qemu_suffix": "with-suffix",
46 "trace_backends": "enable-trace-backends",
47 "trace_file": "with-trace-file",
58 # via -D, because it's a mix of CFLAGS and --extra-cflags); for specific
59 # cases "../configure -D" can be used as an escape hatch.
[all …]
/qemu/tests/vm/
H A DMakefile.include9 VM_VENV = check-venv
12 .PHONY: vm-build-all vm-clean-all
14 EFI_AARCH64 = $(wildcard $(BUILD_DIR)/pc-bios/edk2-aarch64-code.fd)
24 HOST_ARCH = $(shell uname -m)
31 IMAGES_DIR := $(HOME)/.cache/qemu-vm/images
37 HAVE_PYTHON_YAML = $(shell $(PYTHON) -c "import yaml" 2> /dev/null && echo yes)
40 # 'vm-help' target was historically named 'vm-test'
41 vm-help vm-test:
42 @echo "vm-help: Test QEMU in preconfigured virtual machines"
44 @echo " vm-build-freebsd - Build QEMU in FreeBSD VM"
[all …]
H A Dbasevm.py4 # Copyright 2017-2019 Red Hat Inc.
11 # the COPYING file in the top-level directory.
62 'block' : "-drive file={},if=none,id=drive0,cache=writeback "\
63 "-device virtio-blk,drive=drive0,bootindex=0",
64 'scsi' : "-device virtio-scsi-device,id=scsi "\
65 "-drive file={},format=raw,if=none,id=hd0 "\
66 "-device scsi-hd,drive=hd0,bootindex=0",
87 # enable IPv6 networking
111 self._tmpdir = os.path.realpath(tempfile.mkdtemp(prefix="vm-test-",
129 self.debug = args.debug
[all …]
/qemu/.gitlab-ci.d/
H A Dbuildtest.yml2 - local: '/.gitlab-ci.d/buildtest-template.yml'
4 build-system-alpine:
6 - .native_build_job_template
7 - .native_build_artifact_template
9 - job: amd64-alpine-container
12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu
13 MAKE_CHECK_ARGS: check-build
14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog
16 check-system-alpine:
19 - job: build-system-alpine
[all …]
/qemu/tests/docker/
H A Dtest-debug1 #!/bin/bash -e
3 # Compile and check with clang & debug & sanitizers
5 # Copyright (c) 2016-2018 Red Hat Inc.
9 # Marc-André Lureau <marcandre.lureau@redhat.com>
13 # the top-level directory.
21 OPTS="--cxx=clang++ --cc=clang --host-cc=clang"
22 OPTS="--enable-debug --enable-asan --enable-ubsan $OPTS"
/qemu/docs/devel/migration/
H A Dqpl-compression.rst4 The Intel Query Processing Library (Intel ``QPL``) is an open-source library to
8 The ``QPL`` compression relies on Intel In-Memory Analytics Accelerator(``IAA``)
21 +----------------+ +------------------+
22 | MultiFD Thread | |accel-config tool |
23 +-------+--------+ +--------+---------+
27 +-------+--------+ | Setup IAA
29 +-------+---+----+ |
31 | +-------------+-------+
33 | Devices +-----+-----+
35 | +-----+-----+
[all …]
/qemu/scripts/kvm/
H A Dkvm_flightrecorder3 # KVM Flight Recorder - ring buffer tracing script
9 # This script provides a command-line interface to kvm ftrace and is designed
10 # to be used as a flight recorder that is always running. To start in-memory
13 # sudo kvm_flightrecorder start 8192 # 8 MB per-cpu ring buffers
15 # The per-cpu ring buffer size can be given in KB as an optional argument to
33 # fixed-size in-memory trace.
38 tracing_dir = '/sys/kernel/debug/tracing'
46 def enable_event(subsystem, event, enable): argument
47 write_file(trace_path('events', subsystem, event, 'enable'), '1' if enable else '0')
49 def enable_subsystem(subsystem, enable): argument
[all …]
H A Dvmxcap5 # Copyright 2009-2010 Red Hat, Inc.
11 # the COPYING file in the top-level directory.
74 print(' %-40s %s' % (self.bits[bit], s))
76 # All 64 bits in the tertiary controls MSR are allowed-1
105 v = (value >> lo) & ((1 << (hi - lo + 1)) - 1)
106 print(' %-40s %s' % (self.bits[bits], fmt(v)))
115 49: 'Dual-monitor support',
125 name = 'pin-based controls',
130 6: 'Activate VMX-preemption timer',
138 name = 'primary processor-based controls',
[all …]
/qemu/rust/hw/char/pl011/src/
H A Dregisters.rs3 // SPDX-License-Identifier: GPL-2.0-or-later
19 #[derive(Debug, Eq, PartialEq, qemu_api_macros::TryInto)]
40 /// `IrDA` Low-Power Counter Register
94 /// read for RX. It is a 12-bit register, where bits 7..0 are the
107 // bilge is not very const-friendly, unfortunately
142 fn default() -> Self { in default()
151 /// This has the usual inbound RS232 modem-control signals, plus flags
185 fn default() -> Self { in default()
201 /// PEN: Parity enable
207 /// FEN: Enable FIFOs
[all …]
/qemu/include/hw/
H A Dregister.h8 * the COPYING file in the top-level directory.
14 #include "hw/qdev-core.h"
28 * @ro: whether or not the bit is read-only
71 * @debug: Whether or not verbose debug is enabled
72 * @prefix: String prefix for log and debug messages
90 #define TYPE_REGISTER "qemu-register"
111 bool debug; member
119 * @we: write enable mask
121 * @debug: Should the write operation debug information be printed?
125 const char *prefix, bool debug);
[all …]
/qemu/hw/core/
H A Dregister.c25 g_assert(reg->data); in register_write_val()
27 switch (reg->data_size) { in register_write_val()
29 *(uint8_t *)reg->data = val; in register_write_val()
32 *(uint16_t *)reg->data = val; in register_write_val()
35 *(uint32_t *)reg->data = val; in register_write_val()
38 *(uint64_t *)reg->data = val; in register_write_val()
47 switch (reg->data_size) { in register_read_val()
49 return *(uint8_t *)reg->data; in register_read_val()
51 return *(uint16_t *)reg->data; in register_read_val()
53 return *(uint32_t *)reg->data; in register_read_val()
[all …]
/qemu/.gitlab-ci.d/custom-runners/
H A Dubuntu-22.04-s390x.yml1 # All ubuntu-22.04 jobs should run successfully in an environment
2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task
5 ubuntu-22.04-s390x-all-linux:
10 - ubuntu_22.04
11 - s390x
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: "$S390X_RUNNER_AVAILABLE"
16 - mkdir build
17 - cd build
18 - ../configure --enable-debug --disable-system --disable-tools --disable-docs
[all …]
H A Dubuntu-22.04-aarch64.yml1 # All ubuntu-22.04 jobs should run successfully in an environment
2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task
5 ubuntu-22.04-aarch64-all-linux-static:
10 - ubuntu_22.04
11 - aarch64
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: "$AARCH64_RUNNER_AVAILABLE"
16 - mkdir build
17 - cd build
18 # Disable -static-pie due to build error with system libc:
[all …]
/qemu/hw/dma/
H A Dbcm2835_dma.c5 * See the COPYING file in the top-level directory.
42 /* the current control block appears in the following registers - read only */
52 #define BCM2708_DMA_ENABLE 0xff0 /* Global enable bits for each channel */
58 BCM2835DMAChan *ch = &s->chan[c]; in bcm2835_dma_update()
62 if (!(s->enable & (1 << c))) { in bcm2835_dma_update()
66 while ((s->enable & (1 << c)) && (ch->conblk_ad != 0)) { in bcm2835_dma_update()
68 ch->ti = ldl_le_phys(&s->dma_as, ch->conblk_ad); in bcm2835_dma_update()
69 ch->source_ad = ldl_le_phys(&s->dma_as, ch->conblk_ad + 4); in bcm2835_dma_update()
70 ch->dest_ad = ldl_le_phys(&s->dma_as, ch->conblk_ad + 8); in bcm2835_dma_update()
71 ch->txfr_len = ldl_le_phys(&s->dma_as, ch->conblk_ad + 12); in bcm2835_dma_update()
[all …]
/qemu/tests/qemu-iotests/tests/
H A Dmigrate-bitmaps-postcopy-test6 # Copyright (c) 2016-2017 Virtuozzo International GmbH. All rights reserved.
26 debug = False variable
64 return event_seconds(e2) - event_seconds(e1)
68 result = vm.qmp('query-block')
73 assert 'dirty-bitmaps' not in info
75 assert len(info['dirty-bitmaps']) == count
80 if debug:
104 qemu_img('create', '-f', iotests.imgfmt, disk_a, size)
105 qemu_img('create', '-f', iotests.imgfmt, disk_b, size)
114 # collect received events for debug
[all …]
/qemu/docs/devel/
H A Dcontrol-flow-integrity.rst4 Control-Flow Integrity (CFI)
7 This document describes the current control-flow integrity (CFI) mechanism in
12 ------
16 The type used in QEMU is a forward-edge control-flow integrity that ensures
21 This type of CFI is entirely compiler-based and relies on the compiler knowing
28 In case of a CFI violation (i.e. call to a non-compatible function) QEMU will
32 -----------------
34 NOTE: CFI requires the use of link-time optimization. Therefore, when CFI is
38 are planning to also enable fuzzing, then Clang 11+ is needed (more on this
44 AR=llvm-ar-9 CC=clang-9 CXX=clang++-9 /path/to/configure --enable-cfi
[all …]
H A Dtracing.rst16 Enable tracing of ``memory_region_ops_read`` and ``memory_region_ops_write``
19 $ qemu --trace "memory_region_ops_*" ...
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 ...
41 Sub-directory setup
42 -------------------
45 "trace-events" file. All directories which contain "trace-events" files must be
[all …]
/qemu/target/arm/
H A Dhyp_gdbstub.c4 * Copyright Mian-M. Hamayun 2013, Virtual Open Systems
8 * See the COPYING file in the top-level directory.
26 * simple un-linked breakpoints (i.e. we don't chain breakpoints
31 * DBGBCR<n>_EL1, Debug Breakpoint Control Registers
34 * +------+------+-------+-----+----+------+-----+------+-----+---+
36 * +------+------+-------+-----+----+------+-----+------+-----+---+
40 * SSC/HMC/PMC: Security, Higher and Priv access control (Table D-12)
42 * E: Enable bit
44 * DBGBVR<n>_EL1, Debug Breakpoint Value Registers
47 * +------+-----------+----------+-----+
[all …]
/qemu/include/hw/misc/
H A Daspeed_scu.h9 * the COPYING file in the top-level directory.
19 #define TYPE_ASPEED_2400_SCU TYPE_ASPEED_SCU "-ast2400"
20 #define TYPE_ASPEED_2500_SCU TYPE_ASPEED_SCU "-ast2500"
21 #define TYPE_ASPEED_2600_SCU TYPE_ASPEED_SCU "-ast2600"
22 #define TYPE_ASPEED_2700_SCU TYPE_ASPEED_SCU "-ast2700"
23 #define TYPE_ASPEED_2700_SCUIO TYPE_ASPEED_SCU "io" "-ast2700"
24 #define TYPE_ASPEED_1030_SCU TYPE_ASPEED_SCU "-ast1030"
86 * arch/arm/mach-aspeed/include/mach/regs-scu.h
88 * Copyright (C) 2012-2020 ASPEED Technology Inc.
101 * 31 Enable Video Engine clock dynamic slow down
[all …]
/qemu/include/hw/sd/
H A Dallwinner-sdhost.h33 #define TYPE_AW_SDHOST "allwinner-sdhost"
36 #define TYPE_AW_SDHOST_SUN4I TYPE_AW_SDHOST "-sun4i"
39 #define TYPE_AW_SDHOST_SUN5I TYPE_AW_SDHOST "-sun5i"
41 /** Allwinner sun50i-a64 */
42 #define TYPE_AW_SDHOST_SUN50I_A64 TYPE_AW_SDHOST "-sun50i-a64"
44 /** Allwinner sun50i-a64 emmc */
45 #define TYPE_AW_SDHOST_SUN50I_A64_EMMC TYPE_AW_SDHOST "-sun50i-a64-emmc"
106 uint32_t debug_enable; /**< Debug Enable */
109 uint32_t newtiming_debug; /**< SD New Timing Debug */
114 uint32_t dmac_irq; /**< Internal DMA Controller IRQ Enable */
[all …]
/qemu/include/hw/watchdog/
H A Dwdt_imx2.h9 * See the COPYING file in the top-level directory.
40 #define IMX2_WDT_WCR_WDE BIT(2) /* Watchdog Enable */
41 #define IMX2_WDT_WCR_WDBG BIT(1) /* Watchdog Debug Enable */
56 #define IMX2_WDT_WICR_WIE BIT(15) /* Interrupt Enable */
64 #define IMX2_WDT_WMCR_PDE BIT(0) /* Power-Down Enable */
/qemu/scripts/codeconverter/
H A Dconverter.py10 # the COPYING file in the top-level directory.
25 DBG = logger.debug
29 def process_all_files(parser: argparse.ArgumentParser, args: argparse.Namespace) -> None:
55 parser.error("--pattern is required")
89 def main() -> None:
92 p.add_argument('--passes', type=int, default=1,
94 p.add_argument('--pattern', required=True, action='append',
97 p.add_argument('--inplace', '-i', action='store_true',
99 p.add_argument('--dry-run', action='store_true',
101 p.add_argument('--force', '-f', action='store_true',
[all …]
/qemu/contrib/ivshmem-client/
H A Divshmem-client.h6 * top-level directory.
18 * A standalone ivshmem client based on this file is provided for debug/test
41 * client in (IvshmemClient)->local.
80 bool verbose; /**< true to enable debug */
90 * @notif_arg: Opaque pointer given as-is to the notification callback
92 * @verbose: True to enable debug
/qemu/docs/system/
H A Dgdb.rst4 ---------
6 QEMU supports working with gdb via gdb's remote-connection facility
7 (the "gdbstub"). This allows you to debug guest code in the same
8 way that you might with a low-level debug facility like JTAG
13 In order to use gdb, launch QEMU with the ``-s`` and ``-S`` options.
14 The ``-s`` option will make QEMU listen for an incoming connection
15 from gdb on TCP port 1234, and ``-S`` will make QEMU not start the
18 connection, use the ``-gdb dev`` option instead of ``-s``. See
21 .. parsed-literal::
23 |qemu_system| -s -S -kernel bzImage -drive file=rootdisk.img,format=raw -append "root=/dev/sda"
[all …]

1234567