Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for emulating CXL devices #736

Open
sbates130272 opened this issue May 24, 2023 · 3 comments
Open

Add support for emulating CXL devices #736

sbates130272 opened this issue May 24, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@sbates130272
Copy link

CXL is based off PCIe such that one of the CXL modes (CXL.io) is effectively PCIe TLPs transported over CXL flits. I think is should be possible to add CXL device emulation support to libvfio-user and to add similar support in client applications like QEMU. This would allow us to quickly develop and experiment with all sorts of virtual CXL devices.

Note that QEMU does already have native support for some types of CXL devices but adding support to libvfio-user would allow us to add other types of devices with polluting the upstream QEMU.

@tmakatos
Copy link
Member

I don't know anything about CXL, probably @jlevon knows more. Assuming support for CXL doesn't interfere with standard PCIe emulation then I don't see why we wouldn't take it. @sbates130272 are you planning to take a stab at it?

@sbates130272
Copy link
Author

Ha @tmakatos I will wait for @jlevon and others to comment on this. I am pretty sure this can be done in a way that does not interfere with PCIe emulation but it is not clear to me how easy (or hard) this will be to implement.

@jlevon jlevon added the enhancement New feature or request label May 25, 2023
@jlevon
Copy link
Collaborator

jlevon commented May 25, 2023

This would be great, for sure, but it's nothing something we (Nutanix) are planning on working on any time soon.
We take PRs ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants