Lines Matching full:uuid
16 #include "qemu/uuid.h"
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
44 bool virtio_add_dmabuf(QemuUUID *uuid, int dmabuf_fd);
48 * resource with the associated UUID
49 * @uuid: new resource's UUID
53 * Return: true if the UUID did not exist and the device has been tracked,
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
58 bool virtio_add_vhost_device(QemuUUID *uuid, struct vhost_dev *dev);
62 * @uuid: resource's UUID
64 * Return: true if the UUID has been found and removed from the lookup table.
66 bool virtio_remove_resource(const QemuUUID *uuid);
70 * @uuid: resource's UUID
74 int virtio_lookup_dmabuf(const QemuUUID *uuid);
79 * @uuid: resource's UUID
83 struct vhost_dev *virtio_lookup_vhost_device(const QemuUUID *uuid);
87 * @uuid: resource's UUID
89 * Return: the type of resource associated with the UUID, or TYPE_INVALID if
92 SharedObjectType virtio_object_type(const QemuUUID *uuid);