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

[CI-NO-BUILD] [vioscsi] Align memory allocations #1313

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benyamin-codez
Copy link
Contributor

Refactors VioScsiFindAdapter() to:

  1. Pad the uncached extension to ensure it is page-aligned
  2. Update memory layout art
  3. Improve relevant instrumentation
  4. Adds VIRTIO_SCSI_MSI_CONTROL_Q_OFFSET and updates the QUEUE_TO_MESSAGE(QueueId) and MESSAGE_TO_QUEUE(MessageId) macros to use it (vioscsi.h)

Refactors VioScsiFindAdapter() to:

1. Pad the uncached extension to ensure it is page-aligned
2. Update memory layout art
3. Improve relevant instrumentation
4. Adds VIRTIO_SCSI_MSI_CONTROL_Q_OFFSET and updates the
   QUEUE_TO_MESSAGE(QueueId) and MESSAGE_TO_QUEUE(MessageId)
   macros to use it (vioscsi.h)

Signed-off-by: benyamin-codez <[email protected]>
@benyamin-codez
Copy link
Contributor Author

Shares some definitions with PR #1306. Waiting for that to merge before rebasing.

PR 1313 : I pray the devil isn't in the detail.... 8^O

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

Successfully merging this pull request may close these issues.

1 participant