Skip to content

target: Give the QEMU runtime test's device its attrs - #539

Open
chrysh wants to merge 1 commit into
OpenPRoT:ocp-global-demo-wipfrom
9elements:fix-qemu-device-attrs
Open

chrysh wants to merge 1 commit into
OpenPRoT:ocp-global-demo-wipfrom
9elements:fix-qemu-device-attrs

Conversation

@chrysh

@chrysh chrysh commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

ocp-global-demo-wip does not compile for the AST10x0 target right now. DeviceConfig::new took a fifth parameter when the device table started carrying ComponentAttrs, and target/ast10x0/tests/orchestrator/runtime/main.rs still called it with four, so the Test job fails with error[E0061]: this function takes 5 arguments but 4 arguments were supplied and every PR against this base inherits the red.

The device gets ComponentAttrs::passive_required(), which is what new_core in the same file already gives every component in that test's chain, so the table and the chain now agree.

Verified with bazel build --keep_going --config=virt_ast10x0 //target/ast10x0/..., the same config the ast10x0_qemu_tests recipe uses: 31156 actions, completed successfully.

DeviceConfig::new took a fifth parameter when the device table started
carrying ComponentAttrs, and this call site was not updated, so
//target/ast10x0/... stopped compiling.

passive_required is what new_core already gives every component in this
test's chain, so the table now says the same thing the chain does.

Assisted-by: Claude

This branch has not been deployed

No deployments
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