0

So I have a KVM machine, where I run an Ubuntu 12.04 (server edition).
I want to compile a minimalistic kernel for the KVM guest, but I only found the howto for hosts, and guests with paravirtualization.

I want to compile a kernel for a guest. Nothing more. With only the things it needs.

2
  • 1
    First - why do you not want to use the PV drivers? That should make things easier. Second: Why do you want to do this? Are you simulating an ebedded system?
    – Nils
    Jul 20, 2012 at 20:06
  • I don't need them. Minimalistic: Throw out everything you don't need. It's not a simulation, a real KVM server.
    – Apache
    Jul 21, 2012 at 19:29

1 Answer 1

3

If you don't care about paravirtualization, then compiling a minimalistic kernel for a KVM guest is the same as compiling a minimalistic kernel for hardware. There is lots of documentation available on the latter topic:

https://www.google.com/search?q=linux+build+minimal+kernel

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.