Hi Paul. See my un-educated comments inline :)<div><br><br><div class="gmail_quote">On 19 July 2011 08:59, Always Learning <span dir="ltr"><<a href="mailto:centos@u6.u22.net">centos@u6.u22.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br>
On Tue, 2011-07-19 at 08:22 +1000, Matt Paine wrote:<br>
<br>
> As far as I am aware, KVM uses the cpu hardware to run completely<br>
> different operating systems independently of the host.<br>
><br>
><br>
> LXC is similar to Linux-VServer, or virtuozzo, where you are always<br>
> running a base kernel, and can run multiple init's at the same time.<br>
><br>
</div>> ...............<br>
<br>
Thank you for your explanation. It is most helpful. To summarise what I<br>
think is correct: One can run multiple LXC containers, each containing<br>
an identical version of the main host operating system but processes are<br>
separate from the others. KVM creates a type of 'container' allowing<br>
different host operating systems to run in that container.<br></blockquote><div><br></div><div>If can try to clarify my understanding, LXC is process isolation. basically the kernel is shared between the containers. (not specifically the entire host operating system, just the kernel).</div>

<div><br></div><div>KVM will need to be explained by someone else, the only understanding I have with this is it relies on virtualisation in the processor to switch between os's. With the benifit being you can run M$Windows if you want to.</div>

<div><br></div><div>There is no way to run windows with LXC.</div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Can one run inside a LXC container a KVM ?<br></blockquote><div><br></div><div>If the guest container have the correct privileges, then I would assume so. But I would suggest this would be a messy way to do things, and breaks the whole container concept. The processes in the container are ment to be 'contained' yet to get the correct kernel priveleges to do complete KVM switching would be to open up the entire container to the rest of the system (if thats even at all possible, it may not be! The kernel may not provide the correct privileges to do KVM virtualisation within a LXC guest)</div>

<div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Can one run inside a KVM some LXC containers ?<br>
<br></blockquote><div><br></div><div>This one I would say definitely. Since you are running a completely new kernel, I cant see a reason why you couldn't provide an LXC kernel to run within a KVM guest. But theres a bit of guessing here as well :)</div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Or is the simultaneous usage on the same machine of LXC and KVM mutually<br>
exclusive or incompatible ?<br>
<br>
Thank you again.<br>
<font color="#888888"><br>
<br>
<br>
--<br>
</font><div><div></div><div class="h5">With best regards,<br>
<br>
Paul.<br>
England,<br>
EU.<br>
<br>
<br>
_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
</div></div></blockquote></div><br></div>