Home
last modified time | relevance | path

Searched refs:a (Results 376 – 400 of 1353) sorted by relevance

1...<<11121314151617181920>>...55

/qemu/tcg/
H A Dtcg-pool.c.inc4 * Permission is hereby granted, free of charge, to any person obtaining a copy
128 void *a;
136 a = (void *)ROUND_UP((uintptr_t)s->code_ptr,
138 tcg_out_nop_fill(s->code_ptr, (tcg_insn_unit *)a - s->code_ptr);
139 s->data_gen_ptr = a;
146 if (unlikely(a > s->code_gen_highwater)) {
149 memcpy(a, p->data, size);
150 a += size;
154 value = (uintptr_t)tcg_splitwx_to_rx(a) - size;
160 s->code_ptr = a;
/qemu/docs/
H A Dmemory-hotplug.txt29 Creates a guest with 1GB of memory and three hotpluggable memory slots.
37 - "object_add": creates a memory backend object
38 - "device_add": creates a front-end pc-dimm device and inserts it
50 Besides basic RAM hotplug, QEMU also supports using files as a memory
55 the /mnt/hugepages-1GB directory, a 1GB hugepage could be hotplugged
61 It's also possible to start a guest with memory cold-plugged into the
63 but this allows for a lot of flexibility when using the file backend.
66 comes from regular RAM, 1GB is a 1GB hugepage page and 256MB is from
86 - "device_del": deletes a front-end pc-dimm device
87 - "object_del": deletes a memory backend object
H A Dmultiseat.txt8 First you must compile qemu with a user interface supporting
36 This places a pci bridge in slot 12, connects a display adapter and
37 xhci (usb) controller to the bridge. Then it adds a usb keyboard and
58 device. The gtk ui will start with a single window and each display
59 in a separate tab. You can either simply switch tabs to switch heads,
76 Fixing this needs a new or extended input interface between
85 You need a pretty recent linux guest. systemd with loginctl. kernel
100 below it belong to a separate seat by dropping a file into
126 QEMU version 2.4 and newer has a new pci-bridge-seat device which
130 with a nice generic rule now, which simplifies the guest
[all …]
H A Dpcie.txt25 QEMU does not have a clear socket-device matching mechanism
28 Plugging a PCI device into a PCI Express slot might not always work and
30 Plugging a PCI Express device into a PCI slot will hide the Extended
67 2.1.1 To plug a device into pcie.0 as a Root Complex Integrated Endpoint use:
69 2.1.2 To expose a new PCI Express Root Bus use:
82 PCI Express Root Port is a function and a multi-function
87 to keep a simple flat hierarchy that is enough for most scenarios.
114 2.2.1 Plugging a PCI Express device into a PCI Express Root Port:
121 2.2.3 Plugging a PCI Express device into a Switch:
164 2.3.2 Plugging a PCI device into a PCI-PCI Bridge:
[all …]
/qemu/tests/unit/
H A Dtest-qtree.c14 static gint my_compare(gconstpointer a, gconstpointer b) in my_compare() argument
16 const char *cha = a; in my_compare()
22 static gint my_compare_with_data(gconstpointer a, in my_compare_with_data() argument
26 const char *cha = a; in my_compare_with_data()
35 static gint my_search(gconstpointer a, gconstpointer b) in my_search() argument
37 return my_compare(b, a); in my_search()
304 gint a, b; in test_tree_insert() local
306 a = g_random_int_range(0, strlen(scrambled)); in test_tree_insert()
308 tmp = scrambled[a]; in test_tree_insert()
309 scrambled[a] = scrambled[b]; in test_tree_insert()
/qemu/include/hw/xen/interface/
H A Dxen.h967 uint8_t a[16]; member
981 #define XEN_DEFINE_UUID_(a, b, c, d, e1, e2, e3, e4, e5, e6) \ argument
982 {{((a) >> 24) & 0xFF, ((a) >> 16) & 0xFF, \
983 ((a) >> 8) & 0xFF, ((a) >> 0) & 0xFF, \
990 #define XEN_DEFINE_UUID(a, b, c, d, e1, e2, e3, e4, e5, e6) \ argument
991 ((xen_uuid_t)XEN_DEFINE_UUID_(a, b, c, d, e1, e2, e3, e4, e5, e6))
993 #define XEN_DEFINE_UUID(a, b, c, d, e1, e2, e3, e4, e5, e6) \ argument
994 XEN_DEFINE_UUID_(a, b, c, d, e1, e2, e3, e4, e5, e6)
/qemu/target/ppc/translate/
H A Dmisc-impl.c.inc16 * You should have received a copy of the GNU Lesser General Public
24 static bool trans_SYNC(DisasContext *ctx, arg_X_sync *a)
27 uint32_t l = a->l;
28 uint32_t sc = a->sc;
65 * We may need to check for a pending TLB flush.
82 static bool trans_EIEIO(DisasContext *ctx, arg_EIEIO *a)
126 * POWER9 has a eieio instruction variant using bit 6 as a hint to
127 * tell the CPU it is a store-forwarding barrier.
149 static bool trans_ATTN(DisasContext *ctx, arg_ATTN *a)
/qemu/accel/tcg/
H A Dldst_atomicity.c.inc228 uint32_t a, b;
231 a = load_atomic4(pv);
251 uint64_t a, b;
254 a = load_atomic8(pv);
333 return (a << 16) | b;
335 return (b << 16) | a;
541 uint64_t a, b;
557 a = load_atom_8_by_2(pv);
568 a = load_atomic8(pv);
583 return int128_make128(HOST_BIG_ENDIAN ? b : a, HOST_BIG_ENDIAN ? a : b);
[all …]
/qemu/docs/system/s390x/
H A Dcpu-topology.rst7 topology containers: drawers, books and sockets. They define a
11 Each of these CPU entries consists of a bitmap and three CPU attributes:
17 Each bit set in the bitmap correspond to a core-id of a vCPU with matching
82 When a CPU is defined by the ``-device`` command argument, the
101 CPU topology defined explicitly or implicitly on a ``-device``
155 As we have 4 cores in a socket, we have 4 CPUs provided
197 - a vCPU with vertical high entitlement specifies that this
200 - a vCPU with vertical medium entitlement specifies that this
203 - a vCPU with vertical low entitlement specifies that this
206 In the case a vCPU with vertical high entitlement does not use
[all …]
/qemu/docs/system/riscv/
H A Dsifive_u.rst31 With QEMU, one can create a machine with 1 E51 core and up to 4 U54 cores. It
32 is also possible to create a 32-bit variant with the same peripherals except
39 The ``sifive_u`` machine automatically generates a device tree blob ("dtb")
43 that are present in the generated DTB instead of using a DTB for the real
53 * Should contain a node for the CLINT device with a compatible string
60 for loading a Linux kernel, a VxWorks kernel, a modified U-Boot bootloader
77 it to generate a unique MAC address to be programmed to the on-chip GEM
135 Alternatively, we can use a custom DTB to boot the machine by inserting a CLINT
183 create a VxWorks source build project based on the sifive_generic BSP, and a
230 A sample configuration file for a 128 MiB SD card image is:
[all …]
/qemu/qapi/
H A Dvirtio.json12 # Basic information about a given VirtIODevice
27 # Returns a list of all realized VirtIODevices
71 # Information about a vhost device. This information will only be
162 # @vhost-dev: Corresponding vhost device info for a given
194 # Poll for a comprehensive status of a given virtio device
550 # Return the status of a given VirtIODevice's VirtQueue
563 # selected VirtIODevice has a running vhost device and the
567 # selected VirtIODevice has a running vhost device.
767 # Information regarding the avail vring (a.k.a. driver area)
785 # Information regarding the used vring (a.k.a. device area)
[all …]
/qemu/net/
H A Dannounce.c131 mac->a[0], mac->a[1], mac->a[2], mac->a[3], mac->a[4], mac->a[5]); in qemu_ether_ntoa()
165 len = announce_self_create(buf, nic->conf->macaddr.a); in qemu_announce_self_iter()
/qemu/docs/system/
H A Dconfidential-guest-support.rst4 Traditionally, hypervisors such as QEMU have complete access to a
5 guest's memory and other state, meaning that a compromised hypervisor
8 protection from a compromised hypervisor. This is obviously
17 Running a Confidential Guest
20 To run a confidential guest you need to add two command line parameters:
22 1. Use ``-object`` to create a "confidential guest support" object. The
H A Dqemu-manpage.rst31 disk_image is a raw hard disk image for IDE hard disk 0. Some targets do
32 not need a disk image.
35 commas, such as in "file=my,file" and "string=a,b", it's necessary to
36 double the commas. For instance,"-fw_cfg name=z,string=a,,b" will be
37 parsed as "-fw_cfg name=z,string=a,b".
/qemu/docs/specs/
H A Dacpi_hw_reduced_hotplug.rst5 The ACPI *Generic Event Device* (GED) is a HW reduced platform
7 events, including the hotplug ones. GED is modelled as a device
8 in the namespace with a _HID defined to be ACPI0013. This document
12 statements. It follows a very similar approach to the _EVT method
14 is written in _EVT method. However, the QEMU implementation uses a
17 we can support up to 32 events with a unique interrupt.
/qemu/target/riscv/insn_trans/
H A Dtrans_svinval.c.inc15 * You should have received a copy of the GNU General Public License along with
25 static bool trans_sinval_vma(DisasContext *ctx, arg_sinval_vma *a)
38 static bool trans_sfence_w_inval(DisasContext *ctx, arg_sfence_w_inval *a)
46 static bool trans_sfence_inval_ir(DisasContext *ctx, arg_sfence_inval_ir *a)
54 static bool trans_hinval_vvma(DisasContext *ctx, arg_hinval_vvma *a)
67 static bool trans_hinval_gvma(DisasContext *ctx, arg_hinval_gvma *a)
/qemu/docs/system/arm/
H A Dxenpvh.rst4 This machine is a little unusual compared to others as QEMU just acts
8 When TPM is enabled, this machine also creates a tpm-tis-device at a
9 user input tpm base address, adds a TPM emulator and connects to a
11 enables xenpvh to support TPM functionalities for a guest domain.
/qemu/docs/about/
H A Dindex.rst5 QEMU is a generic and open source machine emulator and virtualizer.
8 :ref:`System Emulation`, where it provides a virtual model of an
9 entire machine (CPU, memory and emulated devices) to run a guest OS.
10 In this mode the CPU may be fully emulated, or it may work with a
18 QEMU also provides a number of standalone :ref:`command line
/qemu/plugins/
H A Dmeson.build20 # Generate a .lib file for plugins to link against.
21 # First, create a .def file listing all the symbols a plugin should expect to have
28 # then use dlltool to assemble a delaylib.
31 output: 'libqemu_plugin_api.a',
/qemu/docs/system/devices/
H A Dvhost-user-input.rst7 The Virtio input device is a paravirtualized device for input events.
12 The vhost-user-input device implementation was designed to work with a daemon
15 QEMU provides a backend implementation in contrib/vhost-user-input.
20 Virtio input requires a guest Linux kernel built with the
33 The QEMU invocation needs to create a chardev socket to communicate with the
/qemu/docs/interop/
H A Dfirmware.json50 # be mapped into a pflash chip each.
52 # @kernel: The firmware is to be loaded like a Linux kernel. This is
153 # Furthermore, a large guest-physical address space
155 # PCI MMIO aperture), and/or a high VCPU count, may
336 # Provides a discriminated structure for firmware to describe its
354 # Describes a firmware (or a firmware use case) to management software.
379 # Management software should build a list of files from all three
383 # directory has a file with same name as a less specific directory, then
387 # For example, if a distro ships
401 # or they can provide a parallel OVMF with higher priority
[all …]
H A Dvhost-user.json175 # Describes a vhost user backend to management software.
183 # containing a single @VhostUserBackend root element) with a
201 # Management software should build a list of files from all three
204 # the sorted list that matches the search criteria. If a more specific
205 # directory has a file with same name as a less specific directory,
209 # For example, if a distro ships
223 # or they can provide a parallel QEMU GPU with higher priority
227 # or they can provide a parallel QEMU GPU with lower priority
233 # @description: Provides a human-readable description of the backend.
/qemu/hw/arm/
H A Daspeed_ast10x0.c104 Aspeed10x0SoCState *a = ASPEED10X0_SOC(s); in aspeed_soc_ast1030_get_irq() local
112 Aspeed10x0SoCState *a = ASPEED10X0_SOC(obj); in aspeed_soc_ast1030_init() local
190 Aspeed10x0SoCState *a = ASPEED10X0_SOC(dev_soc); in aspeed_soc_ast1030_realize() local
212 armv7m = DEVICE(&a->armv7m); in aspeed_soc_ast1030_realize()
216 object_property_set_link(OBJECT(&a->armv7m), "memory", in aspeed_soc_ast1030_realize()
255 qemu_irq irq = qdev_get_gpio_in(DEVICE(&a->armv7m), in aspeed_soc_ast1030_realize()
267 qemu_irq irq = qdev_get_gpio_in(DEVICE(&a->armv7m), in aspeed_soc_ast1030_realize()
296 qdev_get_gpio_in(DEVICE(&a->armv7m), in aspeed_soc_ast1030_realize()
300 qdev_get_gpio_in(DEVICE(&a->armv7m), in aspeed_soc_ast1030_realize()
304 qdev_get_gpio_in(DEVICE(&a->armv7m), in aspeed_soc_ast1030_realize()
[all …]
/qemu/tests/tcg/alpha/
H A Dtest-cond.c6 int test_##N (long a) \
11 : "+r" (res) : "r" (a)); \
18 int test_##N (long a) \
25 : "+r" (res) : "r" (a)); \
/qemu/tests/qemu-iotests/
H A D233.out4 Generating a self signed certificate...
5 Generating a self signed certificate...
6 Generating a signed certificate...
7 Generating a signed certificate...
8 Generating a signed certificate...
9 Generating a signed certificate...
10 Generating a random key for user 'psk1'
11 Generating a random key for user 'psk2'
25 Did you forget a valid tls-creds?
60 …pen 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': The certificate hasn't got a known issuer
[all …]

1...<<11121314151617181920>>...55