/qemu/.gitlab-ci.d/ |
H A D | crossbuilds.yml | 2 - local: '/.gitlab-ci.d/crossbuild-template.yml' 4 cross-armhf-user: 7 job: armhf-debian-cross-container 9 IMAGE: debian-armhf-cross 11 cross-arm64-system: 14 job: arm64-debian-cross-container 16 IMAGE: debian-arm64-cross 18 cross-arm64-user: 21 job: arm64-debian-cross-container 23 IMAGE: debian-arm64-cross [all …]
|
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 | 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/accel/xen/ |
H A D | xen-all.c | 5 * the COPYING file in the top-level directory. 7 * Contributions after 2012-01-13 are licensed under the terms of the 12 #include "qemu/error-report.h" 15 #include "hw/xen/xen_native.h" 16 #include "hw/xen/xen-legacy-backend.h" 17 #include "hw/xen/xen_pt.h" 18 #include "hw/xen/xen_igd.h" 21 #include "system/accel-ops.h" 23 #include "system/xen.h" 39 snprintf(path, sizeof (path), "device-model/%u/state", xen_domid); in xenstore_record_dm_state() [all …]
|
/qemu/hw/xen/ |
H A D | xen_pt.c | 6 * the COPYING file in the top-level directory. 16 * Interrupt Disable policy: 22 * - Set real Interrupt Disable bit to '1'. 23 * - Set machine_irq and assigned_device->machine_irq to '0'. 28 * - Set real Interrupt Disable bit to '1'. 29 * - Unmap INTx. 30 * - Decrement xen_pt_mapped_machine_irq[machine_irq] 31 * - Set assigned_device->machine_irq to '0'. 33 * Write to Interrupt Disable bit by guest software(xen_pt_cmd_reg_write) 35 * - Set real bit to '0' if assigned_device->machine_irq isn't '0'. [all …]
|
/qemu/stubs/ |
H A D | meson.build | 5 stub_ss.add(files('cpu-get-clock.c')) 6 stub_ss.add(files('error-printf.c')) 8 stub_ss.add(files('iothread-lock.c')) 9 stub_ss.add(files('is-daemonized.c')) 10 stub_ss.add(files('monitor-core.c')) 11 stub_ss.add(files('replay-mode.c')) 12 stub_ss.add(files('trace-control.c')) 15 stub_ss.add(files('bdrv-next-monitor-owned.c')) 16 stub_ss.add(files('blk-commit-all.c')) 17 stub_ss.add(files('blk-exp-close-all.c')) [all …]
|
/qemu/hw/i386/xen/ |
H A D | xen-hvm.c | 5 * the COPYING file in the top-level directory. 7 * Contributions after 2012-01-13 are licensed under the terms of the 13 #include "qemu/error-report.h" 15 #include "qapi/qapi-commands-migration.h" 21 #include "hw/i386/apic-msidef.h" 22 #include "hw/xen/xen-x86.h" 25 #include "hw/xen/xen-hvm-common.h" 26 #include "hw/xen/arch_hvm.h" 27 #include <xen/hvm/e820.h> 31 #include "system/xen-mapcache.h" [all …]
|
/qemu/include/hw/xen/interface/hvm/ |
H A D | hvm_op.h | 1 /* SPDX-License-Identifier: MIT */ 9 #include "../xen.h" 63 /* ISA device identification, by ISA IRQ (0-15). */ 75 /* PCI link identifier (0-3). */ 77 /* ISA IRQ (1-15), or 0 (disable link). */ 97 HVMMEM_ram_ro, /* Read-only; writes are discarded */ 100 HVMMEM_mmio_write_dm, /* Read-only; writes go to the device model */ 121 uint16_t pad[3]; /* align next field on 8-byte boundary */ 128 /* Get the current Xen time, in nanoseconds since system boot. */ 144 /* Following tools-only interfaces may change in future. */ [all …]
|
H A D | params.h | 1 /* SPDX-License-Identifier: MIT */ 34 * How should CPU0 event-channel notifications be delivered? 36 * If val == 0 then CPU0 event-channel notifications are not delivered. 62 * val[15:8] is interrupt flag of the PPI used by event-channel: 65 * val[7:0] is a PPI number used by event-channel. 74 * These are not used by Xen. They are here for convenience of HVM-guest 89 …* (See http://download.microsoft.com/download/A/B/4/AB43A34E-BDD0-4FA6-BDEF-79EEF16E880B/Hyperviso… 99 * - Hypercall MSRs (HV_X64_MSR_GUEST_OS_ID and HV_X64_MSR_HYPERCALL) 100 * - APIC access MSRs (HV_X64_MSR_EOI, HV_X64_MSR_ICR and HV_X64_MSR_TPR) 101 * - Virtual Processor index MSR (HV_X64_MSR_VP_INDEX) [all …]
|
/qemu/include/standard-headers/linux/ |
H A D | virtio_ring.h | 35 #include "standard-headers/linux/types.h" 36 #include "standard-headers/linux/virtio_types.h" 40 /* This marks a buffer as write-only (otherwise read-only). */ 52 /* The Host uses this in used->flags to advise the Guest: don't kick me when 56 /* The Guest uses this in avail->flags to advise the Host: don't interrupt me 63 /* Disable events in packed ring. */ 82 * at the end of the avail ring. Host should ignore the avail->flags field. */ 84 * at the end of the used ring. Guest should ignore the used->flags field. */ 88 * When using pre-virtio 1.0 layout, these fall out naturally. 95 * struct vring_desc - Virtio ring descriptors, [all …]
|
H A D | virtio_pci.h | 5 * This can be used with QEMU based VMMs like KVM or Xen. 42 #include "standard-headers/linux/types.h" 43 #include "standard-headers/linux/kernel.h" 47 /* A 32-bit r/o bitmask of the features supported by the host */ 50 /* A 32-bit r/w bitmask of features activated by the guest */ 53 /* A 32-bit r/w PFN for the currently selected queue */ 56 /* A 16-bit r/o queue size for the currently selected queue */ 59 /* A 16-bit r/w queue selector */ 62 /* A 16-bit r/w queue notifier */ 65 /* An 8-bit device status register. */ [all …]
|
/qemu/ |
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" 31 " supported accelerators are kvm, xen, hvf, nvmm, whpx or tcg (default: tcg)\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" [all …]
|
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') 40 # Everything else can be set via --enable/--disable-* option 42 # here make sure to run "make update-buildoptions". [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 …]
|
H A D | hmp-commands.hx | 27 .help = "commit changes to the disk images (if -snapshot is used) or backing files", 33 Commit changes to the disk images (if -snapshot is used) or backing files. 70 available during the preconfig state (i.e. when the --preconfig command 122 .args_type = "force:-f,device:B", 123 .params = "[-f] device", 124 .help = "stop an active background block operation (use -f" 181 .args_type = "force:-f,device:B", 182 .params = "[-f] device", 183 .help = "eject a removable medium (use -f to force it)", 188 ``eject [-f]`` *device* [all …]
|
/qemu/qapi/ |
H A D | migration.json | 1 # -*- Mode: Python -*- 28 # @normal-bytes: number of normal bytes sent (since 1.2) 30 # @dirty-pages-rate: number of pages dirtied by second by the guest 35 # @dirty-sync-count: number of times that dirty ram was synchronized 38 # @postcopy-requests: The number of page requests received from the 41 # @page-size: The number of bytes per page for the various page-based 44 # @multifd-bytes: The number of bytes sent through multifd (since 3.0) 46 # @pages-per-second: the number of memory pages transferred per second 49 # @precopy-bytes: The number of bytes sent in the pre-copy phase 52 # @downtime-bytes: The number of bytes sent while the guest is paused [all …]
|
H A D | qom.json | 1 # -*- Mode: Python -*- 5 # See the COPYING file in the top-level directory. 8 { 'include': 'block-core.json' } 38 # @default-value: the default value, if any (since 5.0) 46 '*default-value': 'any' } } 49 # @qom-list: 54 # @path: the path within the object model. See @qom-get for a 62 # .. qmp-example:: 64 # -> { "execute": "qom-list", 66 # <- { "return": [ { "name": "type", "type": "string" }, [all …]
|
/qemu/hw/i386/ |
H A D | pc.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 29 #include "hw/char/serial-isa.h" 31 #include "hw/hyperv/hv-balloon.h" 35 #include "hw/ide/ide-bus.h" 44 #include "system/xen.h" 48 #include "hw/xen/xen.h" 50 #include "qemu/error-report.h" 52 #include "acpi-build.h" 57 #include "hw/net/ne2000-isa.h" 58 #include "hw/virtio/virtio-iommu.h" [all …]
|
H A D | microvm.c | 19 #include "qemu/error-report.h" 24 #include "qapi/qapi-visit-common.h" 30 #include "acpi-microvm.h" 31 #include "microvm-dt.h" 42 #include "hw/char/serial-isa.h" 47 #include "hw/virtio/virtio-mmio.h" 50 #include "hw/pci-host/gpex.h" 55 #include "hw/xen/start_info.h" 58 #define MICROVM_BIOS_FILENAME "bios-microvm.bin" 65 val = MIN(x86ms->below_4g_mem_size / KiB, 640); in microvm_set_rtc() [all …]
|
/qemu/docs/system/ |
H A D | introduction.rst | 7 --------------------------- 14 .. list-table:: Supported Accelerators 15 :header-rows: 1 17 * - Accelerator 18 - Host OS 19 - Host Architectures 20 * - KVM 21 - Linux 22 - Arm (64 bit only), MIPS, PPC, RISC-V, s390x, x86 23 * - Xen [all …]
|
/qemu/include/hw/xen/interface/io/ |
H A D | kbdif.h | 1 /* SPDX-License-Identifier: MIT */ 3 * kbdif.h -- Xen virtual keyboard/mouse 17 * The two halves of a para-virtual driver utilize nodes within 31 *---------------------------- Features supported ---------------------------- 37 * feature-disable-keyboard 43 * feature-disable-pointer 49 * feature-abs-pointer 55 * feature-multi-touch 58 * Backends, which support reporting of multi-touch events 61 * feature-raw-pointer [all …]
|
/qemu/docs/interop/ |
H A D | vhost-user.rst | 4 Vhost-user Protocol 11 version 2 or later. See the COPYING file in the top-level 26 The protocol defines 2 sides of the communication, *front-end* and 27 *back-end*. The *front-end* is the application that shares its virtqueues, in 28 our case QEMU. The *back-end* is the consumer of the virtqueues. 30 In the current implementation QEMU is the *front-end*, and the *back-end* 33 or a block device back-end processing read & write to a virtual 34 disk. In order to facilitate interoperability between various back-end 38 The *front-end* and *back-end* can be either a client (i.e. connecting) or 42 -------------------------------------- [all …]
|
/qemu/hw/core/ |
H A D | machine.c | 10 * See the COPYING file in the top-level directory. 19 #include "qemu/error-report.h" 21 #include "qapi/qapi-visit-machine.h" 22 #include "qapi/qapi-commands-machine.h" 29 #include "system/xen.h" 34 #include "system/confidential-guest-support.h" 35 #include "hw/virtio/virtio-pci.h" 36 #include "hw/virtio/virtio-net.h" 37 #include "hw/virtio/virtio-iommu.h" 41 { "scsi-hd", "dpofua", "off" }, [all …]
|
/qemu/scripts/coverity-scan/ |
H A D | run-coverity-scan | 1 #!/bin/sh -e 8 # See the COPYING file in the top-level directory. 10 # Copyright (c) 2017-2020 Linaro Limited 14 # run the (closed-source) coverity build tools, so don't 18 # tree, and that tree is a fresh clean one, because we do an in-tree 21 # regular expressions it uses; an out-of-tree build won't work for this.) 31 # --check-upload-only : return success if upload is possible 32 # --dry-run : run the tools, but don't actually do the upload 33 # --docker : create and work inside a container 34 # --docker-engine : specify the container engine to use (docker/podman/auto); [all …]
|
/qemu/qga/ |
H A D | qapi-schema.json | 1 # *-*- Mode: Python -*-* 8 # For locating a particular item, please see the `qapi-qga-index`. 12 # .. qmp-example:: 14 # -> ... text sent by client (commands) ... 15 # <- ... text sent by server (command responses and events) ... 21 # :doc:`QEMU Machine Protocol Specification </interop/qmp-spec>` 25 { 'pragma': { 'doc-required': true } } 31 'member-name-exceptions': [ 34 # Commands allowed to return a non-dictionary: 35 'command-returns-exceptions': [ [all …]
|