Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question
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 '12 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. –  Shiki Jul 21 '12 at 19:29

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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