Skip to content

feat(virtio): remove VirtqEntry and initialize Virtq#520

Merged
veqcc merged 1 commit intomainfrom
fix/virtio_entry
Jun 23, 2025
Merged

feat(virtio): remove VirtqEntry and initialize Virtq#520
veqcc merged 1 commit intomainfrom
fix/virtio_entry

Conversation

@veqcc
Copy link
Copy Markdown
Contributor

@veqcc veqcc commented Jun 19, 2025

Description

Since we do not support indirect descriptor for now, VirtqEntry is removed.
Also, Virtq initialization is moved from new to init.

Related links

init is based on OpenBSD virtio_init_vq
https://github.com/openbsd/src/blob/0522604e87f8b32b97a1f0b5210297cc1cc5c3b1/sys/dev/pv/virtio.c#L308

OpenBSD virtio_alloc_vq
https://github.com/openbsd/src/blob/0522604e87f8b32b97a1f0b5210297cc1cc5c3b1/sys/dev/pv/virtio.c#L357

How was this PR tested?

Tested in #465

Notes for reviewers

Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
@veqcc veqcc self-assigned this Jun 19, 2025
@veqcc veqcc requested review from Koichi98 and ytakano June 19, 2025 09:12
@veqcc veqcc merged commit a889743 into main Jun 23, 2025
1 check passed
@veqcc veqcc deleted the fix/virtio_entry branch June 23, 2025 04:25
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.

2 participants