Home
last modified time | relevance | path

Searched +full:- +full:- +full:- (Results 701 – 725 of 8803) sorted by relevance

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

/qemu/tests/tcg/ppc64/
H A DMakefile.target1 # -*- Mode: makefile -*-
7 config-cc.mak: Makefile
8 $(quiet-@)( \
9 $(call cc-option,-mcpu=power8, CROSS_CC_HAS_CPU_POWER8); \
10 $(call cc-option,-mpower10, CROSS_CC_HAS_POWER10)) 3> config-cc.mak
12 -include config-cc.mak
14 # multi-threaded tests are known to fail (e.g., clang-user CI job)
15 # See: https://gitlab.com/qemu-project/qemu/-/issues/2456
16 run-signals: signals
17 $(call skip-test, $<, "BROKEN (flaky with clang) ")
[all …]
/qemu/qga/
H A Dmain.c11 * See the COPYING file in the top-level directory.
21 #include "qemu/help-texts.h"
22 #include "qobject/json-parser.h"
25 #include "guest-agent-core.h"
26 #include "qga-qapi-init-commands.h"
33 #include "qemu-version.h"
37 #include "qga/service-win32.h"
38 #include "qga/vss-win32.h"
40 #include "commands-common.h"
46 #define QGA_VIRTIO_PATH_DEFAULT "/dev/virtio-ports/org.qemu.guest_agent.0"
[all …]
/qemu/target/i386/
H A Darch_dump.c10 * See the COPYING file in the top-level directory.
54 regs.r15 = env->regs[15]; in x86_64_write_elf64_note()
55 regs.r14 = env->regs[14]; in x86_64_write_elf64_note()
56 regs.r13 = env->regs[13]; in x86_64_write_elf64_note()
57 regs.r12 = env->regs[12]; in x86_64_write_elf64_note()
58 regs.r11 = env->regs[11]; in x86_64_write_elf64_note()
59 regs.r10 = env->regs[10]; in x86_64_write_elf64_note()
60 regs.r9 = env->regs[9]; in x86_64_write_elf64_note()
61 regs.r8 = env->regs[8]; in x86_64_write_elf64_note()
62 regs.rbp = env->regs[R_EBP]; in x86_64_write_elf64_note()
[all …]
H A Dops_sse.h22 #include "crypto/aes-round.h"
60 if (c->Q(0) > 15) { in glue()
62 d->Q(i) = 0; in glue()
65 shift = c->B(0); in glue()
67 d->W(i) = FPSRL(s->W(i), shift); in glue()
75 if (c->Q(0) > 15) { in glue()
77 d->Q(i) = 0; in glue()
80 shift = c->B(0); in glue()
82 d->W(i) = FPSLL(s->W(i), shift); in glue()
90 if (c->Q(0) > 15) { in glue()
[all …]
/qemu/hw/block/
H A Dpflash_cfi01.c24 * - flash read
25 * - flash write
26 * - flash ID read
27 * - sector erase
28 * - CFI queries
42 #include "hw/qdev-properties.h"
43 #include "hw/qdev-properties-system.h"
44 #include "system/block-backend.h"
46 #include "qemu/error-report.h"
48 #include "qemu/host-utils.h"
[all …]
/qemu/hw/core/
H A Dloader.c24 * Gunzip functionality in this file is derived from u-boot:
28 * (C) Copyright 2000-2005
47 #include "qemu/error-report.h"
49 #include "qapi/qapi-commands-machine.h"
50 #include "qapi/type-helpers.h"
72 /* return the size or -1 if error */
79 return -1; in get_image_size()
85 /* return the size or -1 if error */
93 return -1; in load_image_size()
96 while ((actsize = read(fd, addr + l, size - l)) > 0) { in load_image_size()
[all …]
/qemu/tests/qemu-iotests/
H A D1974 # Test case for copy-on-read into qcow2
40 *[^-_a-zA-Z0-9/]*)
48 rm -f "$BLKDBG_CONF"
60 echo '=== Copy-on-read ==='
69 $QEMU_IO -c "write -P 55 3G 1k" "$TEST_IMG" | _filter_qemu_io
71 _make_test_img --no-opts -F "$IMGFMT" -b "$TEST_IMG" | _filter_img_create
72 $QEMU_IO -f qcow2 -c "write -z -u 1M 64k" "$TEST_WRAP" | _filter_qemu_io
75 # does not re-write the allocated cluster
77 [inject-error]
81 $QEMU_IO -c "open -C \
[all …]
H A D15350 if $QEMU_IMG_PROG info --image-opts "driver=file,locking=on,filename=$TEST_IMG" 2>&1 |
51 grep -q 'falling back to POSIX file'; then
72 if ! test -t 0; then
78 ) | $QEMU -nographic -monitor stdio -serial none "$@" 1>/dev/null
84 $(for i in $@; do echo "-drive if=none,file=$i"; done) 2>&1 \
88 echo "== readonly=off,force-share=on should be rejected =="
89 _run_qemu_with_images null-co://,readonly=off,force-share=on
91 for opts1 in "" "read-only=on" "read-only=on,force-share=on"; do
98 _make_test_img -b "${TEST_IMG}.base" -F $IMGFMT
102 _launch_qemu -drive file="${TEST_IMG}",if=none,$opts1
[all …]
/qemu/hw/arm/
H A Dxlnx-versal-virt.c13 #include "qemu/error-report.h"
20 #include "hw/qdev-properties.h"
21 #include "hw/arm/xlnx-versal.h"
26 #define TYPE_XLNX_VERSAL_VIRT_MACHINE MACHINE_TYPE_NAME("xlnx-versal-virt")
61 s->fdt = create_device_tree(&s->fdt_size); in fdt_create()
62 if (!s->fdt) { in fdt_create()
68 s->phandle.gic = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
69 for (i = 0; i < ARRAY_SIZE(s->phandle.ethernet_phy); i++) { in fdt_create()
70 s->phandle.ethernet_phy[i] = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
72 s->phandle.clk_25Mhz = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
[all …]
H A Daspeed_ast10x0.c7 * the COPYING file in the top-level directory.
14 #include "system/address-spaces.h"
16 #include "hw/qdev-clock.h"
93 [ASPEED_DEV_I3C] = 102, /* 102 -> 105 */
95 [ASPEED_DEV_KCS] = 138, /* 138 -> 142 */
107 return qdev_get_gpio_in(DEVICE(&a->armv7m), sc->irqmap[dev]); in aspeed_soc_ast1030_get_irq()
123 object_initialize_child(obj, "armv7m", &a->armv7m, TYPE_ARMV7M); in aspeed_soc_ast1030_init()
125 s->sysclk = qdev_init_clock_in(DEVICE(s), "sysclk", NULL, NULL, 0); in aspeed_soc_ast1030_init()
127 snprintf(typename, sizeof(typename), "aspeed.scu-%s", socname); in aspeed_soc_ast1030_init()
128 object_initialize_child(obj, "scu", &s->scu, typename); in aspeed_soc_ast1030_init()
[all …]
H A Domap1.c4 * Copyright (C) 2006-2008 Andrzej Zaborowski <balrog@zabor.org>
22 #include "qemu/error-report.h"
23 #include "qemu/main-loop.h"
26 #include "system/address-spaces.h"
29 #include "hw/qdev-properties.h"
44 #include "target/arm/cpu-qom.h"
49 qemu_log_mask(LOG_GUEST_ERROR, "%s: %d-bit register %#08" HWADDR_PRIx "\n", in omap_log_badwidth()
127 uint64_t distance = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - timer->time; in omap_timer_read()
129 if (timer->st && timer->enable && timer->rate) in omap_timer_read()
130 return timer->val - muldiv64(distance >> (timer->ptv + 1), in omap_timer_read()
[all …]
H A Daspeed.c9 * the COPYING file in the top-level directory.
25 #include "hw/qdev-properties.h"
26 #include "system/block-backend.h"
29 #include "qemu/error-report.h"
32 #include "hw/qdev-clock.h"
36 .board_id = -1, /* device-tree-only board */
53 /* On 32-bit hosts, lower RAM to 1G because of the 2047 MB limit */
166 /* Quanta-Q71l hardware value */
204 /* Qualcomm DC-SCM hardware value */
222 * r2 = per-cpu go sign value in aspeed_write_smpboot()
[all …]
/qemu/hw/virtio/
H A Dvirtio-pci.c12 * the COPYING file in the top-level directory.
14 * Contributions after 2012-01-13 are licensed under the terms of the
21 #include "standard-headers/linux/virtio_pci.h"
22 #include "standard-headers/linux/virtio_ids.h"
25 #include "migration/qemu-file-types.h"
28 #include "hw/qdev-properties.h"
30 #include "qemu/error-report.h"
37 #include "hw/virtio/virtio-pci.h"
39 #include "hw/virtio/virtio-bus.h"
48 /* The remaining space is defined by each driver as the per-driver
[all …]
/qemu/hw/timer/
H A Dexynos4210_mct.c4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
31 * | <-------------------------------------------------------------- |
32 * | --------------------------------------------frc---------------> |
37 * | -------------> |
47 * local timer contains two counters: TCNT and ICNT. TCNT == 0 -> ICNT--.
121 #define GET_G_COMP_IDX(offset) (((offset) - G_COMP0_L) / 0x10)
122 #define GET_G_COMP_ADD_INCR_IDX(offset) (((offset) - G_COMP0_ADD_INCR) / 0x10)
145 #define GET_L_TIMER_IDX(offset) ((((offset) & 0xF00) - L0_TCNTB) / 0x100)
147 (((offset) - (L0_TCNTB + 0x100 * (lt_i))) >> 2)
368 s->count = count; in exynos4210_gfrc_set_count()
[all …]
/qemu/target/mips/tcg/system/
H A Dcp0_helper.c2 * Helpers for emulation of CP0-related MIPS instructions.
4 * Copyright (C) 2004-2005 Jocelyn Mayer
25 #include "qemu/main-loop.h"
28 #include "qemu/host-utils.h"
29 #include "exec/helper-proto.h"
38 CPUMIPSState *env = &c->env; in mips_vpe_is_wfi()
44 return cpu->halted && mips_vpe_active(env); in mips_vpe_is_wfi()
50 CPUMIPSState *env = &c->env; in mips_vp_is_wfi()
52 return cpu->halted && mips_vp_active(env); in mips_vp_is_wfi()
58 * Don't set ->halted = 0 directly, let it be done via cpu_has_work in mips_vpe_wake()
[all …]
/qemu/block/
H A Dnvme.c4 * Copyright 2016 - 2018 Red Hat, Inc.
11 * See the COPYING file in the top-level directory.
19 #include "qemu/defer-call.h"
20 #include "qemu/error-report.h"
21 #include "qemu/host-pci-mmio.h"
22 #include "qemu/main-loop.h"
27 #include "qemu/vfio-helpers.h"
28 #include "block/block-io.h"
30 #include "system/block-backend.h"
45 #define NVME_NUM_REQS (NVME_QUEUE_SIZE - 1)
[all …]
/qemu/hw/i2c/
H A Dpm_smbus.c70 uint8_t prot = (s->smb_ctl >> 2) & 0x07; in smb_transaction()
71 uint8_t read = s->smb_addr & 0x01; in smb_transaction()
72 uint8_t cmd = s->smb_cmd; in smb_transaction()
73 uint8_t addr = s->smb_addr >> 1; in smb_transaction()
74 I2CBus *bus = s->smbus; in smb_transaction()
79 if ((s->smb_stat & STS_DEV_ERR) != 0) { in smb_transaction()
100 ret = smbus_write_byte(bus, addr, cmd, s->smb_data0); in smb_transaction()
110 (s->smb_data1 << 8) | s->smb_data0); in smb_transaction()
115 /* According to the Linux i2c-i801 driver: in smb_transaction()
126 ret = i2c_send(bus, s->smb_data1); in smb_transaction()
[all …]
/qemu/include/qemu/
H A Drcu_queue.h7 * RCU-friendly versions of the queue.h primitives.
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
34 #define QLIST_EMPTY_RCU(head) (qatomic_read(&(head)->lh_first) == NULL)
35 #define QLIST_FIRST_RCU(head) (qatomic_rcu_read(&(head)->lh_first))
36 #define QLIST_NEXT_RCU(elm, field) (qatomic_rcu_read(&(elm)->field.le_next))
54 /* Upon publication of the listelm->next value, list readers
62 (elm)->field.le_next = (listelm)->field.le_next; \
63 (elm)->field.le_prev = &(listelm)->field.le_next; \
64 qatomic_rcu_set(&(listelm)->field.le_next, (elm)); \
65 if ((elm)->field.le_next != NULL) { \
[all …]
/qemu/hw/scsi/
H A Dlsi53c895a.c13 * as well-behaved operating systems will not try to use them.
304 uint32_t scratch[18]; /* SCRATCHA-SCRATCHR */
334 return (s->sien0 & LSI_SIST0_RSL) && (s->scid & LSI_SCID_RRE); in lsi_irq_on_rsl()
341 QTAILQ_FOREACH(p, &s->queue, next) { in get_pending_req()
342 if (p->pending) { in get_pending_req()
352 s->carry = 0; in lsi_soft_reset()
354 s->msg_action = LSI_MSG_ACTION_COMMAND; in lsi_soft_reset()
355 s->msg_len = 0; in lsi_soft_reset()
356 s->waiting = LSI_NOWAIT; in lsi_soft_reset()
357 s->dsa = 0; in lsi_soft_reset()
[all …]
/qemu/audio/
H A Dpaaudio.c80 qpa_logerr(pa_context_errno((c)->context), msg); \
87 if (!(c)->context || !PA_CONTEXT_IS_GOOD (pa_context_get_state((c)->context)) || \
89 if (((c)->context && pa_context_get_state ((c)->context) == PA_CONTEXT_FAILED) || \
91 qpa_logerr(pa_context_errno((c)->context), msg); \
102 PAConnection *c = p->g->conn; in qpa_get_buffer_in()
105 pa_threaded_mainloop_lock(c->mainloop); in qpa_get_buffer_in()
107 CHECK_DEAD_GOTO(c, p->stream, unlock_and_fail, in qpa_get_buffer_in()
110 if (!p->read_length) { in qpa_get_buffer_in()
111 r = pa_stream_peek(p->stream, &p->read_data, &p->read_length); in qpa_get_buffer_in()
116 *size = MIN(p->read_length, *size); in qpa_get_buffer_in()
[all …]
/qemu/hw/ppc/
H A Dpnv.c4 * Copyright (c) 2016-2024, IBM Corporation.
6 * SPDX-License-Identifier: GPL-2.0-or-later
45 #include "target/ppc/mmu-hash64.h"
47 #include "hw/pci-host/pnv_phb.h"
48 #include "hw/pci-host/pnv_phb3.h"
49 #include "hw/pci-host/pnv_phb4.h"
52 #include "hw/qdev-properties.h"
58 #include "hw/char/serial-isa.h"
69 #define PNOR_FILE_NAME "pnv-pnor.bin"
79 int len = strlen(chip_type) - strlen(PNV_CHIP_TYPE_SUFFIX); in pnv_chip_core_typename()
[all …]
/qemu/hw/9pfs/
H A Dcofile.c10 * the COPYING file in the top-level directory.
20 #include "fsdev/qemu-fsdev.h"
22 #include "qemu/main-loop.h"
23 #include "qemu/error-report.h"
30 V9fsState *s = pdu->s; in v9fs_co_st_gen()
33 return -EINTR; in v9fs_co_st_gen()
35 if (s->ctx.exops.get_st_gen) { in v9fs_co_st_gen()
39 err = s->ctx.exops.get_st_gen(&s->ctx, path, st_mode, in v9fs_co_st_gen()
40 &v9stat->st_gen); in v9fs_co_st_gen()
42 err = -errno; in v9fs_co_st_gen()
[all …]
/qemu/qapi/
H A Dblock-core.json1 # -*- Mode: Python -*-
20 # @vm-state-size: size of the VM state
22 # @date-sec: UTC date of the snapshot in seconds
24 # @date-nsec: fractional part in nano seconds to be used with date-sec
26 # @vm-clock-sec: VM clock relative to boot in seconds
28 # @vm-clock-nsec: fractional part in nano seconds to be used with
29 # vm-clock-sec
32 # record/replay is enabled. Used for "time-traveling" to match
34 # counter may be obtained through @query-replay command
40 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int',
[all …]
/qemu/tests/functional/
H A Dtest_arm_orangepi.py6 # SPDX-License-Identifier: GPL-2.0-or-later
20 ('https://apt.armbian.com/pool/main/l/linux-6.6.16/'
21 …'linux-image-current-sunxi_24.2.1_armhf__6.6.16-Seb3e-D6b4a-P2359-Ce96bHfe66-HK01ba-V014b-B067e-R4…
25 ('https://github.com/groeck/linux-build-test/raw/'
27 'arm/rootfs-armv7a.cpio.gz'),
32 'buildroot-baseline/20230703.0/armel/rootfs.ext2.xz'),
36 ('https://k-space.ee.armbian.com/archive/orangepipc/archive/'
42 'main/u/u-boot/u-boot-sunxi_2020.01%2Bdfsg-1_armhf.deb'),
46 ('https://archive.netbsd.org/pub/NetBSD-archive/NetBSD-9.0/'
47 'evbarm-earmv7hf/binary/gzimg/armv7.img.gz'),
[all …]
/qemu/tests/qemu-iotests/tests/
H A Dqsd-migrate30 iotests.FilePath('nbd-src.sock', base_dir=iotests.sock_dir) as nbd_src, \
31 iotests.FilePath('nbd-dst.sock', base_dir=iotests.sock_dir) as nbd_dst, \
33 iotests.VM(path_suffix="-src") as vm_src, \
34 iotests.VM(path_suffix="-dst") as vm_dst:
39 iotests.qemu_img_create('-f', iotests.imgfmt, path, img_size)
43 '--blockdev', f'file,node-name=disk-file,filename={path}',
44 '--blockdev', f'{iotests.imgfmt},file=disk-file,node-name=disk-fmt',
45 '--nbd-server', f'addr.type=unix,addr.path={nbd_src}',
46 '--export', 'nbd,id=exp0,node-name=disk-fmt,writable=true,'
47 'allow-inactive=true',
[all …]

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