Skip to content

Conversation

lindig
Copy link
Contributor

@lindig lindig commented Jul 17, 2025

The API supports a driver deselect call for which Xapi calls the underlying driver-tool. The mock driver is missing the corresponding -d option, which this patch adds. This fixes an internal error that Xapi raises otherwise.

An alternative would be to ignore the error from the driver-tool.

The API supports a driver deselect call for which Xapi  calls the
underlying driver-tool. The mock driver is missing the corresponding -d
option, which this patch adds. This fixes an internal error that Xapi
raises otherwise.

An alternative would be to ignore the error from the driver-tool.

Signed-off-by: Christian Lindig <[email protected]>
@lindig
Copy link
Contributor Author

lindig commented Jul 17, 2025

This only changes the mock implementation.

EOF
}


Copy link
Contributor

Choose a reason for hiding this comment

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

Strange blank line. Is there other intention here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, it's harmless. I developed the script outside this OCaml file and pasted it back in where this probably was added.

@lindig lindig added this pull request to the merge queue Jul 18, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 18, 2025
@lindig lindig added this pull request to the merge queue Jul 18, 2025
Merged via the queue into xapi-project:master with commit f6238a0 Jul 18, 2025
16 checks passed
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