Re: [RFC 1/1] vfio: support CXL device in VFIO stub

2024-10-11 Thread Alex Williamson
On Sat, 21 Sep 2024 00:14:40 -0700 Zhi Wang wrote: > To support CXL device passthrough, vfio-cxl-core is introduced. This > is the QEMU part. > > Get the CXL caps from the vfio-cxl-core. Trap and emulate the HDM > decoder registers. Map the HDM decdoers when the guest commits a HDM > decoder. I

[RFC 1/1] vfio: support CXL device in VFIO stub

2024-09-21 Thread Zhi Wang
To support CXL device passthrough, vfio-cxl-core is introduced. This is the QEMU part. Get the CXL caps from the vfio-cxl-core. Trap and emulate the HDM decoder registers. Map the HDM decdoers when the guest commits a HDM decoder. Signed-off-by: Zhi Wang --- hw/vfio/common.c | 3