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

re-visit disable-modern flag that is used across kata #1871

Closed
ganeshmaharaj opened this issue Jul 10, 2019 · 3 comments
Closed

re-visit disable-modern flag that is used across kata #1871

ganeshmaharaj opened this issue Jul 10, 2019 · 3 comments
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.

Comments

@ganeshmaharaj
Copy link
Contributor

There are a lot of instances where disable-modern is set to be true if we are on a nested environment. https://github.com/kata-containers/runtime/search?q=DisableModern&unscoped_q=DisableModern. The reason for this seems to be some instabilities when using virtio 1.0 with an unknown version of KVM along with qemu-lite 2.11. Please see #1870 for more information. It is time to re-visit all this and see if we still need to keep them disabled. if disable-modern should be an option that users can set, then that can move into a user visible configuration.

@ganeshmaharaj ganeshmaharaj added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels Jul 10, 2019
@ganeshmaharaj
Copy link
Contributor Author

Part of it (one that effects hotplugging devices has been removed using #1868. This issue is open to address all the other instances across the code.

@ganeshmaharaj
Copy link
Contributor Author

the nested checks and disable-modern enabling which were done to address a kvm issue on azure, seems to have been fixed with https://patchwork.kernel.org/patch/10184241/. Make sure this information is included in the pull request fixing this PR. Also make sure we document which base kernel beyond which this issue will not persist.

@ganeshmaharaj
Copy link
Contributor Author

Issue fixed with torvalds/linux@d391f12 and has landed in kernel 4.16. Any kernel before that will need to disable-modern .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.
Projects
None yet
Development

No branches or pull requests

2 participants