Lines Matching +full:virtio +full:- +full:device
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 /* Userspace interface for in-kernel virtio accelerators. */
6 /* vhost is used to reduce the number of system calls involved in virtio.
8 * Existing virtio net code is used in the guest without modification.
11 * device configuration.
18 #define VHOST_FILE_UNBIND -1
33 /* Give up ownership, and reset the device to default values.
51 * be modified while ring is running (bound to a device). */
61 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL).
62 * The byte order cannot be changed while the device is active: trying to do so
63 * returns -EBUSY.
102 /* Attach virtio net ring to a raw socket, or tap device.
103 * The socket must be already bound to an ethernet device, this device will be
104 * used for transmit. Pass fd -1 to unbind from the socket and the transmit
105 * device. This can be used to stop the ring (e.g. for migration). */
125 /* Get the device id. The device ids follow the same definition of
126 * the device id defined in virtio-spec.
130 * of the device status defined in virtio-spec.
134 /* Get and set the device config. The device config follows the same
135 * definition of the device config defined in virtio-spec.