[opensuse] Mini-Kernel for KVM
Hello! I do KVM based virtualization and have a lot of openSUSE Leap guests. With every kernel update, every machine needs additional 300 MB from my thin-privodiond disk space. As far as I understand most of the required disk space is due to modules for different hardware. However, the KVM guest sees only virtualized hardware and there no need for all the kernel modules. Therefore, I was wondering if there is something like a mini-kernel-rpm available for Leap, which has only those modules included that are required for running inside KVM. best regards Thomas Wagner -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
20.12.2018 22:27, Thomas Wagner пишет:
Hello!
I do KVM based virtualization and have a lot of openSUSE Leap guests. With every kernel update, every machine needs additional 300 MB from my thin-privodiond disk space. As far as I understand most of the required disk space is due to modules for different hardware. However, the KVM guest sees only virtualized hardware and there no need for all the kernel modules. Therefore, I was wondering if there is something like a mini-kernel-rpm available for Leap, which has only those modules included that are required for running inside KVM.
There is kernel-default-base, you may try if it is suitable. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-12-21 05:06, Andrei Borzenkov wrote:
There is kernel-default-base, you may try if it is suitable.
Thank you very much for pointing out kernel-default-base. This looks very promising! I took a look at the rpm's content and find two modules missing in kernel-default-base, namely crypto_simd.ko and drm_panel_orientation_quirks.ko Unfortunately, I could not figure out which functionality these two modules provide and whether or not they are required in a KVM host. best regards Thomas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/20/2018 01:27 PM, Thomas Wagner wrote:
Hello!
I do KVM based virtualization and have a lot of openSUSE Leap guests. With every kernel update, every machine needs additional 300 MB from my thin-privodiond disk space. As far as I understand most of the required disk space is due to modules for different hardware. However, the KVM guest sees only virtualized hardware and there no need for all the kernel modules. Therefore, I was wondering if there is something like a mini-kernel-rpm available for Leap, which has only those modules included that are required for running inside KVM.
best regards
Thomas Wagner
Thomas, Check your Leap guest /etc/zypp/zypp.conf. If you have: multiversion = provides:multiversion(kernel) multiversion.kernels = latest,latest-1,running set (which I think is default), you will keep 3 kernel installs. Which would make sense that you see an additional 300M (at least for the first 2 updates) If they are set, then why not leave them set on a test guest (the one you update first and insure all is well), and disable keeping multiple kernels on the rest. After you validate an updated kernel is good, then update the rest of your clients keeping only the running kernel (there is documentation in /etc/zypp/zypp.conf in the comments that explains the settings) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
David C. Rankin
-
Thomas Wagner