/qemu/tests/qemu-iotests/ |
H A D | common.pattern | 20 local start=$1 21 local size=$2 22 local step=$3 23 local count=$4 35 local op=$1 36 local start=$2 37 local size=$3 38 local step=$4 39 local count=$5 40 local pattern=$6 [all …]
|
H A D | common.rc | 82 local img=$1 ofs=$2 len=$3 val=$4 str='' 96 local img=$1 ofs=$2 len=$3 val=$4 97 local str=$(printf "%0$((len * 2))x\n" $val | sed 's/\(..\)/\\x\1/g') 105 local val=0 shift=0 byte 118 local val=0 byte 165 local VALGRIND_LOGFILE="$1" 176 local VALGRIND_LOGFILE="$1" 177 local RETVAL="$2" 188 local VALGRIND_LOGFILE="${TEST_DIR}"/$$.valgrind 209 local VALGRIND_LOGFILE="${TEST_DIR}"/$$.valgrind [all …]
|
H A D | common.qemu | 74 local h=${1} 97 local evname 178 local h=${1} 179 local count=1 180 local cmd= 181 local use_error=${qemu_error_no_exit} 232 local evname=${1} 234 local match="\"event\": \"$evname\"" 269 local h=${1} 270 local evname=${2} [all …]
|
H A D | 038 | 57 local offset=$1 58 local sectors=$2 59 local op=$3 60 local pattern=0 61 local cur_sec=0 122 local cur_sec=$(( i * 2 + 1 )) 123 local pattern=$(( ( (cur_sec % 128) + (cur_sec / 128)) % 128 ))
|
H A D | 037 | 60 local offset=$1 61 local sectors=$2 62 local op=$3 63 local pattern=0 64 local cur_sec=0
|
H A D | 109 | 52 local raw_img="$1" 53 local source_img="$2" 54 local qmp_format="$3" 55 local qmp_event="$4"
|
/qemu/.gitlab-ci.d/ |
H A D | qemu-project.yml | 12 - local: '/.gitlab-ci.d/base.yml' 13 - local: '/.gitlab-ci.d/stages.yml' 14 - local: '/.gitlab-ci.d/opensbi.yml' 15 - local: '/.gitlab-ci.d/containers.yml' 16 - local: '/.gitlab-ci.d/crossbuilds.yml' 17 - local: '/.gitlab-ci.d/buildtest.yml' 18 - local: '/.gitlab-ci.d/static_checks.yml' 19 - local: '/.gitlab-ci.d/custom-runners.yml' 20 - local: '/.gitlab-ci.d/cirrus.yml' 21 - local: '/.gitlab-ci.d/windows.yml'
|
H A D | custom-runners.yml | 32 - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml' 33 - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml' 34 - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml'
|
/qemu/ui/ |
H A D | vnc-jobs.c | 177 * Copy data for local use 179 static void vnc_async_encoding_start(VncState *orig, VncState *local) in vnc_async_encoding_start() argument 181 buffer_init(&local->output, "vnc-worker-output"); in vnc_async_encoding_start() 182 local->sioc = NULL; /* Don't do any network work on this thread */ in vnc_async_encoding_start() 183 local->ioc = NULL; /* Don't do any network work on this thread */ in vnc_async_encoding_start() 185 local->vnc_encoding = orig->vnc_encoding; in vnc_async_encoding_start() 186 local->features = orig->features; in vnc_async_encoding_start() 187 local->vd = orig->vd; in vnc_async_encoding_start() 188 local->lossy_rect = orig->lossy_rect; in vnc_async_encoding_start() 189 local->write_pixels = orig->write_pixels; in vnc_async_encoding_start() [all …]
|
/qemu/net/ |
H A D | dgram.c | 283 SocketAddress *local, in net_dgram_mcast_init() argument 302 if (!local) { in net_dgram_mcast_init() 309 switch (local->type) { in net_dgram_mcast_init() 313 if (inet_aton(local->u.inet.host, &localaddr) == 0) { in net_dgram_mcast_init() 316 local->u.inet.host); in net_dgram_mcast_init() 330 fd = monitor_fd_param(monitor_cur(), local->u.fd.str, errp); in net_dgram_mcast_init() 352 if (convert_host_port(saddr, local->u.inet.host, local->u.inet.port, in net_dgram_mcast_init() 380 error_setg(errp, "only support inet or fd type for local"); in net_dgram_mcast_init() 395 if (!local) { in net_dgram_mcast_init() 400 switch (local->type) { in net_dgram_mcast_init() [all …]
|
/qemu/tests/docker/dockerfiles/ |
H A D | fedora-rust-nightly.docker | 157 ENV RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo 158 ENV RUSTC=/usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc 159 ENV RUSTDOC=/usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustdoc 160 ENV CARGO=/usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo 170 /usr/local/cargo/bin/rustup --version && \ 171 /usr/local/cargo/bin/rustup run nightly cargo --version && \ 172 /usr/local/cargo/bin/rustup run nightly rustc --version && \ 173 test "$CARGO" = "$(/usr/local/cargo/bin/rustup +nightly which cargo)" && \ 174 test "$RUSTDOC" = "$(/usr/local/cargo/bin/rustup +nightly which rustdoc)" && \ 175 test "$RUSTC" = "$(/usr/local/cargo/bin/rustup +nightly which rustc)" [all …]
|
/qemu/contrib/ivshmem-client/ |
H A D | ivshmem-client.c | 102 /* can return a peer or the local client */ in ivshmem_client_handle_server_msg() 108 if (peer == NULL || peer == &client->local) { in ivshmem_client_handle_server_msg() 162 client->local.vectors[i] = -1; in ivshmem_client_init() 166 client->local.id = -1; in ivshmem_client_init() 217 if (ivshmem_client_read_one_msg(client, &client->local.id, &fd) < 0 || in ivshmem_client_connect() 218 client->local.id < 0 || fd != -1) { in ivshmem_client_connect() 222 IVSHMEM_CLIENT_DEBUG(client, "our_id=%" PRId64 "\n", client->local.id); in ivshmem_client_connect() 262 client->local.id = -1; in ivshmem_client_close() 264 close(client->local.vectors[i]); in ivshmem_client_close() 265 client->local.vectors[i] = -1; in ivshmem_client_close() [all …]
|
/qemu/.gitlab-ci.d/cirrus/ |
H A D | freebsd-14.vars | 7 CCACHE='/usr/local/bin/ccache' 10 MAKE='/usr/local/bin/gmake' 11 NINJA='/usr/local/bin/ninja' 13 PIP3='/usr/local/bin/pip' 16 PYTHON='/usr/local/bin/python3'
|
/qemu/include/qemu/ |
H A D | coroutine-tls.h | 2 * QEMU Thread Local Storage for coroutines 11 * It is forbidden to access Thread Local Storage in coroutines because 31 * This header provides macros for safely defining variables in Thread Local 69 * Declare an extern variable in Thread Local Storage from a header file: 72 * :caption: Declaring an extern variable in Thread Local Storage 102 * Define a variable in Thread Local Storage that was previously declared from 106 * :caption: Defining a variable in Thread Local Storage 130 * Define a static variable in Thread Local Storage: 133 * :caption: Defining a static variable in Thread Local Storage
|
/qemu/tests/vm/generated/ |
H A D | freebsd.json | 2 "ccache": "/usr/local/bin/ccache", 5 "make": "/usr/local/bin/gmake", 6 "ninja": "/usr/local/bin/ninja", 8 "pip3": "/usr/local/bin/pip", 81 "python": "/usr/local/bin/python3"
|
/qemu/tests/lcitool/ |
H A D | refresh | 122 "ENV RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo\n", 123 "ENV RUSTC=/usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc\n", 124 "ENV RUSTDOC=/usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustdoc\n", 125 "ENV CARGO=/usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo\n", 135 " /usr/local/cargo/bin/rustup --version && \\\n", 136 " /usr/local/cargo/bin/rustup run nightly cargo --version && \\\n", 137 " /usr/local/cargo/bin/rustup run nightly rustc --version && \\\n", 138 ' test "$CARGO" = "$(/usr/local/cargo/bin/rustup +nightly which cargo)" && \\\n', 139 ' test "$RUSTDOC" = "$(/usr/local/cargo/bin/rustup +nightly which rustdoc)" && \\\n', 140 ' test "$RUSTC" = "$(/usr/local/cargo/bin/rustup +nightly which rustc)"\n', [all …]
|
/qemu/hw/timer/ |
H A D | exynos4210_mct.c | 47 * local timer contains two counters: TCNT and ICNT. TCNT == 0 -> ICNT--. 208 /* local timer */ 211 qemu_irq irq; /* local timer irq */ 602 * Get counter of FRC local timer. 610 * Set counter of FRC local timer. 623 * Start local FRC timer 632 * Stop local FRC timer 640 /* Start ptimer transaction for local FRC timer */ 646 /* Commit ptimer transaction for local FRC timer */ 653 * Local timer free running counter tick handler [all …]
|
/qemu/migration/ |
H A D | rdma.c | 179 * This is not transmitted, only local. 186 uint8_t *local_host_addr; /* local virtual address */ 451 * current_addr as passed in is an address in the local ram_addr_t in register_to_network() 480 * comp->offset as passed in is an address in the local ram_addr_t in compress_to_network() 558 RDMALocalBlocks *local = &rdma->local_ram_blocks; in rdma_add_block() local 560 RDMALocalBlock *old = local->block; in rdma_add_block() 562 local->block = g_new0(RDMALocalBlock, local->nb_blocks + 1); in rdma_add_block() 564 if (local->nb_blocks) { in rdma_add_block() 566 for (int x = 0; x < local->nb_blocks; x++) { in rdma_add_block() 571 &local->block[x]); in rdma_add_block() [all …]
|
/qemu/hw/i386/ |
H A D | acpi-common.c | 39 /* Flags – Local APIC Flags */ in pc_madt_cpu_entry() 50 /* Rev 1.0b, Table 5-13 Processor Local APIC Structure */ in pc_madt_cpu_entry() 57 /* Rev 4.0, 5.2.12.12 Processor Local x2APIC Structure */ in pc_madt_cpu_entry() 108 /* Local APIC Address */ in acpi_build_madt() 142 /* Rev 4.0, 5.2.12.13 Local x2APIC NMI Structure*/ in acpi_build_madt() 149 /* Local x2APIC LINT# */ in acpi_build_madt() 153 /* Rev 1.0b, 5.2.8.3.3 Local APIC NMI */ in acpi_build_madt() 159 /* Local APIC INTI# */ in acpi_build_madt()
|
/qemu/tests/qtest/ |
H A D | netdev-socket.c | 378 "local.type=inet,local.host=127.0.0.1,local.port=%d," in test_dgram_inet() 390 "local.type=inet,local.host=127.0.0.1,local.port=%d," in test_dgram_inet() 430 "-netdev dgram,id=st0,local.type=unix,local.path=%s," in test_dgram_unix() 440 "-netdev dgram,id=st0,local.type=unix,local.path=%s," in test_dgram_unix() 470 "-netdev dgram,id=st0,local.type=fd,local.str=%d", in test_dgram_fd() 478 "-netdev dgram,id=st0,local.type=fd,local.str=%d", in test_dgram_fd()
|
H A D | ipmi-kcs-test.c | 2 * IPMI KCS test cases, using the local interface. 278 qtest_add_func("/ipmi/local/kcs_base", test_kcs_base); in main() 279 qtest_add_func("/ipmi/local/kcs_abort", test_kcs_abort); in main() 280 qtest_add_func("/ipmi/local/kcs_enable_irq", test_enable_irq); in main() 281 qtest_add_func("/ipmi/local/kcs_base_irq", test_kcs_base); in main() 282 qtest_add_func("/ipmi/local/kcs_abort_irq", test_kcs_abort); in main()
|
/qemu/target/ppc/translate/ |
H A D | storage-ctrl-impl.c.inc | 172 static bool do_tlbie(DisasContext *ctx, arg_X_tlbie *a, bool local) 191 if (local) { 201 if ((!a->prs && ctx->hr) || (!local && !ctx->gtse)) { 211 if (!local && NARROW_MODE(ctx)) { 226 local << TLBIE_F_LOCAL_SHIFT)); 227 if (!local) { 241 if (local) {
|
/qemu/include/hw/xen/interface/ |
H A D | event_channel.h | 93 * the local event channel pending. 114 * EVTCHNOP_bind_virq: Bind a local event channel to VIRQ <irq> on specified 135 * EVTCHNOP_bind_pirq: Bind a local event channel to a real IRQ (PIRQ <irq>). 151 * EVTCHNOP_bind_ipi: Bind a local event channel to receive events. 164 * EVTCHNOP_close: Close a local event channel <port>. If the channel is 175 * EVTCHNOP_send: Send an event to the remote end of the channel whose local 239 * EVTCHNOP_unmask: Unmask the specified local event-channel port and deliver 364 * Local variables:
|
/qemu/include/hw/xen/interface/io/ |
H A D | blkif.h | 438 * /local/domain/1/device/vbd/0/multi-queue-num-queues = "2" 439 * /local/domain/1/device/vbd/0/queue-0 = "" 440 * /local/domain/1/device/vbd/0/queue-0/ring-ref = "<ring-ref#0>" 441 * /local/domain/1/device/vbd/0/queue-0/event-channel = "<evtchn#0>" 442 * /local/domain/1/device/vbd/0/queue-1 = "" 443 * /local/domain/1/device/vbd/0/queue-1/ring-ref = "<ring-ref#1>" 444 * /local/domain/1/device/vbd/0/queue-1/event-channel = "<evtchn#1>" 451 * /local/domain/1/device/vbd/0/multi-queue-num-queues = "2" 452 * /local/domain/1/device/vbd/0/ring-page-order = "1" 453 * /local/domain/1/device/vbd/0/queue-0 = "" [all …]
|
/qemu/tests/unit/ |
H A D | test-xs-node.c | 65 err = xs_impl_rm(s, DOMID_QEMU, XBT_NULL, "/local"); in xs_impl_delete() 282 abspath = g_strdup_printf("/local/domain/%u", DOMID_GUEST); in setup() 297 abspath = g_strdup_printf("/local/domain/%u/some", DOMID_GUEST); in setup() 334 err = xs_impl_watch(s, 0, "/local/domain/1/some", "qemuwatch", in test_xs_node_simple() 337 g_assert(qemu_watches->len == strlen("/local/domain/1/someqemuwatch")); in test_xs_node_simple() 338 g_assert(!strcmp(qemu_watches->str, "/local/domain/1/someqemuwatch")); in test_xs_node_simple() 353 "/local/domain/1/some/relative/pathqemuwatch")); in test_xs_node_simple() 368 "/local/domain/1/some/relative/path", data); in test_xs_node_simple() 378 err = write_str(s, DOMID_GUEST, XBT_NULL, "/local/domain/badplace", in test_xs_node_simple() 385 "/local/domain/1/some/relative/path2", in test_xs_node_simple() [all …]
|