Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

vmcheck: allow ignoring iopl errors #21

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

lucab
Copy link
Contributor

@lucab lucab commented Sep 28, 2020

This introduces an additional flag for the VM-checking logic,
in order to allow consuming applications to keep going when changing
I/O access level is not alloewd (see kernel_lockdown(7) on Linux).
In most cases the library may work without higher I/O level,
and actual failures can be handled via normal error-handling on RPC
methods.

Ref: #20

@lucab
Copy link
Contributor Author

lucab commented Sep 28, 2020

This is an hotfix which does not completely fix the reported bug, but it alleviates the symptoms in most cases. See #20 (comment) for all the details.

Copy link

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me!

vmcheck/vmcheck.go Outdated Show resolved Hide resolved
@frapposelli
Copy link
Contributor

Hi @lucab, I know this is coming a bit late, but if you're still interested in this PR, could you rebase it on top of the recent changes?

thanks!

@lucab
Copy link
Contributor Author

lucab commented Oct 7, 2021

@frapposelli no problem, rebased.

This introduces an additional flag for the VM-checking logic,
in order to allow consuming applications to keep going when changing
I/O access level is not alloewd (see `kernel_lockdown(7)` on Linux).
In most cases the library may work without higher I/O level,
and actual failures can be handled via normal error-handling on RPC
methods.

Signed-off-by: Luca BRUNO <luca.bruno@coreos.com>
@lucab
Copy link
Contributor Author

lucab commented Mar 16, 2022

@frapposelli ping, any chance to have this reviewed and merged?

@frapposelli frapposelli merged commit 510905f into vmware-archive:master Mar 17, 2022
@frapposelli
Copy link
Contributor

@lucab sorry, this fell through the cracks. Merged.

@lucab lucab deleted the ups/opportunistic-iopl branch March 19, 2022 10:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants