Michael S. Tsirkin
2020-Dec-02 09:59 UTC
[PATCH 1/1] qemu vhost scsi: add VHOST_SET_VRING_ENABLE support
On Thu, Nov 12, 2020 at 05:19:00PM -0600, Mike Christie wrote:> diff --git a/linux-headers/linux/vhost.h b/linux-headers/linux/vhost.h > index 7523218..98dd919 100644 > --- a/linux-headers/linux/vhost.h > +++ b/linux-headers/linux/vhost.h > @@ -70,6 +70,7 @@ > #define VHOST_VRING_BIG_ENDIAN 1 > #define VHOST_SET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x13, struct vhost_vring_state) > #define VHOST_GET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x14, struct vhost_vring_state) > +#define VHOST_SET_VRING_ENABLE _IOW(VHOST_VIRTIO, 0x15, struct vhost_vring_state)OK so first we need the kernel patches, then update the header, then we can apply the qemu patch.> /* The following ioctls use eventfd file descriptors to signal and poll > * for events. */ > -- > 1.8.3.1