Skip to content

QemuHCK: add modern virtio-rng device - #1129

Draft
bhbhatt wants to merge 1 commit into
HCK-CI:masterfrom
bhbhatt:viorng-modern
Draft

bhbhatt wants to merge 1 commit into
HCK-CI:masterfrom
bhbhatt:viorng-modern

Conversation

@bhbhatt

@bhbhatt bhbhatt commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Modern means QEMU must start virtio-rng with disable-legacy=on and disable-modern=off. That is a boot flag.
The default -d viorng device does not set those flags. The test JSON cannot add them after the VM is up.

Signed-off-by: Bhanuja Bhatt <bhbhatt@redhat.com>

@kostyanf14 kostyanf14 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

virtio-rng-pci-modern - is not a real device

disable-legacy=on,disable-modern=off should be a CLI option for AutoHCK to add this automatically for proper device

Like: --discard-granularity, --virtio-vectors, --aio-threads.

@YanVugenfirer, what is our decision about modern/legacy testing?

@bhbhatt if we need this, please rework for all virtio devices that support modern/legacy modes.

@bhbhatt

bhbhatt commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

@YanVugenfirer can you please clarify if we need all three modes or specific modes thanks!

@bhbhatt
bhbhatt marked this pull request as draft September 11, 2026 05:02
@YanVugenfirer

Copy link
Copy Markdown
Contributor

@bhbhatt As there still no decision on testing of modern and transitional devices, I suggest to migrate existing kar tests

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.

3 participants