[PATCH v3 0/2] virtio-spi: Sync Linux headers and add vhost-user-spi device support

Haixu Cui posted 2 patches 1 month, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251216032122.1316684-1-quic._5Fhaixcui@quicinc.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Haixu Cui <quic_haixcui@quicinc.com>, "Michael S. Tsirkin" <mst@redhat.com>, Stefano Garzarella <sgarzare@redhat.com>, Cornelia Huck <cohuck@redhat.com>
[PATCH v3 0/2] virtio-spi: Sync Linux headers and add vhost-user-spi device support
Posted by Haixu Cui 1 month, 3 weeks ago
This patch series introduces vhost-user-spi device support to QEMU
and synchronizes relevant standard headers from upstream Linux.

The series consists of the following changes:
1. Synchronize virtio_spi.h from Linux kernel (v6.18-rc3) using
   scripts/update-linux-headers.sh.
2. Implement vhost-user-spi and vhost-user-spi-pci devices in QEMU,
   enabling virtio-based SPI communication via the vhost-user protocol.

The new device implementation follows the virtio-spi specification and
leverages the upstream Linux virtio-spi driver. This enables QEMU to emulate
SPI devices using the vhost-user protocol, facilitating integration with external
SPI daemons and improving virtualization support for SPI peripherals.

Changes between V3 and V2:
- Removed the patch to update virtio_ids.h since it is already updated
Changes between V2 and V1:
- Added vhost-user-spi entry in docs/system/devices/virtio/vhost-user.rst
Re: [PATCH v3 0/2] virtio-spi: Sync Linux headers and add vhost-user-spi device support
Posted by Haixu Cui 3 weeks, 6 days ago
Hi QEMU developers,

I’m following up on my patch posted on 12/16/2025, and haven’t received 
any review yet.

Could you please take a look when you get a chance? I’m happy to update 
it based on feedback.

Thanks,
Haixu

On 12/16/2025 11:21 AM, Haixu Cui wrote:
> This patch series introduces vhost-user-spi device support to QEMU
> and synchronizes relevant standard headers from upstream Linux.
> 
> The series consists of the following changes:
> 1. Synchronize virtio_spi.h from Linux kernel (v6.18-rc3) using
>     scripts/update-linux-headers.sh.
> 2. Implement vhost-user-spi and vhost-user-spi-pci devices in QEMU,
>     enabling virtio-based SPI communication via the vhost-user protocol.
> 
> The new device implementation follows the virtio-spi specification and
> leverages the upstream Linux virtio-spi driver. This enables QEMU to emulate
> SPI devices using the vhost-user protocol, facilitating integration with external
> SPI daemons and improving virtualization support for SPI peripherals.
> 
> Changes between V3 and V2:
> - Removed the patch to update virtio_ids.h since it is already updated
> Changes between V2 and V1:
> - Added vhost-user-spi entry in docs/system/devices/virtio/vhost-user.rst
> 
> 
> 
> 


Re: [PATCH v3 0/2] virtio-spi: Sync Linux headers and add vhost-user-spi device support
Posted by Michael S. Tsirkin 3 weeks, 6 days ago
On Tue, Jan 13, 2026 at 03:20:57PM +0800, Haixu Cui wrote:
> Hi QEMU developers,
> 
> I’m following up on my patch posted on 12/16/2025, and haven’t received any
> review yet.
> 
> Could you please take a look when you get a chance? I’m happy to update it
> based on feedback.
> 
> Thanks,
> Haixu

I already tagged this, will follow up shortly.