Home
last modified time | relevance | path

Searched +full:- +full:- +full:- (Results 226 – 250 of 8680) sorted by relevance

12345678910>>...348

/qemu/tests/docker/dockerfiles/
H A Demsdk-wasm32-cross.docker11 FROM emscripten/emsdk:$EMSDK_VERSION_QEMU AS build-base
17 ENV CFLAGS="-O3 -pthread -DWASM_BIGINT"
19 ENV LDFLAGS="-sWASM_BIGINT -sASYNCIFY=1 -L$TARGET/lib"
20 RUN apt-get update && apt-get install -y \
22 build-essential \
23 libglib2.0-dev \
26 ninja-build \
27 python3-pip
31 RUN mkdir -p $TARGET
45 pkgconfig = ['pkg-config', '--static']
[all …]
H A Dalpine.docker1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all alpine-321 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
12 alsa-lib-dev \
13 attr-dev \
18 bzip2-dev \
19 ca-certificates \
20 capstone-dev \
22 ceph-dev \
24 cmocka-dev \
[all …]
/qemu/.gitlab-ci.d/
H A Dbuildtest-template.yml7 - ccache
11 - source scripts/ci/gitlab-ci-section
12 - section_start setup "Pre-script setup"
13 - JOBS=$(expr $(nproc) + 1)
14 - cat /packages.txt
15 - section_end setup
17 - export CCACHE_BASEDIR="$(pwd)"
18 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
19 - export CCACHE_MAXSIZE="500M"
20 - export PATH="$CCACHE_WRAPPERSDIR:$PATH"
[all …]
/qemu/target/openrisc/
H A Ddisas.c21 #include "disas/dis-asm.h"
27 /* Include the auto-generated decoder. */
28 #include "decode-insns.c.inc"
31 (info->fprintf_func(info->stream, "%-9s " format, \
40 status = info->read_memory_func(addr, buffer, 4, info); in print_insn_or1k()
42 info->memory_error_func(status, addr, info); in print_insn_or1k()
43 return -1; in print_insn_or1k()
60 INSN(add, "r%d, r%d, r%d", a->d, a->a, a->b)
61 INSN(addc, "r%d, r%d, r%d", a->d, a->a, a->b)
62 INSN(sub, "r%d, r%d, r%d", a->d, a->a, a->b)
[all …]
/qemu/hw/net/rocker/
H A Drocker_tlv.h2 * QEMU rocker switch emulation - TLV parsing and composing
22 (((len) + ROCKER_TLV_ALIGNTO - 1) & ~(ROCKER_TLV_ALIGNTO - 1))
26 * <------- ROCKER_TLV_HDRLEN -------> <--- ROCKER_TLV_ALIGN(payload) --->
27 * +-----------------------------+- - -+- - - - - - - - - - - - - - -+- - -+
30 * +-----------------------------+- - -+- - - - - - - - - - - - - - -+- - -+
31 * <--------------------------- tlv->len -------------------------->
36 int totlen = ROCKER_TLV_ALIGN(le16_to_cpu(tlv->len)); in rocker_tlv_next()
38 *remaining -= totlen; in rocker_tlv_next()
45 le16_to_cpu(tlv->len) >= ROCKER_TLV_HDRLEN && in rocker_tlv_ok()
46 le16_to_cpu(tlv->len) <= remaining; in rocker_tlv_ok()
[all …]
/qemu/tests/qemu-iotests/
H A D0824 # Test qemu-img command line parsing
56 # Last -f should win
57 run_qemu_img create -f foo -f $IMGFMT "$TEST_IMG" $size
60 # Multiple -o should be merged
61 run_qemu_img create -f $IMGFMT -o cluster_size=4k -o lazy_refcounts=on "$TEST_IMG" $size
62 _img_info --format-specific
64 # If the same -o key is specified more than once, the last one wins
65 run_qemu_img create -f $IMGFMT -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k "$TEST_IM…
66 _img_info --format-specific
67 run_qemu_img create -f $IMGFMT -o cluster_size=4k,cluster_size=8k "$TEST_IMG" $size
[all …]
H A D24633 res = vm.qmp("query-block")
35 .get('dirty-bitmaps', []) for
41 log('--- Preparing image & VM ---\n')
42 iotests.qemu_img_create('-f', iotests.imgfmt, img_path, str(size))
46 log('--- 1st Boot (Establish Baseline Image) ---\n')
49 log('\n--- Adding bitmaps Small, Medium, Large, and Transient ---\n')
50 vm.qmp_log("block-dirty-bitmap-add", node="drive0",
52 vm.qmp_log("block-dirty-bitmap-add", node="drive0",
54 vm.qmp_log("block-dirty-bitmap-add", node="drive0",
56 vm.qmp_log("block-dirty-bitmap-add", node="drive0",
[all …]
H A D14251 if ! test -t 0; then
57 ) | $QEMU -nographic -monitor stdio -nodefaults "$@"
70 _make_test_img -b "$TEST_IMG.base" $size -F $IMGFMT
76 run_qemu -drive file="$TEST_IMG",cache=none
77 run_qemu -drive file="$TEST_IMG",cache=directsync
78 run_qemu -drive file="$TEST_IMG",cache=writeback
79 run_qemu -drive file="$TEST_IMG",cache=writethrough
80 run_qemu -drive file="$TEST_IMG",cache=unsafe
81 run_qemu -drive file="$TEST_IMG",cache=invalid_value
88 ids="node-name=image,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=f…
[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
44 AR=llvm-ar-9 CC=clang-9 CXX=clang++-9 /path/to/configure --enable-cfi
49 of a CFI violation is offered (``--enable-debug-cfi``).
[all …]
H A Dmemory.rst8 - ordinary RAM
9 - memory-mapped I/O (MMIO)
10 - memory controllers that can dynamically reroute physical memory regions
15 - tracking RAM changes by the guest
16 - setting up coalesced memory for kvm
17 - setting up ioeventfd regions for kvm
28 ----------------
33 - RAM: a RAM region is simply a range of host memory that can be made available
39 - MMIO: a range of guest memory that is implemented by host callbacks;
44 - ROM: a ROM memory region works like RAM for reads (directly accessing
[all …]
/qemu/hw/input/
H A Dvirtio-input.c4 * top-level directory.
14 #include "hw/qdev-properties.h"
15 #include "hw/virtio/virtio-input.h"
17 #include "standard-headers/linux/input.h"
21 /* ----------------------------------------------------------------- */
28 if (!vinput->active) { in virtio_input_send()
33 if (vinput->qindex == vinput->qsize) { in virtio_input_send()
34 vinput->qsize++; in virtio_input_send()
35 vinput->queue = g_realloc(vinput->queue, vinput->qsize * in virtio_input_send()
36 sizeof(vinput->queue[0])); in virtio_input_send()
[all …]
/qemu/hw/loongarch/
H A Dvirt.c1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 #include "hw/char/serial-mm.h"
22 #include "system/address-spaces.h"
31 #include "hw/pci-host/ls7a.h"
32 #include "hw/pci-host/gpex.h"
37 #include "qapi/qapi-visit-common.h"
40 #include "hw/platform-bus.h"
42 #include "hw/uefi/var-service-api.h"
43 #include "hw/mem/pc-dimm.h"
45 #include "system/block-backend.h"
[all …]
/qemu/hw/usb/
H A Ddesc.c7 /* ------------------------------------------------------------------ */
16 return -1; in usb_desc_device()
19 d->bLength = bLength; in usb_desc_device()
20 d->bDescriptorType = USB_DT_DEVICE; in usb_desc_device()
22 if (msos && dev->bcdUSB < 0x0200) { in usb_desc_device()
25 * Done this way so msos-desc compat property will handle both in usb_desc_device()
28 d->u.device.bcdUSB_lo = usb_lo(0x0200); in usb_desc_device()
29 d->u.device.bcdUSB_hi = usb_hi(0x0200); in usb_desc_device()
31 d->u.device.bcdUSB_lo = usb_lo(dev->bcdUSB); in usb_desc_device()
32 d->u.device.bcdUSB_hi = usb_hi(dev->bcdUSB); in usb_desc_device()
[all …]
/qemu/disas/
H A Dnanomips.c31 #include "disas/dis-asm.h"
68 return (data << (64 - (bit_size + bit_offset))) >> (64 - bit_size); in extract_bits()
74 uint64 shift = 63 - msb; in sign_extend()
86 info->fprintf_func(info->stream, "Invalid register mapping index %" PRIu64 in renumber_registers()
88 siglongjmp(info->buf, 1); in renumber_registers()
93 * decode_gpr_gpr4() - decoder for 'gpr4' gpr encoding type
95 * Map a 4-bit code to the 5-bit register space according to this pattern:
101 * | | | | | | | | | | | └---------------
102 * | | | | | | | | | | └---------------┐ |
103 * | | | | | | | | | └---------------┐ | |
[all …]
/qemu/include/hw/xen/interface/io/
H A Dblkif.h1 /* SPDX-License-Identifier: MIT */
5 * Unified block-device I/O interface for Xen guest OSes.
7 * Copyright (c) 2003-2004, Keir Fraser
18 * Front->back notifications: When enqueuing a new request, sending a
20 * hold-off mechanism provided by the ring macros). Backends must set
23 * Back->front notifications: When enqueuing a new response, sending a
25 * hold-off mechanism provided by the ring macros). Frontends must set
63 *------------------ Backend Device Identification (PRIVATE) ------------------
78 * physical-device
85 * physical-device-path
[all …]
/qemu/linux-user/arm/nwfpe/
H A Dfpsr.h3 (c) Rebel.com, 1998-1999
37 ------------
49 ----------------------------- */
60 ---------------------- */
65 #define BIT_AC 0x00001000 /* use alternative C-flag definition
73 ---------------------------------- */
85 ----------------------------------*/
/qemu/docs/system/s390x/
H A Dvfio-ccw.rst1 Subchannel passthrough via vfio-ccw
4 vfio-ccw (based upon the mediated vfio device infrastructure) allows to
8 Note that while vfio-ccw should work with most non-QDIO devices, only ECKD
12 ---------------------
20 7e270a25-e163-4922-af60-757fc8ed48c6
30 [root@host ~]# driverctl -b css set-override 0.0.0313 vfio_ccw
31 [root@host ~]# mdevctl define -u 7e270a25-e163-4922-af60-757fc8ed48c6 \
32 -p 0.0.0313 -t vfio_ccw-io -a
43 I/O subchannel driver and bind it to the vfio-ccw driver::
50 [root@host ~]# echo "7e270a25-e163-4922-af60-757fc8ed48c6" > \
[all …]
/qemu/tests/qemu-iotests/tests/
H A Dinactive-node-nbd.out3 {"execute": "nbd-server-start", "arguments": {"addr": {"data": {"path": "SOCK_DIR/PID-nbd.sock"}, "…
8 Exports activate nodes without allow-inactive
9 disk-fmt active: False
10 {"execute": "block-export-add", "arguments": {"id": "exp0", "node-name": "disk-fmt", "type": "nbd",…
12 disk-fmt active: True
13 {"execute": "query-block-exports", "arguments": {}}
14 {"return": [{"id": "exp0", "node-name": "disk-fmt", "shutting-down": false, "type": "nbd"}]}
15 {"execute": "block-export-del", "arguments": {"id": "exp0"}}
17 {"execute": "query-block-exports", "arguments": {}}
20 Exports activate nodes with allow-inactive=false
[all …]
H A Dblock-status-cache.out2 ----------------------------------------------------------------------
H A Dmirror-top-perms.out2 ----------------------------------------------------------------------
/qemu/docs/system/arm/
H A Demulation.rst3 A-profile CPU architecture support
7 Armv8 and Armv9 versions of the A-profile architecture. It also has support for
10 - FEAT_AA32BF16 (AArch32 BFloat16 instructions)
11 - FEAT_AA32EL0 (Support for AArch32 at EL0)
12 - FEAT_AA32EL1 (Support for AArch32 at EL1)
13 - FEAT_AA32EL2 (Support for AArch32 at EL2)
14 - FEAT_AA32EL3 (Support for AArch32 at EL3)
15 - FEAT_AA32HPD (AArch32 hierarchical permission disables)
16 - FEAT_AA32I8MM (AArch32 Int8 matrix multiplication instructions)
17 - FEAT_AA64EL0 (Support for AArch64 at EL0)
[all …]
/qemu/docs/interop/
H A Dbitmaps.rst12 Dirty Bitmaps are in-memory objects that track writes to block devices. They
16 This document explains the conceptual mechanisms, as well as up-to-date,
27 --------
67 -----------------------
83 ------------------
85 Bitmap objects need a method to reference them in the API. All API-created and
86 managed bitmaps have a human-readable name chosen by the user at creation
89 - A bitmap's name is unique to the node, but bitmaps attached to different
93 - The name of a user-created bitmap cannot be empty ("").
95 - Transient bitmaps can have JSON unicode names that are effectively not
[all …]
/qemu/net/
H A Dcolo-compare.c2 * COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO)
12 * later. See the COPYING file in the top-level directory.
16 #include "qemu/error-report.h"
25 #include "chardev/char-fe.h"
29 #include "net/colo-compare.h"
33 #include "block/aio-wait.h"
36 #define TYPE_COLO_COMPARE "colo-compare"
68 * +---------------+ +---------------+ +---------------+
69 * | conn list + - > conn + ------- > conn + -- > ......
70 * +---------------+ +---------------+ +---------------+
[all …]
/qemu/hw/sd/
H A Dsdhci.c10 * Based on MMC controller for Samsung S5PC1xx-based board emulation
29 #include "qemu/error-report.h"
32 #include "hw/qdev-properties.h"
38 #include "sdhci-internal.h"
43 #define TYPE_SDHCI_BUS "sdhci-bus"
52 return 1 << (9 + FIELD_EX32(s->capareg, SDHC_CAPAB, MAXBLOCKLENGTH)); in DECLARE_INSTANCE_CHECKER()
59 if (s->sd_spec_version >= 3) { in sdhci_check_capab_freq_range()
68 "in range 0-63 only", desc); in sdhci_check_capab_freq_range()
76 uint64_t msk = s->capareg; in sdhci_check_capareg()
80 switch (s->sd_spec_version) { in sdhci_check_capareg()
[all …]
/qemu/tests/tcg/multiarch/system/
H A DMakefile.softmmu-target1 # -*- Mode: makefile -*-
18 GDB_SCRIPT=$(SRC_PATH)/tests/guest-debug/run-test.py
20 run-gdbstub-memory: memory
21 $(call run-test, $@, $(GDB_SCRIPT) \
22 --gdb $(GDB) \
23 --qemu $(QEMU) \
24 --output $<.gdb.out \
25 --qargs \
26 "-monitor none -display none -chardev file$(COMMA)path=$<.out$(COMMA)id=output $(QEMU_OPTS)" \
27 --bin $< --test $(MULTIARCH_SRC)/gdbstub/memory.py, \
[all …]

12345678910>>...348