Skip to content

RTVM: using io_uring can not bringup #8737

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

Open
476997779 opened this issue Sep 23, 2024 · 0 comments
Open

RTVM: using io_uring can not bringup #8737

476997779 opened this issue Sep 23, 2024 · 0 comments
Labels
status: new The issue status: new for creation

Comments

@476997779
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

Platform
Describe the platform information,

Codebase
Describe which codebase is used.

Scenario
Describe the scenario: Hybrid, Industry or logical_partition

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Attach the following logs if available:

  • native Linux boot kernel message log
  • ACRN serial port log (when issues happens)
  • Service VM kernel message when issue happens
  • acrn-dm log: all files in /var/log/acrn-tm
  • console log when running script to launch guest VM
@476997779 476997779 added the status: new The issue status: new for creation label Sep 23, 2024
YuanXin-Intel added a commit to YuanXin-Intel/acrn-hypervisor that referenced this issue May 20, 2025
Device model uses polling mode to fetch the virtio blk request in RTVM.
When RTVM brings up with io uring, the threads handling io uring and vq are
not same, which would cause competition. To fix this issue, device
model should handle vq and io uring in the same thread to avoid conflict.

Tracked-On: projectacrn#8737

Signed-off-by: YuanXin-Intel <[email protected]>
Reviewed-by: Jian Jun Chen <[email protected]>
acrnsi-robot pushed a commit that referenced this issue May 23, 2025
Device model uses polling mode to fetch the virtio blk request in RTVM.
When RTVM brings up with io uring, the threads handling io uring and vq are
not same, which would cause competition. To fix this issue, device
model should handle vq and io uring in the same thread to avoid conflict.

Tracked-On: #8737

Signed-off-by: YuanXin-Intel <[email protected]>
Reviewed-by: Jian Jun Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: new The issue status: new for creation
Projects
None yet
Development

No branches or pull requests

1 participant