Skip to content

Conversation

@snwoods
Copy link
Contributor

@snwoods snwoods commented Jul 4, 2025

This is a partial revert of 1a46f33. It retains the deactivate and detach functions introduced but restores the original unplug function so that the VBD_unplug atom is completely unchanged when xenops_vbd_plug_unplug_legacy=true instead of running deactivate followed by detach.

This will fix the S(Does_not_exist) Xenopsd errors we are seeing in some VBD_unplug calls, until a fix for the split functions is found (I have created CA-413304 to track that issue)

This is a partial revert of 1a46f33. It retains the deactivate and
detach functions introduced but restores the original unplug function so
that the VBD_unplug atom is completely unchanged when
xenops_vbd_plug_unplug_legacy=true instead of running deactivate
followed by detach.

This will fix the S(Does_not_exist) Xenopsd errors we are seeing in
some VBD_unplug calls, until a fix for the split functions is found.

Signed-off-by: Steven Woods <[email protected]>
@snwoods
Copy link
Contributor Author

snwoods commented Jul 4, 2025

Ring3 BVT+BST is all green: 220395 as is a job run of InstallerOptions (job 4356497) which is the job that was originally failing in CA-411477 before @BengangY 's fix.

@lindig
Copy link
Contributor

lindig commented Jul 4, 2025

Do we retain the new functionality? This should be reviewed by @snwoods

@snwoods
Copy link
Contributor Author

snwoods commented Jul 4, 2025

Do we retain the new functionality? This should be reviewed by @snwoods

I wrote it 😅 but yes, the new functionality is retained and will be active if xenopsd_vbd_plug_unplug_legacy=false. This change just means that when the legacy flag = true, the functionality will be identical to how it was before my original PR, instead of running the split deactivate/detach functions one after the other (which as we've found, seems to introduce a bug compared to the original functionality).

@BengangY BengangY added this pull request to the merge queue Jul 4, 2025
Merged via the queue into xapi-project:master with commit 7501f70 Jul 4, 2025
16 checks passed
@snwoods snwoods deleted the private/stevenwo/CA-413304 branch July 4, 2025 20:40
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.

4 participants