Lines Matching +full:num +full:- +full:guest +full:- +full:ids
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 /* Userspace interface for in-kernel virtio accelerators. */
8 * Existing virtio net code is used in the guest without modification.
18 #define VHOST_FILE_UNBIND -1
76 /* Get accessor: reads index, writes value in num */
79 /* Set the vring byte order in num. Valid values are VHOST_VRING_LITTLE_ENDIAN
80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL).
82 * returns -EBUSY.
130 * used for transmit. Pass fd -1 to unbind from the socket and the transmit
151 /* Get the device id. The device ids follow the same definition of
152 * the device id defined in virtio-spec.
156 * of the device status defined in virtio-spec.
161 * definition of the device config defined in virtio-spec.
185 /* Get the group for a virtqueue: read index, write group in num,
188 * returned via num field of vhost_vring_state.
194 * group is stored at num field of vhost_vring_state.
217 * of a virtqueue: read index, write group in num.
220 * is returned via num field of vhost_vring_state.
234 * kernel set the queue size in vhost_vring_state.num