Skip to content

Conversation

@iximeow
Copy link
Member

@iximeow iximeow commented Jan 8, 2026

lifecycle::Indicator to date is only used for the virtio NIC, but phd-tests doesn't actually exercise that.. so, add an Indicator to I440FxHostBrdige as it is a component present at all times in all VMs, and glue it into Lifecycle as expected in any other application of Indicator.

With this, the new test to stop a created-but-not-started VM hangs and eventually fails with a timeout, and fixing the expected state transition in Indicator makes it pass. Incidentally, this exercises the rest of the state transitions, with various tests pausing or restarting VMs, migrating them, etc.


I'd pushed the patch and neglected to click the PR button :( this fixes #994.

`lifecycle::Indicator` to date is only used for the virtio NIC, but
`phd-tests` doesn't actually exercise that.. so, add an `Indicator` to
`I440FxHostBrdige` as it is a component present at all times in all VMs,
and glue it into Lifecycle as expected in any other application of
Indicator.

With this, the new test to stop a created-but-not-started VM hangs and
eventually fails with a timeout, and fixing the expected state
transition in Indicator makes it pass. Incidentally, this exercises the
rest of the state transitions, with various tests pausing or restarting
VMs, migrating them, etc.
@iximeow iximeow added the bug Something that isn't working. label Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something that isn't working.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

propolis-server: crash when stopping an unstarted VM

2 participants