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

Implementation of a CXL mem device in qemu based on shared memory #16

Open
AndrewGavril opened this issue May 23, 2023 · 0 comments
Open
Labels
backlog This task is not relevant at the moment kernel Task related to kernel qemu Task related to qemu test technology Testing technologies

Comments

@AndrewGavril
Copy link
Collaborator

AndrewGavril commented May 23, 2023

Добавить новый тип устройства в qemu для cxl type 3 устройства:
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/mem/cxl_type3.c

  • на хосте создается shared mem
  • в qemu добавляется интерфейс для доступа к shared mem по имени (или же используется готовый интерфейс: https://qemu.readthedocs.io/en/latest/system/devices/ivshmem.html)
    Сложно:
  • добавляется устройство CXL type 3 с типом памяти не pmem или vmem, а shmem
  • реализация операций с этой памятью
@AndrewGavril AndrewGavril changed the title Реализация простейшего CXL EP драйвера Реализация CXL mem устройства в qemu на базе разделяемой памяти May 25, 2023
@mirrin00 mirrin00 added qemu Task related to qemu kernel Task related to kernel test technology Testing technologies labels Jul 10, 2023
@mirrin00 mirrin00 added the backlog This task is not relevant at the moment label Aug 6, 2023
@AndrewGavril AndrewGavril changed the title Реализация CXL mem устройства в qemu на базе разделяемой памяти Implementation of a CXL mem device in qemu based on shared memory Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This task is not relevant at the moment kernel Task related to kernel qemu Task related to qemu test technology Testing technologies
Projects
None yet
Development

No branches or pull requests

2 participants