/qemu/tests/multiboot/ |
H A D | aout_kludge.out | 22 qemu-system-x86_64: invalid load_addr address 27 qemu-system-x86_64: invalid load_end_addr address 32 qemu-system-x86_64: invalid header_addr address 37 qemu-system-x86_64: invalid bss_end_addr address 42 qemu-system-x86_64: kernel does not fit in address space
|
/qemu/.gitlab-ci.d/ |
H A D | buildtest.yml | 2 - 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/scripts/ |
H A D | qemu-trace-stap | 2 # -*- python -*- 6 # QEMU SystemTap Trace Tool 31 return re.sub("-", ".", filename) + ".log" 76 script = """probe begin { print("Running script, <Ctrl>-c to quit\\n") } """ + script 79 # can be easily overflowed by frequently firing QEMU traces 80 stapargs = [stap, "-s", "8", "-I", tapsets ] 82 stapargs.extend(["-x", args.pid]) 83 stapargs.extend(["-e", script]) 101 proc = subprocess.Popen([stap, "-I", tapsets, "-l", script], 121 parser = argparse.ArgumentParser(description="QEMU SystemTap trace tool") [all …]
|
H A D | compare-machine-types.py | 11 # property via qmp command (e.g. query-cpu-model-expansion for x86_64-cpu). 39 from qemu.machine import QEMUMachine 42 print("Try export PYTHONPATH=top-qemu-dir/python or run from top-qemu-dir") 46 default_qemu_args = '-enable-kvm -machine none' 47 default_qemu_binary = 'build/qemu-system-x86_64' 58 # 'x86_64-cpu', method of 'x86_64-cpu' will be used for '486-x86_64-cpu') 61 def __init__(self, vm: QEMUMachine, name: str, abstract: bool) -> None: 68 def get_prop(self, driver: str, prop: str) -> str: 74 def is_child_of(self, parent: 'Driver') -> bool: 84 def set_implementations(self, implementations: List['Driver']) -> None: [all …]
|
H A D | cpu-x86-uarch-abi.py | 3 # SPDX-License-Identifier: GPL-2.0-or-later 5 # A script to generate a CSV file showing the x86_64 ABI 9 from qemu.qmp.legacy import QEMUMonitorProtocol 13 print("syntax: %s QMP-SOCK\n\n" % __file__ + 14 "Where QMP-SOCK points to a QEMU process such as\n\n" + 15 " # qemu-system-x86_64 -qmp unix:/tmp/qmp,server,nowait " + 16 "-display none -accel kvm", file=sys.stderr) 21 [ # x86-64 baseline 31 [ # x86-64-v2 33 "lahf-lm", [all …]
|
/qemu/docs/system/ |
H A D | cpu-hotplug.rst | 5 A complete example of vCPU hotplug (and hot-unplug) using QMP 9 ------------ 11 (1) Launch QEMU as follows (note that the "maxcpus" is mandatory to 14 $ qemu-system-x86_64 -display none -no-user-config -m 2048 \ 15 -nodefaults -monitor stdio -machine pc,accel=kvm,usb=off \ 16 -smp 1,maxcpus=2 -cpu IvyBridge-IBRS \ 17 -qmp unix:/tmp/qmp-sock,server=on,wait=off 19 (2) Run 'qmp-shell' (located in the source tree, under: "scripts/qmp/) 20 to connect to the just-launched QEMU:: 22 $> ./qmp-shell -p -v /tmp/qmp-sock [all …]
|
H A D | pr-manager.rst | 9 the operating system restricts sending these commands to unprivileged 13 For this reason, QEMU's SCSI passthrough devices, ``scsi-block`` 14 and ``scsi-generic`` (both are only available on Linux) can delegate 18 manager object; other commands are processed by QEMU as usual. 20 ----------------------------------------- 22 ----------------------------------------- 25 "pr-manager" QOM class. 27 Right now only one subclass is defined, ``pr-manager-helper``, which 30 reservation commands to devices for which QEMU has a file descriptor, 31 so that QEMU will not be able to effect persistent reservations [all …]
|
H A D | device-url-syntax.rst.inc | 3 devices, QEMU can also use networked resources such as iSCSI devices. 7 iSCSI support allows QEMU to access iSCSI resources directly and use 12 "iscsi://<target-ip>[:<port>]/<target-iqn>/<lun>" 14 By default qemu will use the iSCSI initiator-name 15 'iqn.2008-11.org.linux-kvm[:<name>]' but this can also be set from 18 Since version QEMU 2.4 it is possible to specify a iSCSI request 26 .. parsed-literal:: 28 |qemu_system| -iscsi initiator-name=iqn.2001-04.com.example:my-initiator \\ 29 -cdrom iscsi://192.0.2.1/iqn.2001-04.com.example/2 \\ 30 -drive file=iscsi://192.0.2.1/iqn.2001-04.com.example/1 [all …]
|
/qemu/.gitlab/issue_templates/ |
H A D | bug.md | 1 <!-- 2 This is the upstream QEMU issue tracker. 5 to reproduce the problem with the latest qemu.git master built from 6 source. See https://www.qemu.org/download/#source for instructions on 9 QEMU generally supports the last two releases advertised on 10 https://www.qemu.org/. Problems with distro-packaged versions of QEMU 13 See https://www.qemu.org/contribute/report-a-bug/ for additional 17 https://www.qemu.org/contribute/security-process/ 18 --> 21 - Operating system: <!-- Windows 10 21H1, Fedora 37, etc. --> [all …]
|
/qemu/ |
H A D | .patchew.yml | 1 --- 81 Patchew URL: https://patchew.org/QEMU/{{ obj.message_id }}/ 91 {% elif test == "docker-mingw@fedora" or test == "docker-quick@centos8" or test == "asan" %} 115 --- 117 Please send your feedback to patchew-devel@redhat.com 126 time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1 127 docker-quick@centos8: 129 requirements: docker,x86_64 133 time make docker-test-quick@centos8 SHOW_ENV=1 J=14 NETWORK=1 140 git rev-parse base > /dev/null || exit 0 [all …]
|
H A D | configure | 3 # qemu configure script (c) 2003 Fabrice Bellard 14 source_path=$(cd "$(dirname -- "$0")"; pwd) 16 if test "$PWD" -ef "$source_path" 20 MARKER=build/auto-created-by-configure 22 if test -e build 24 if test -f $MARKER 26 rm -rf build 36 echo "your source directory, or try doing an out-of-tree build." 41 # This file is auto-generated by configure to support in-source tree 46 @$(MAKE) -C build -f Makefile $(MAKECMDGOALS) [all …]
|
/qemu/docs/devel/testing/ |
H A D | qgraph.rst | 7 take care of booting QEMU with the right machine and devices. 11 For example, the sdhci device is supported on both x86_64 and ARM boards, 23 booting the right QEMU machine, pick the right device, build the command line 29 so the sdhci-test should only care of linking its qgraph node with 34 --------------- 45 - **QNODE_MACHINE**: for example ``arm/raspi2b`` 46 - **QNODE_DRIVER**: for example ``generic-sdhci`` 47 - **QNODE_INTERFACE**: for example ``sdhci`` (interface for all ``-sdhci`` 54 - **QNODE_TEST**: for example ``sdhci-test``. A test consumes an interface 59 - QNODE_MACHINE: each machine struct must have a ``QGuestAllocator`` and [all …]
|
/qemu/docs/interop/ |
H A D | firmware.json | 1 # -*- Mode: Python -*- 11 # later. See the COPYING file in the top-level directory. 18 'member-name-exceptions': [ 19 'FirmwareArchitecture' # x86_64 25 # Lists the firmware-OS interface types provided by various firmware 26 # that is commonly used with QEMU virtual machines. 32 # 1275-1994 standard. Examples for firmware projects that 35 # @uboot: Firmware interface defined by the U-Boot project. 68 # Enumeration of architectures for which Qemu uses additional 71 # @aarch64: 64-bit Arm. [all …]
|
/qemu/docs/ |
H A D | defs.rst.inc | 7 used inside a parsed-literal block: the definition must not include 12 .. |qemu_system| replace:: qemu-system-x86_64 13 .. |qemu_system_x86| replace:: qemu-system-x86_64
|
/qemu/tcg/tci/ |
H A D | README | 1 TCG Interpreter (TCI) - Copyright (c) 2011 Stefan Weil. 9 targets supported by QEMU) to a code representation which 12 QEMU can create native code for some hosts (arm, i386, ia64, ppc, ppc64, 13 s390, sparc, x86_64). For others, unofficial host support was written. 24 tcg-target.c.inc, tcg-target.h. Both files are in directory tcg/tci. 30 to six arguments packed into a 32-bit integer. See comments in tci.c 37 configure --enable-tcg-interpreter 39 If configure is called without --enable-tcg-interpreter, it will 46 configure --enable-tcg-interpreter 48 The only difference from running QEMU with TCI to running without TCI [all …]
|
/qemu/docs/devel/ |
H A D | build-environment.rst | 2 .. _setup-build-env: 7 QEMU uses a lot of dependencies on the host system. glib2 is used everywhere in 13 You can find additional instructions on `QEMU wiki <https://wiki.qemu.org/>`_: 15 - `Linux <https://wiki.qemu.org/Hosts/Linux>`_ 16 - `MacOS <https://wiki.qemu.org/Hosts/Mac>`_ 17 - `Windows <https://wiki.qemu.org/Hosts/W32>`_ 18 - `BSD <https://wiki.qemu.org/Hosts/BSD>`_ 21 miss out on deps that have been newly introduced in qemu.git. In more, it misses 25 ----- 32 sudo dnf update && sudo dnf builddep qemu [all …]
|
H A D | uefi-vars.rst | 8 The traditional approach for UEFI Variable storage in qemu guests is 17 by the firmware. On x86 this has been implemented using System 18 Management Mode (SMM) in qemu and kvm, which again is the same 36 The ``uefi-vars`` device implements the UEFI virtual device. It comes 37 in ``uefi-vars-x86`` and ``uefi-vars-sysbus`` flavours. The device 52 because we have to reimplement some edk2 functionality in qemu. 54 usage on x86_64 55 --------------- 59 qemu-system-x86_64 \ 60 -device uefi-vars-x86,jsonfile=/path/to/vars.json [all …]
|
/qemu/docs/system/devices/ |
H A D | can.rst | 6 can be connected to host system CAN API (at this time only Linux 22 open-source/design/hardware solution. The core designer 31 to work on CAN hardware emulation on QEMU. 34 ---------------------------------------------------------- 35 When QEMU with CAN PCI support is compiled then one of the next 38 (1) CAN bus Kvaser PCI CAN-S (single SJA1000 channel) board. QEMU startup options:: 40 -object can-bus,id=canbus0 41 -device kvaser_pci,canbus=canbus0 43 Add "can-host-socketcan" object to connect device to host system CAN bus:: 45 -object can-host-socketcan,id=canhost0,if=can0,canbus=canbus0 [all …]
|
H A D | igb.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 5 --- 7 igb is a family of Intel's gigabit ethernet controllers. In QEMU, 82576 10 This implementation is expected to be useful to test SR-IOV networking without 20 .. code-block:: shell 22 network.sh -6mta 26 with a different operating system other than DPDK, Linux, and Windows or if you 35 However, you may also need to perform additional steps to activate SR-IOV 46 in QEMU is very minimal, run some application which is likely to be affected by 47 the change to confirm it works in an integrated system. [all …]
|
H A D | cxl.rst | 6 software running on a QEMU emulated host or to the internals of 19 in how the devices are emulated in QEMU. In most cases the various 26 - Configuration space access 27 - BAR mapped memory accesses used for registers and mailboxes. 28 - MSI/MSI-X 29 - AER 30 - DOE mailboxes 31 - IDE 32 - Many other PCI express defined interfaces.. 36 - Equivalent of accessing DRAM / NVDIMMs. Any access / feature [all …]
|
/qemu/tests/docker/dockerfiles/ |
H A D | debian-amd64-cross.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all --cross-arch x86_64 debian-12 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 7 FROM docker.io/library/debian:12-slim 10 apt-get update && \ 11 apt-get install -y eatmydata && \ 12 eatmydata apt-get dist-upgrade -y && \ 13 eatmydata apt-get install --no-install-recommends -y \ 20 ca-certificates \ 25 exuberant-ctags \ [all …]
|
/qemu/docs/devel/migration/ |
H A D | compatibility.rst | 5 --------------------------------- 7 When we do migration, we have two QEMU processes: the source and the 15 - QEMU version 16 - machine type version 20 - qemu-system-x86_64 (v5.2), from now on qemu-5.2. 21 - qemu-system-x86_64 (v5.1), from now on qemu-5.1. 26 - pc-q35-5.2 (newer one in qemu-5.2) from now on pc-5.2 27 - pc-q35-5.1 (newer one in qemu-5.1) from now on pc-5.1 30 machine type in both source and destination. The QEMU hardware 37 start with the trivial ones, QEMU is the same on source and [all …]
|
/qemu/docs/system/i386/ |
H A D | microvm.rst | 8 designed for short-lived guests. microvm also establishes a baseline 9 for benchmarking and optimizing both QEMU and guest operating systems, 14 ----------------- 18 - ISA bus 19 - i8259 PIC (optional) 20 - i8254 PIT (optional) 21 - MC146818 RTC (optional) 22 - One ISA serial port (optional) 23 - LAPIC 24 - IOAPIC (with kernel-irqchip=split by default) [all …]
|
/qemu/tests/qtest/ |
H A D | device-plug-test.c | 2 * QEMU device plug/unplug handling 10 * See the COPYING file in the top-level directory. 13 #include "qemu/osdep.h" 48 * be processed. However during system reset, the removal will be in process_device_remove() 62 if (!qtest_has_device("virtio-mouse-pci")) { in test_pci_unplug_request() 63 g_test_skip("Device virtio-mouse-pci not available"); in test_pci_unplug_request() 67 if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { in test_pci_unplug_request() 68 machine_addition = "-machine pc"; in test_pci_unplug_request() 71 qtest = qtest_initf("%s -device virtio-mouse-pci,id=dev0", in test_pci_unplug_request() 83 if (!qtest_has_device("virtio-mouse-pci")) { in test_q35_pci_unplug_request() [all …]
|
/qemu/tests/data/acpi/ |
H A D | rebuild-expected-aml.sh | 4 # Rebuild expected AML files for acpi unit-test 13 # See the COPYING.LIB file in the top-level directory. 15 qemu_arches="x86_64 aarch64 riscv64" 17 if [ ! -e "tests/qtest/bios-tables-test" ]; then 18 echo "Test: bios-tables-test is required! Run make check before this script." 23 if grep TARGET_DIRS= config-host.mak; then 25 if grep TARGET_DIRS= config-host.mak | grep "$arch"-softmmu; 27 qemu_bins="$qemu_bins ./qemu-system-$arch" 31 echo "config-host.mak missing!" 36 if [ -z "$qemu_bins" ]; then [all …]
|