Home
last modified time | relevance | path

Searched +full:- +full:- +full:- (Results 726 – 750 of 8803) sorted by relevance

1...<<21222324252627282930>>...353

/qemu/tests/functional/
H A Dtest_arm_bpim2u.py6 # SPDX-License-Identifier: GPL-2.0-or-later
19 ('https://apt.armbian.com/pool/main/l/linux-6.6.16/'
20 …'linux-image-current-sunxi_24.2.1_armhf__6.6.16-Seb3e-D6b4a-P2359-Ce96bHfe66-HK01ba-V014b-B067e-R4…
24 ('https://github.com/groeck/linux-build-test/raw/'
26 'arm/rootfs-armv7a.cpio.gz'),
31 'buildroot-baseline/20230703.0/armel/rootfs.ext2.xz'),
36 'openwrt-22.03.3-sunxi-cortexa7-sinovoip_bananapi-m2-ultra-ext4-sdcard.img.gz'),
42 self.ASSET_DEB, member='boot/vmlinuz-6.6.16-current-sunxi')
43 dtb_path = ('usr/lib/linux-image-6.6.16-current-sunxi/'
44 'sun8i-r40-bananapi-m2-ultra.dtb')
[all …]
/qemu/block/
H A Dcopy-before-write.c2 * copy-before-write filter driver
4 * The driver performs Copy-Before-Write (CBW) operation: it is injected above
7 * Copyright (c) 2018-2021 Virtuozzo International GmbH.
10 * Sementsov-Ogievskiy Vladimir <vsementsov@virtuozzo.com>
29 #include "system/block-backend.h"
34 #include "block/block-copy.h"
35 #include "block/dirty-bitmap.h"
37 #include "block/copy-before-write.h"
40 #include "qapi/qapi-visit-block-core.h"
57 * Reading from non-dirty areas leads to -EACCES.
[all …]
/qemu/target/ppc/
H A Dexcp_helper.c4 * Copyright (c) 2003-2007 Jocelyn Mayer
20 #include "qemu/main-loop.h"
116 ppc_dump_gpr(env, 8), env->nip); in dump_syscall()
131 env->nip); in dump_hcall()
147 miss = &env->spr[SPR_IMISS]; in ppc_excp_debug_sw_tlb()
148 cmp = &env->spr[SPR_ICMP]; in ppc_excp_debug_sw_tlb()
156 miss = &env->spr[SPR_DMISS]; in ppc_excp_debug_sw_tlb()
157 cmp = &env->spr[SPR_DCMP]; in ppc_excp_debug_sw_tlb()
162 env->spr[SPR_HASH1], env->spr[SPR_HASH2], in ppc_excp_debug_sw_tlb()
163 env->error_code); in ppc_excp_debug_sw_tlb()
[all …]
/qemu/tests/qemu-iotests/
H A D08146 _require_devices virtio-scsi
51 $QEMU -nographic -qmp stdio -serial none "$@"
62 quorum="driver=raw,file.driver=quorum,file.vote-threshold=2"
82 $QEMU_IO -c "open -o $quorum" -c "write -P 0x32 0 $size" | _filter_qemu_io
87 $QEMU_IO -c "read -P 0x32 0 $size" "$TEST_DIR/1.raw" | _filter_qemu_io
88 $QEMU_IO -c "read -P 0x32 0 $size" "$TEST_DIR/2.raw" | _filter_qemu_io
89 $QEMU_IO -c "read -P 0x32 0 $size" "$TEST_DIR/3.raw" | _filter_qemu_io
94 $QEMU_IO -c "write -P 0x42 0 $size" "$TEST_DIR/2.raw" | _filter_qemu_io
99 $QEMU_IO -c "open -o $quorum" -c "read -P 0x32 0 $size" | _filter_qemu_io
106 { "execute": "blockdev-add",
[all …]
H A D271.out8 write -q -P PATTERN 0 1k
10 write -q -P PATTERN 3k 512
12 write -q -P PATTERN 5k 1k
14 write -q -P PATTERN 6k 2k
16 write -q -P PATTERN 8k 6k
18 write -q -P PATTERN 15k 4k
20 write -q -P PATTERN 32k 1k
22 write -q -P PATTERN 63k 4k
25 write -q -z 2k 2k
27 write -q -z 0 64k
[all …]
/qemu/hw/core/
H A Dmachine-hmp-cmds.c10 * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
20 #include "qapi/qapi-builtin-visit.h"
21 #include "qapi/qapi-commands-machine.h"
23 #include "qapi/string-output-visitor.h"
24 #include "qemu/error-report.h"
34 for (cpu = cpu_list; cpu; cpu = cpu->next) { in hmp_info_cpus()
37 if (cpu->value->cpu_index == monitor_get_cpu_index(mon)) { in hmp_info_cpus()
42 cpu->value->cpu_index); in hmp_info_cpus()
43 monitor_printf(mon, " thread_id=%" PRId64 "\n", cpu->value->thread_id); in hmp_info_cpus()
[all …]
/qemu/target/i386/kvm/
H A Dtdx.c9 * SPDX-License-Identifier: GPL-2.0-or-later
13 #include "qemu/error-report.h"
15 #include "qemu/mmap-alloc.h"
17 #include "qapi/qapi-visit-sockets.h"
24 #include "system/address-spaces.h"
29 #include "cpu-internal.h"
30 #include "host-cpu.h"
34 #include "hw/i386/tdvf-hob.h"
37 #include "tdx-quote-generator.h"
39 #include "standard-headers/asm-x86/kvm_para.h"
[all …]
/qemu/hw/audio/
H A Dintel-hda-defs.h7 /* --------------------------------------------------------------------- */
113 /* max number of fragments - we may use more if allocating more pages for BDL */
117 /* max buffer size - no h/w limit, you can increase as you like */
128 #define STATESTS_INT_MASK ((1 << AZX_MAX_CODECS) - 1)
135 #define SD_CTL_DIR (1 << 19) /* bi-directional stream */
154 /* below are so far hardcoded - should read registers in future */
188 /* --------------------------------------------------------------------- */
241 /* f10-f1a: GPIO */
337 #define AC_WCAP_IN_AMP (1<<1) /* AMP-in present */
338 #define AC_WCAP_OUT_AMP (1<<2) /* AMP-out present */
[all …]
/qemu/hw/ssi/
H A Dxilinx_spips.c29 #include "hw/qdev-properties.h"
89 #define IXR_ALL ((1 << 13) - 1)
218 return (s->regs[R_LQSPI_CFG] & LQSPI_CFG_SEP_BUS && in num_effective_busses()
219 s->regs[R_LQSPI_CFG] & LQSPI_CFG_TWO_MEM) ? s->num_busses : 1; in num_effective_busses()
226 for (i = 0; i < s->num_cs * s->num_busses; i++) { in xilinx_spips_update_cs()
227 bool old_state = s->cs_lines_state[i]; in xilinx_spips_update_cs()
231 s->cs_lines_state[i] = new_state; in xilinx_spips_update_cs()
232 s->rx_discard = ARRAY_FIELD_EX32(s->regs, CMND, RX_DISCARD); in xilinx_spips_update_cs()
236 qemu_set_irq(s->cs_lines[i], !new_state); in xilinx_spips_update_cs()
238 if (!(field & ((1 << (s->num_cs * s->num_busses)) - 1))) { in xilinx_spips_update_cs()
[all …]
/qemu/docs/system/devices/
H A Dusb.rst2 -------------
16 more virtualization-friendly when compared to EHCI and UHCI, thus XHCI
21 |qemu_system| -device qemu-xhci
46 ``-usb`` switch. QEMU will create the UHCI controller as function of
47 the PIIX3 chipset. The USB 1.1 bus will carry the name ``usb-bus.0``.
49 You can use the standard ``-device`` switch to add a EHCI controller to
52 ``-device usb-ehci,id=ehci``. This will give you a USB 2.0 bus named
55 When adding USB devices using the ``-device`` switch you can specify the
58 .. parsed-literal::
60 |qemu_system| -M pc ${otheroptions} \\
[all …]
/qemu/hw/display/
H A Dvga.c50 /* Address mask for non-VESA modes. */
54 * in 9-dot text mode. In other modes, bit 3 is undefined;
132 return s->vbe_regs[VBE_DISPI_INDEX_ENABLE] & VBE_DISPI_ENABLED; in vbe_enabled()
137 return vbe_enabled(s) ? s->sr_vbe[idx] : s->sr[idx]; in sr()
144 if (s->legacy_address_space == NULL) { in vga_update_memory_access()
148 if (s->has_chain4_alias) { in vga_update_memory_access()
149 memory_region_del_subregion(s->legacy_address_space, &s->chain4_alias); in vga_update_memory_access()
150 object_unparent(OBJECT(&s->chain4_alias)); in vga_update_memory_access()
151 s->has_chain4_alias = false; in vga_update_memory_access()
152 s->plane_updated = 0xf; in vga_update_memory_access()
[all …]
H A Dati_2d.c29 switch (s->regs.dp_datatype & 0xf) { in ati_bpp_from_datatype()
41 s->regs.dp_datatype & 0xf); in ati_bpp_from_datatype()
46 #define DEFAULT_CNTL (s->regs.dp_gui_master_cntl & GMC_DST_PITCH_OFFSET_CNTL)
52 DisplaySurface *ds = qemu_console_surface(s->vga.con); in ati_2d_blt()
53 DPRINTF("%p %u ds: %p %d %d rop: %x\n", s->vga.vram_ptr, in ati_2d_blt()
54 s->vga.vbe_start_addr, surface_data(ds), surface_stride(ds), in ati_2d_blt()
56 (s->regs.dp_mix & GMC_ROP3_MASK) >> 16); in ati_2d_blt()
57 unsigned dst_x = (s->regs.dp_cntl & DST_X_LEFT_TO_RIGHT ? in ati_2d_blt()
58 s->regs.dst_x : s->regs.dst_x + 1 - s->regs.dst_width); in ati_2d_blt()
59 unsigned dst_y = (s->regs.dp_cntl & DST_Y_TOP_TO_BOTTOM ? in ati_2d_blt()
[all …]
H A Dvirtio-vga.c3 #include "hw/qdev-properties.h"
4 #include "hw/virtio/virtio-gpu.h"
7 #include "virtio-vga.h"
13 VirtIOGPUBase *g = vvga->vgpu; in virtio_vga_base_invalidate_display()
15 if (g->enable) { in virtio_vga_base_invalidate_display()
16 g->hw_ops->invalidate(g); in virtio_vga_base_invalidate_display()
18 vvga->vga.hw_ops->invalidate(&vvga->vga); in virtio_vga_base_invalidate_display()
25 VirtIOGPUBase *g = vvga->vgpu; in virtio_vga_base_update_display()
27 if (g->enable) { in virtio_vga_base_update_display()
28 g->hw_ops->gfx_update(g); in virtio_vga_base_update_display()
[all …]
/qemu/hw/i386/kvm/
H A Di8259.c2 * KVM in-kernel PIC (i8259) support
10 * See the COPYING file in the top-level directory.
22 #define TYPE_KVM_I8259 "kvm-i8259"
43 chip.chip_id = s->master ? KVM_IRQCHIP_PIC_MASTER : KVM_IRQCHIP_PIC_SLAVE; in kvm_pic_get()
46 fprintf(stderr, "KVM_GET_IRQCHIP failed: %s\n", strerror(-ret)); in kvm_pic_get()
52 s->last_irr = kpic->last_irr; in kvm_pic_get()
53 s->irr = kpic->irr; in kvm_pic_get()
54 s->imr = kpic->imr; in kvm_pic_get()
55 s->isr = kpic->isr; in kvm_pic_get()
56 s->priority_add = kpic->priority_add; in kvm_pic_get()
[all …]
/qemu/tests/tcg/s390x/
H A DMakefile.softmmu-target3 # EXTFLAGS can be passed by the user, e.g. to override the --accel
4 QEMU_OPTS+=-action panic=exit-failure -nographic -serial chardev:output $(EXTFLAGS) -kernel
6 CFLAGS+=-ggdb -O0 -I$(SRC_PATH)/include/hw/s390x/ipl/
7 LDFLAGS=-nostdlib -static
10 $(CC) -march=z13 -m64 -Wa,--noexecstack -c $< -o $@
13 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -march=z13 -m64 -c $< -o $@
16 $(CC) $< -o $@ $(LDFLAGS)
22 exrl-ssm-early \
26 lpswe-early \
30 precise-smc-softmmu \
[all …]
/qemu/audio/
H A Dpwaudio.c8 * SPDX-License-Identifier: GPL-2.0-or-later
14 #include "qemu/error-report.h"
16 #include <spa/param/audio/format-utils.h>
26 #define RINGBUFFER_MASK (RINGBUFFER_SIZE - 1)
76 spa_hook_remove(&v->stream_listener); in stream_destroy()
77 v->stream = NULL; in stream_destroy()
91 assert(v->stream); in playback_on_process()
94 b = pw_stream_dequeue_buffer(v->stream); in playback_on_process()
100 buf = b->buffer; in playback_on_process()
101 p = buf->datas[0].data; in playback_on_process()
[all …]
/qemu/scripts/
H A Dminikconf.py3 # Mini-Kconfig parser
12 # the top-level directory.
27 # -------------------------------------------
35 # -------------------------------------------
172 return -1
210 # semantic analysis -------------
231 debug_print(i, "->", [str(x) for x in self.referenced_vars[i].outgoing])
233 # The reverse of the depth-first order is the topological sort
248 self.clauses.sort(key=lambda x: (-dfo[x.dest], -x.priority()))
263 # semantic actions -------------
[all …]
/qemu/hw/s390x/
H A Dmeson.build3 'ap-bridge.c',
4 'ap-device.c',
5 'ccw-device.c',
6 'css-bridge.c',
8 'event-facility.c',
10 's390-ccw.c',
11 's390-pci-bus.c',
12 's390-pci-inst.c',
13 's390-skeys.c',
14 's390-stattrib.c',
[all …]
/qemu/hw/scsi/
H A Dvmw_pvscsi.c9 * http://lists.gnu.org/archive/html/qemu-devel/2011-08/msg00729.html
17 * See the COPYING file in the top-level directory.
19 * NOTE about MSI-X:
20 * MSI-X support has been removed for the moment because it leads Windows OS
22 * MSI-X shared memory to be part of the same BAR used for rings state
24 * BAR created from MSI-X purposes. Windows driver fails to deal with 2 BARs.
30 #include "qemu/main-loop.h"
36 #include "hw/qdev-properties.h"
54 ldl_le_pci_dma(&container_of(m, PVSCSIState, rings)->parent_obj, \
55 (m)->rs_pa + offsetof(struct PVSCSIRingsState, field), \
[all …]
H A Dmptsas.c5 * Copyright (c) 2009-2012 Hannes Reinecke, SUSE Labs
27 #include "hw/qdev-properties.h"
31 #include "qemu/main-loop.h"
38 #include "migration/qemu-file-types.h"
62 uint32_t state = s->intr_status & ~(s->intr_mask | MPI_HIS_IOP_DOORBELL_STATUS); in mptsas_update_interrupt()
77 if ((s->state & MPI_IOC_STATE_FAULT) == 0) { in mptsas_set_fault()
78 s->state = MPI_IOC_STATE_FAULT | code; in mptsas_set_fault()
83 ((s)->name##_head > ARRAY_SIZE((s)->name) || \
84 (s)->name##_tail > ARRAY_SIZE((s)->name))
87 ((s)->name##_head == (s)->name##_tail)
[all …]
/qemu/hw/char/
H A Dserial.c4 * Copyright (c) 2003-2004 Fabrice Bellard
31 #include "chardev/char-serial.h"
36 #include "qemu/error-report.h"
38 #include "hw/qdev-properties.h"
39 #include "hw/qdev-properties-system.h"
83 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */
89 #define UART_LSR_INT_ANY 0x1E /* Any of the lsr-interrupt-triggering status bits */
91 /* Interrupt trigger levels. The byte-counts are for 16550A - in newer UARTs the byte-count for eac…
111 if (!fifo8_is_full(&s->recv_fifo)) { in recv_fifo_put()
112 fifo8_push(&s->recv_fifo, chr); in recv_fifo_put()
[all …]
/qemu/hw/block/
H A Dpflash_cfi02.c23 * - flash read
24 * - flash write
25 * - flash ID read
26 * - sector erase
27 * - chip erase
28 * - unlock bypass command
29 * - CFI queries
38 #include "hw/qdev-properties.h"
39 #include "hw/qdev-properties-system.h"
41 #include "qemu/error-report.h"
[all …]
/qemu/contrib/vhost-user-gpu/
H A Dvugbm.c2 * Virtio vhost-user GPU Device
7 * See the COPYING file in the top-level directory.
16 buf->mmap = g_malloc(buf->width * buf->height * 4); in mem_alloc_bo()
17 buf->stride = buf->width * 4; in mem_alloc_bo()
24 g_free(buf->mmap); in mem_free_bo()
30 return buf->mmap != NULL; in mem_map_bo()
56 return ROUND_UP(buf->width * buf->height * 4, qemu_real_host_page_size()); in udmabuf_get_size()
64 buf->memfd = memfd_create("udmabuf-bo", MFD_ALLOW_SEALING); in udmabuf_alloc_bo()
65 if (buf->memfd < 0) { in udmabuf_alloc_bo()
69 ret = ftruncate(buf->memfd, udmabuf_get_size(buf)); in udmabuf_alloc_bo()
[all …]
/qemu/target/xtensa/
H A Dimport_core.sh1 #! /bin/bash -e
7 TARGET="$BASE"/core-$NAME
9 [ $# -ge 2 -a -f "$OVERLAY" ] || { cat <<EOF
10 Usage: $0 overlay-archive-to-import core-name [frequency-in-KHz]
11 overlay-archive-to-import: file name of xtensa-config-overlay.tar.gz
13 core-name: QEMU name of the imported core. Must be valid
15 frequency-in-KHz: core frequency (40MHz if not specified).
20 [ $# -ge 3 ] && FREQ="$3"
21 mkdir -p "$TARGET"
22 tar -xf "$OVERLAY" -C "$TARGET" --strip-components=2 \
[all …]
/qemu/hw/riscv/
H A Dvirt.c2 * QEMU RISC-V VirtIO Board
6 * RISC-V machine with 16550a UART and VirtIO MMIO
23 #include "qemu/error-report.h"
24 #include "qemu/guest-random.h"
29 #include "hw/qdev-properties.h"
30 #include "hw/char/serial-mm.h"
32 #include "hw/core/sysbus-fdt.h"
36 #include "hw/riscv/riscv-iommu-bits.h"
46 #include "hw/platform-bus.h"
55 #include "hw/pci-host/gpex.h"
[all …]

1...<<21222324252627282930>>...353