| /qemu/tests/tcg/s390x/ |
| A D | fma.c | 164 if (++it->val[i] != signed_floats[it->fmt][it->cls[i]].n) { in iter_next() 167 it->val[i] = 0; in iter_next() 172 it->cls[i] = 0; in iter_next() 175 return ++it->fmt != N_FORMATS; in iter_next() 181 struct iter it = {}; in main() local 188 memcpy(&a, signed_floats[it.fmt][it.cls[0]].v[it.val[0]], sizeof(a)); in main() 189 memcpy(&b, signed_floats[it.fmt][it.cls[1]].v[it.val[1]], sizeof(b)); in main() 190 memcpy(&c, signed_floats[it.fmt][it.cls[2]].v[it.val[2]], sizeof(c)); in main() 193 it.cls[1], &b, it.cls[2], &c, it.cls[0], &a); in main() 197 switch (it.fmt) { in main() [all …]
|
| A D | vfminmax.c | 246 static bool iter_next(struct iter *it, int fmt) in iter_next() argument 251 if (++it->val[i] != signed_floats[fmt][it->cls[i]].n) { in iter_next() 254 it->val[i] = 0; in iter_next() 256 if (++it->cls[i] != N_SIGNED_CLASSES) { in iter_next() 259 it->cls[i] = 0; in iter_next() 282 struct iter it = {}; in main() local 286 const char *spec = test->table[it.cls[0]][it.cls[1]]; in main() 289 signed_floats[fmt][it.cls[0]].v[it.val[0]], in main() 292 signed_floats[fmt][it.cls[1]].v[it.val[1]], in main() 336 } while (iter_next(&it, fmt)); in main()
|
| /qemu/migration/ |
| A D | page_cache.c | 133 CacheItem *it; in cache_is_cached() local 135 it = cache_get_by_addr(cache, addr); in cache_is_cached() 137 if (it->it_addr == addr) { in cache_is_cached() 139 it->it_age = current_age; in cache_is_cached() 149 CacheItem *it; in cache_insert() local 152 it = cache_get_by_addr(cache, addr); in cache_insert() 154 if (it->it_data && it->it_addr != addr && in cache_insert() 160 if (!it->it_data) { in cache_insert() 162 if (!it->it_data) { in cache_insert() 171 it->it_age = current_age; in cache_insert() [all …]
|
| /qemu/tests/tcg/hexagon/ |
| A D | signal_context.c | 37 struct itimerspec it; in main() local 49 it.it_interval.tv_sec = 0; in main() 50 it.it_interval.tv_nsec = 100000; in main() 51 it.it_value.tv_sec = 0; in main() 52 it.it_value.tv_nsec = 100000; in main() 53 timer_settime(tid, 0, &it, NULL); in main()
|
| /qemu/contrib/plugins/ |
| A D | hotblocks.c | 62 GList *counts, *it; in plugin_exit() local 68 it = g_list_sort(counts, cmp_exec_count); in plugin_exit() 70 if (it) { in plugin_exit() 73 for (i = 0; i < limit && it->next; i++, it = it->next) { in plugin_exit() 74 ExecCount *rec = (ExecCount *) it->data; in plugin_exit() 83 g_list_free(it); in plugin_exit()
|
| A D | hotpages.c | 84 GList *it; in plugin_exit() local 86 it = g_list_sort(counts, cmp_access_count); in plugin_exit() 88 for (i = 0; i < limit && it->next; i++, it = it->next) { in plugin_exit() 89 PageCounters *rec = (PageCounters *) it->data; in plugin_exit() 97 g_list_free(it); in plugin_exit()
|
| A D | hwprofile.c | 125 GList *it; in plugin_exit() local 127 it = g_list_sort(counts, sort_cmp); in plugin_exit() 129 while (it) { in plugin_exit() 130 DeviceCounts *rec = (DeviceCounts *) it->data; in plugin_exit() 148 it = it->next; in plugin_exit() 150 g_list_free(it); in plugin_exit()
|
| /qemu/ebpf/ |
| A D | ebpf.c | 43 struct ElfBinaryDataEntry *it = NULL; in ebpf_find_binary_by_id() local 44 QSLIST_FOREACH(it, &ebpf_elf_obj_list, node) { in ebpf_find_binary_by_id() 45 if (id == it->id) { in ebpf_find_binary_by_id() 46 *sz = it->datalen; in ebpf_find_binary_by_id() 47 return it->data; in ebpf_find_binary_by_id()
|
| /qemu/hw/cxl/ |
| A D | cxl-host.c | 77 GList *it; in cxl_fmws_link_targets() local 79 for (it = cxl_state->fixed_windows; it; it = it->next) { in cxl_fmws_link_targets() 80 CXLFixedWindow *fw = it->data; in cxl_fmws_link_targets() 329 CXLFixedMemoryWindowOptionsList *it; in machine_set_cfmw() local 336 for (it = cfmw_list; it; it = it->next) { in machine_set_cfmw() 337 cxl_fixed_memory_window_config(state, it->value, errp); in machine_set_cfmw()
|
| /qemu/tests/tcg/multiarch/ |
| A D | signals.c | 110 struct itimerspec it; in test_signals() local 126 it.it_interval.tv_sec = 0; in test_signals() 127 it.it_interval.tv_nsec = 1000000; in test_signals() 128 it.it_value.tv_sec = 0; in test_signals() 129 it.it_value.tv_nsec = 1000000; in test_signals() 130 chk_error(timer_settime(tid, 0, &it, NULL)); in test_signals()
|
| /qemu/docs/devel/ |
| A D | reset.rst | 26 instantly reset an object, without keeping it in reset state, just call 59 This is only used for S390 CPU objects; it clears interrupts, stops 63 This is only used for S390 CPU objects; it does everything 78 maintaining a count of in-progress resets; it is crucial to call 106 it but not the controller. 251 it will probably need to ignore it while in reset; then it can for 270 people can ignore it. 309 a reset operation it must be used only in *hold* phase. Using it in *enter* or 311 Also it should not be used during machine creation, although it is harmless to 339 the current machine, if it has one. That method must call [all …]
|
| A D | writing-monitor-commands.rst | 7 This document doesn't discuss QMP protocol level details, nor does it dive 29 1. Define the command and any types it needs in the appropriate QAPI 142 because it's the easiest way to demonstrate a QMP command 150 you don't see it then something went wrong. 175 'int'. Also notice the asterisk, it's used to mark the argument 229 it does contain it, we want the "hello-world" command to return an error:: 297 Add it to monitor/hmp-cmds.c. Also, add its prototype to 314 we should add it to the hmp-commands.hx file:: 511 string, then you should g_free() to free it. 515 errors; you could instead pass it &error_abort then. [all …]
|
| A D | style.rst | 106 let them keep doing it. 189 and clarity it comes on a line by itself: 200 Furthermore, it is the QEMU coding style. 301 already included it. 341 If it's file-size related, use off_t. 342 If it's file-offset related (i.e., signed), use off_t. 343 If it's just counting small numbers use "unsigned int"; 401 it points to, or it is aliased to another pointer that is. 755 handle it. This can be done in various ways. 813 it is obvious that numbers are in hex, ex.: [all …]
|
| /qemu/docs/devel/migration/ |
| A D | compatibility.rst | 43 This have to work, and if it doesn't work it is a bug. 70 Now it comes the interesting ones, when both QEMU processes are 103 feature, because qemu-5.1 doesn't know about it. 115 macros that exist. With it, we set the default value for that 144 that when it is running pc-5.1, it needs to set the number of queues 210 It changes the default value of num_queues. But it fishes it for old 264 destination, it will find that the hardware is not there. 306 used in this example because it makes the example simpler. 325 Let see how it worked with one example. 410 of breakage happens, but in this case it is quite simple:: [all …]
|
| /qemu/linux-headers/LICENSES/preferred/ |
| A D | GPL-2.0 | 26 of this license document, but changing it is not allowed. 31 freedom to share and change it. By contrast, the GNU General Public 37 the GNU Library General Public License instead.) You can apply it to 44 if you want it, that you can change the software or use pieces of it 50 distribute copies of the software, or if you modify it. 86 that is to say, a work containing the Program or a portion of it, 99 source code as you receive it, in any medium, provided that you 110 of it, thus forming a work based on the Program, and copy and 123 when run, you must cause it, when started running for such 206 the Program or works based on it. [all …]
|
| /qemu/ |
| A D | COPYING | 7 of this license document, but changing it is not allowed. 12 freedom to share and change it. By contrast, the GNU General Public 18 the GNU Lesser General Public License instead.) You can apply it to 25 if you want it, that you can change the software or use pieces of it 31 distribute copies of the software, or if you modify it. 67 that is to say, a work containing the Program or a portion of it, 80 source code as you receive it, in any medium, provided that you 91 of it, thus forming a work based on the Program, and copy and 104 when run, you must cause it, when started running for such 187 the Program or works based on it. [all …]
|
| /qemu/qga/ |
| A D | commands.c | 228 const strList *it; in guest_exec_get_args() local 234 for (it = entry; it != NULL; it = it->next) { in guest_exec_get_args() 236 str_size += 1 + strlen(it->value); in guest_exec_get_args() 242 for (it = entry; it != NULL; it = it->next) { in guest_exec_get_args() 243 args[i++] = it->value; in guest_exec_get_args() 244 pstrcat(str, str_size, it->value); in guest_exec_get_args() 245 if (it->next) { in guest_exec_get_args()
|
| /qemu/docs/specs/ |
| A D | acpi_mem_hotplug.rst | 56 reserved, writes into it are ignored 63 reserved, OSPM must clear it before writing to register. 65 when other fields are written. Keep it reserved and don't 66 try to reuse it. 69 after it has emitted device check event for the 73 after it has emitted device eject request for the 76 if set to 1 initiates device eject, set by OSPM when it
|
| A D | ivshmem-spec.rst | 8 shared memory area, it is modeled by QEMU as a PCI device exposing 11 The device can use a shared memory object on the host directly, or it 24 QEMU 2.6.0, it had revision 0. 38 you have access to the shared memory in the guest and can use it as 54 it is configured for interrupts. 87 is received. Reading the register clears it. 90 this is zero. Else, it is the device's ID (between 0 and 65535). 109 If the peer with the requested ID isn't connected, or it has fewer 190 close the connection on receipt of versions it can't handle. 204 vectors, it closes the extra file descriptors. If it is configured [all …]
|
| /qemu/docs/system/i386/ |
| A D | hyperv.rst | 41 This feature tells guest OS to disable watchdog timeouts as it is running on a 46 Provides so-called VP Assist page MSR to guest allowing it to work with APIC 71 by the guest when it crashes, HV_X64_MSR_CRASH_P0..HV_X64_MSR_CRASH_P5 MSRs 134 itself by writing to it. Even when this MSR is enabled, it is not a recommended 135 way for Windows to perform system reboot and thus it may not be used. 144 enabled, it provides HV_X64_MSR_REENLIGHTENMENT_CONTROL (0x40000106), 167 without the feature to find out if enabling it is beneficial. 230 enabled, it allows L0 (KVM) and L1 (Hyper-V) hypervisors to collaborate to 263 In some cases (e.g. during development) it may make sense to use QEMU in 291 emulating specific Hyper-V version, ...), it is recommended to enable all [all …]
|
| /qemu/target/ppc/translate/ |
| A D | misc-impl.c.inc | 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 11 * This library is distributed in the hope that it will be useful, 32 * 440, where it an execution serialisation point that requires all 46 * In ISA v3.1, the L field grew one bit. Mask that out to ignore it in 48 * it too. 120 * and it is not possible to special-case more relaxed ordering for 127 * tell the CPU it is a store-forwarding barrier.
|
| /qemu/tests/tcg/multiarch/linux/ |
| A D | linux-test.c | 456 struct itimerval it, oit; in test_signal() local 467 it.it_interval.tv_sec = 0; in test_signal() 468 it.it_interval.tv_usec = 10 * 1000; in test_signal() 469 it.it_value.tv_sec = 0; in test_signal() 470 it.it_value.tv_usec = 10 * 1000; in test_signal() 471 chk_error(setitimer(ITIMER_REAL, &it, NULL)); in test_signal() 479 it.it_interval.tv_sec = 0; in test_signal() 480 it.it_interval.tv_usec = 0; in test_signal() 481 it.it_value.tv_sec = 0; in test_signal() 482 it.it_value.tv_usec = 0; in test_signal() [all …]
|
| /qemu/.gitlab-ci.d/cirrus/ |
| A D | README.rst | 5 While it is possible to provide private runners for non-Linux platforms this 17 This repository needs to exist for cirrus-run to work, but it doesn't need to 18 be kept up to date, so you can create it and then forget about it; 27 * it may be necessary to push an empty ``.cirrus.yml`` file to your github fork 41 of it can impersonate you as far as Cirrus CI is concerned.
|
| /qemu/docs/system/ |
| A D | vnc-security.rst | 16 authentication. For this setup it is recommended to restrict it to 34 Since the protocol limits passwords to 8 characters it should not be 40 mode as it requires the use of the DES cipher. Password authentication 75 with file mode 0600 to only be readable by the user owning it. 84 certificate, which it will then validate against the CA certificate. 122 configured. If the chosen mechanism also provides a SSF layer, then it 139 layers, then it is strongly advised to run it in combination with TLS 161 environment variable SASL_CONF_PATH can be used to make it search 164 If the TLS option is enabled for VNC, then it will provide session 169 versions of QEMU referred to the DIGEST-MD5 mechanism, however, it has
|
| /qemu/hw/acpi/ |
| A D | cxl.c | 140 GList *it; in cedt_build_cfmws() local 142 for (it = cxls->fixed_windows; it; it = it->next) { in cedt_build_cfmws() 143 CXLFixedWindow *fw = it->data; in cedt_build_cfmws()
|