Home
last modified time | relevance | path

Searched full:resource (Results 1 – 25 of 107) sorted by relevance

12345

/qemu/include/hw/virtio/
H A Dvirtio-dmabuf.h31 * virtio_add_dmabuf() - Add a new dma-buf resource to the lookup table
32 * @uuid: new resource's UUID
39 * Return: true if the UUID did not exist and the resource has been added,
40 * false if another resource with the same UUID already existed.
41 * Note that if it finds a repeated UUID, the resource is not inserted in
48 * resource with the associated UUID
49 * @uuid: new resource's UUID
50 * @dev: the pointer to the vhost device that holds the resource. The caller
54 * false if another resource with the same UUID already existed.
55 * Note that if it finds a repeated UUID, the resource is not inserted in
[all …]
/qemu/docs/specs/
H A Dppc-spapr-hotplug.rst18 a Dynamic Resource Connector (DRC) is used to assign a particular dynamic
19 resource to the guest, and provide an interface for the guest to manage
20 configuration/removal of the resource associated with it.
28 paths in the device tree depending on the type of resource the DRCs manage.
30 In some cases, the DRCs themselves may be provided by a dynamic resource,
48 consist of the type of the resource followed by a space and a numerical
77 ``1`` for CPU resource.
79 ``2`` for PHB resource.
81 ``3`` for VIO resource.
83 ``4`` for PCI resource.
[all …]
H A Dppc-spapr-numa.rst41 Each allocable resource has an ibm,associativity property. The LOPAPR
43 considering that the same resource can have multiple connections to the
143 way to calculate it. We have the ibm,associativity for each resource, which
244 resource. This would be used to represent that the resource has multiple
250 resource, neither does the pseries Linux kernel. We'll have to represent the
251 NUMA topology using one associativity per resource, which means that choices
386 * local distance, i.e. the distance of the resource to its own NUMA node: 10
388 * every other resource, distance: 40
H A Dppc-spapr-uv-hcalls.rst35 unwrap/unseal the symmetric key using the system's TPM device or a TPM Resource
66 including the TPM Resource Manager in the linux kernel.
/qemu/tests/unit/
H A Dtest-virtio-dmabuf.c33 /* Add a new resource */ in test_add_remove_resources()
36 /* Remove the resource */ in test_add_remove_resources()
38 /* Resource is not found anymore */ in test_add_remove_resources()
70 /* Removing a resource that does not exist returns false */ in test_remove_invalid_resource()
83 /* Add a new resource with invalid (negative) resource fd */ in test_add_invalid_resource()
85 /* Resource is not found */ in test_add_invalid_resource()
94 /* Add a valid resource */ in test_add_invalid_resource()
99 /* Add a new resource with repeated uuid returns false */ in test_add_invalid_resource()
/qemu/hw/mips/
H A Dloongson3_bootp.h140 uint64_t start; /* resource start address */
141 uint64_t end; /* resource end address */
151 /* for each device's resource */
152 struct resource_loongson resource[MAX_RESOURCE_NUMBER]; member
161 /* for each device's resource */
162 struct resource_loongson resource[MAX_RESOURCE_NUMBER]; member
/qemu/hw/display/
H A Dvirtio-gpu-virgl.c114 qemu_log_mask(LOG_GUEST_ERROR, "%s: failed to map virgl resource: %s\n", in virtio_gpu_virgl_map_resource_blob()
128 * MR could outlive the resource if MR's reference is held outside of in virtio_gpu_virgl_map_resource_blob()
129 * virtio-gpu. In order to prevent unmapping resource while MR is alive, in virtio_gpu_virgl_map_resource_blob()
172 "%s: failed to unmap virgl resource: %s\n", in virtio_gpu_virgl_unmap_resource_blob()
204 qemu_log_mask(LOG_GUEST_ERROR, "%s: resource id 0 is not allowed\n", in virgl_cmd_create_resource_2d()
212 qemu_log_mask(LOG_GUEST_ERROR, "%s: resource already exists %d\n", in virgl_cmd_create_resource_2d()
252 qemu_log_mask(LOG_GUEST_ERROR, "%s: resource id 0 is not allowed\n", in virgl_cmd_create_resource_3d()
260 qemu_log_mask(LOG_GUEST_ERROR, "%s: resource already exists %d\n", in virgl_cmd_create_resource_3d()
302 qemu_log_mask(LOG_GUEST_ERROR, "%s: resource does not exist %d\n", in virgl_cmd_resource_unref()
433 "%s: illegal resource specified %d\n", in virgl_cmd_set_scanout()
[all …]
H A Dvirtio-gpu.c138 qemu_log_mask(LOG_GUEST_ERROR, "%s: invalid resource specified %d\n", in virtio_gpu_find_check_resource()
255 qemu_log_mask(LOG_GUEST_ERROR, "%s: resource id 0 is not allowed\n", in virtio_gpu_resource_create_2d()
263 qemu_log_mask(LOG_GUEST_ERROR, "%s: resource already exists %d\n", in virtio_gpu_resource_create_2d()
304 "%s: resource creation failed %d %d %d\n", in virtio_gpu_resource_create_2d()
327 qemu_log_mask(LOG_GUEST_ERROR, "%s: resource id 0 is not allowed\n", in virtio_gpu_resource_create_blob()
342 qemu_log_mask(LOG_GUEST_ERROR, "%s: resource already exists %d\n", in virtio_gpu_resource_create_blob()
419 qemu_log_mask(LOG_GUEST_ERROR, "%s: illegal resource specified %d\n", in virtio_gpu_resource_unref()
457 qemu_log_mask(LOG_GUEST_ERROR, "%s: transfer bounds outside resource" in virtio_gpu_transfer_to_host_2d()
458 " bounds for resource %d: %d %d %d %d vs %d %d\n", in virtio_gpu_transfer_to_host_2d()
548 qemu_log_mask(LOG_GUEST_ERROR, "%s: flush bounds outside resource" in virtio_gpu_resource_flush()
[all …]
/qemu/tests/functional/qemu_test/
H A Ddecorators.py8 import resource
146 _, ulimit_memory = resource.getrlimit(resource.RLIMIT_MEMLOCK)
149 ulimit_memory == resource.RLIM_INFINITY or ulimit_memory >= locked_memory * 1024,
/qemu/bsd-user/
H A Dbsd-proc.h23 #include <sys/resource.h>
141 int resource = target_to_host_resource(arg1); in do_bsd_getrlimit() local
145 switch (resource) { in do_bsd_getrlimit()
159 ret = get_errno(getrlimit(resource, &rlim)); in do_bsd_getrlimit()
177 int resource = target_to_host_resource(arg1); in do_bsd_setrlimit() local
181 if (RLIMIT_STACK == resource) { in do_bsd_setrlimit()
191 ret = get_errno(setrlimit(resource, &rlim)); in do_bsd_setrlimit()
H A Dqemu-bsd.h24 #include <sys/resource.h>
27 #include <sys/resource.h>
H A Dbsd-proc.c24 #include <sys/resource.h>
34 * resource/rusage conversion
H A Derrno_defs.h50 #define TARGET_EDEADLK 11 /* Resource deadlock avoided */
79 #define TARGET_EAGAIN 35 /* Resource temporarily unavailable */
/qemu/include/qemu/
H A Dco-shared-resource.h3 * an abstract resource among multiple coroutines.
29 /* Accesses to co-shared-resource API are thread-safe */
35 * @total: total amount of some resource to be shared between clients
H A Dcompiler.h266 * function MUST hold the resource, the function will NOT release it.
277 * function MUST NOT hold resource, the function first acquires the
278 * resource, and then releases it.
288 * function MUST NOT hold the resource, the function will acquire the
289 * resource, but NOT release it.
300 * function MUST hold the resource, but the function will then release it.
319 * already hold the resource.
/qemu/subprojects/libvduse/include/
H A Dcompiler.h266 * function MUST hold the resource, the function will NOT release it.
277 * function MUST NOT hold resource, the function first acquires the
278 * resource, and then releases it.
288 * function MUST NOT hold the resource, the function will acquire the
289 * resource, but NOT release it.
300 * function MUST hold the resource, but the function will then release it.
319 * already hold the resource.
/qemu/subprojects/libvhost-user/include/
H A Dcompiler.h266 * function MUST hold the resource, the function will NOT release it.
277 * function MUST NOT hold resource, the function first acquires the
278 * resource, and then releases it.
288 * function MUST NOT hold the resource, the function will acquire the
289 * resource, but NOT release it.
300 * function MUST hold the resource, but the function will then release it.
319 * already hold the resource.
/qemu/contrib/vhost-user-gpu/
H A Dvhost-user-gpu.c365 g_critical("%s: resource id 0 is not allowed", __func__); in vg_resource_create_2d()
372 g_critical("%s: resource already exists %d", __func__, c2d.resource_id); in vg_resource_create_2d()
398 g_critical("%s: resource creation failed %d %d %d", in vg_resource_create_2d()
470 g_critical("%s: illegal resource specified %d", in vg_resource_unref()
511 g_critical("%s: resource %d element %d", in vg_create_mapping_iov()
536 g_critical("%s: illegal resource specified %d", in vg_resource_attach_backing()
584 g_critical("%s: illegal resource specified %d", in vg_resource_detach_backing()
609 g_critical("%s: illegal resource specified %d", in vg_transfer_to_host_2d()
621 g_critical("%s: transfer bounds outside resource" in vg_transfer_to_host_2d()
622 " bounds for resource %d: %d %d %d %d vs %d %d", in vg_transfer_to_host_2d()
[all …]
/qemu/include/hw/xen/interface/
H A Dmemory.h608 * Get the pages for a particular guest resource, so that they can be
613 /* IN - The domain whose resource is to be mapped */
615 /* IN - the type of resource */
623 * IN - a type-specific resource identifier, which must be zero
637 * As an IN parameter number of frames of the resource to be mapped.
641 * request for the size of the resource, which shall be returned in the
644 * The size of a resource will never be zero, but a nonzero result doesn't
670 * will be populated with the MFNs of the resource.
673 * that will be mapped to the MFNs of the resource.
/qemu/block/
H A Ddmg.c337 /* read offset from begin of resource fork (info_begin) to resource data */ in dmg_read_resource_fork()
346 /* read length of resource data */ in dmg_read_resource_fork()
355 /* begin of resource data (consisting of one or more resources) */ in dmg_read_resource_fork()
358 /* end of resource data (there is possibly a following resource map in dmg_read_resource_fork()
362 /* read offsets (mish blocks) from one or more resources in resource data */ in dmg_read_resource_fork()
364 /* size of following resource */ in dmg_read_resource_fork()
384 /* advance offset by size of resource */ in dmg_read_resource_fork()
510 /* offset of resource fork (RsrcForkOffset) */ in dmg_open()
/qemu/include/hw/acpi/
H A Daml-build.h114 * ACPI 1.0b: Table 6-26 I/O Resource Flag (Resource Type = 1) Definitions
124 * ACPI 1.0b: Table 6-25 Memory Resource Flag (Resource Type = 0) Definitions
135 * ACPI 1.0b: Table 6-25 Memory Resource Flag (Resource Type = 0) Definitions
/qemu/util/
H A Dqemu-co-shared-resource.c3 * an abstract resource among multiple coroutines.
28 #include "qemu/co-shared-resource.h"
/qemu/docs/system/
H A Dsecurity.rst63 virtual machine. Isolation also includes resource limits such as throttling of
64 CPU, memory, disk, or network. Guests must be unable to exceed their resource
126 - Resource limits and cgroup controllers provide throughput and utilization
/qemu/pc-bios/
H A Dqemu_logo.svg904 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
923 rdf:resource="http://creativecommons.org/licenses/by/3.0/" />
935 rdf:resource="http://creativecommons.org/ns#Reproduction" />
937 rdf:resource="http://creativecommons.org/ns#Distribution" />
939 rdf:resource="http://creativecommons.org/ns#Notice" />
941 rdf:resource="http://creativecommons.org/ns#Attribution" />
943 rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
/qemu/hw/xen/
H A Dxen-host-pci-device.c31 #define IORESOURCE_TYPE_BITS 0x00000f00 /* Resource type */
109 /* This size should be enough to read the first 7 lines of a resource file */
120 xen_host_pci_sysfs_path(d, "resource", path, sizeof(path)); in xen_host_pci_get_resource()

12345