Aurélien,<br><br>I forgot to comment your questions on my last e-mail.
I'm worried about that too. My main concern is that I can run Xen
almost on any machine I have, but KVM will only run on that that the
processor has virtualization extensions (isn't it?).<br>
<br>If KVM prove to be better supported that Xen I think I can consider using it, but right now it only limits my options.<br><br>Cheers, Leandro.<br><br><div><span class="gmail_quote">2008/4/3, Aurélien Naldi <<a href="mailto:aurelien.naldi@gmail.com">aurelien.naldi@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Apr 2, 2008 at 11:43 PM, Leandro Pereira de Lima e Silva<br> <br><<a href="mailto:leandro@limaesilva.com.br">leandro@limaesilva.com.br</a>> wrote:<br> <br>> Sander,<br> ><br> > That's what I did:<br>
 > - I was trying to create a virtual machine with hardy on it (hardy on the<br> > host too) using xen-create-image.<br> > - xen-tools isn't coming with hooks for installing hardy (I've already<br> > filled a bug report about that), so I tried symlinking hardy.d to edgy.d<br>
 > just like the symlinks from feisty.d and gutsy.d.<br> >  - Runned: xen-create-image --force --fs ext3 --image-dev<br> > /dev/group/volume_root --memory 512 --passwd --swap-dev<br> > /dev/group/volume_swap --dist hardy --mirror<br>
 > <a href="http://br.archive.ubuntu.com/ubuntu">http://br.archive.ubuntu.com/ubuntu</a> --gateway gateway_ip_addr --ip ip_addr<br> > --netmask netmask_addr --hostname hostname_addr, where "group/volume_root",<br>
 > "group/volume_swap", "gateway_ip_addr", "ip_addr", "netmask_addr",<br> > "hostname_addr" are actually other things that I've changed to get some<br> > privacy.<br>
 >  - Tried to boot, but initramfs can't find the root.<br> > - Fixed a few things on the configuration file generated by xen-create-image<br> > (tried different combinations, this is how it ended):<br> >   - Add "root        = '/dev/sda2 ro'" after the memory line.<br>
 >    - Fixed the disk section that just contained "',sda1,w'," inside of it,<br> > at the end it became:<br> >       disk        = [ 'phy:group/volume_swap,sda1,w',<br> > 'phy:group/volume_root,sda2,w' ]<br>
 >  - Add "xenblk" to /etc/initramfs-tools/modules and recreated the initrd<br> > file. (the same as the above item, what seemd to work after a few<br> > tentatives)<br> > - Runned xm create -c hostname_addr<br>
 > - Machine starts to boot and hangs at:<br> >   * Running local boot scripts (/etc/rc.local)                            [<br> > OK ]<br> ><br> > - Switched to gutsy (in xen-create-image), thinking that maybe it hangs<br>
 > because of some new hook needed for hardy.<br> > - Got the same problem that I had with hardy.<br> <br> <br>Your guest probably doesn't hang, it just doesn't show the login<br> prompt. You will get one by adding the following to your<br>
 /etx/xen/guest-name.cfg:<br> <br> extra = "console=tty"<br> <br> <br> Incidently, I have been playing just yesterday with xen in hardy and<br> encountered the same problems.<br> The next one for me is that the guest can't connect to the net, even<br>
 if an eth0 shows up. The problem seems to be related to the new kernel<br> in hardy as the very same host using gutsy kernel works just fine.<br> <br> More info on <a href="https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/204010">https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/204010</a><br>
 <br> I would like to take the occasion to ask about the future of xen in<br> ubuntu. A while ago a switch to kvm was announced. I would like to<br> know if xen will still be supported or if it will be deprecated at<br> some point.<br>
 The nice thing with kvm is its simplicity when running unmodified<br> guests, but it is much slower than xen when running "xen-enabled"<br> guests. Xen has a number of other advantages:<br> - the xen-create-image scripts make building new guests with xen much<br>
 easier and faster than with kvm!<br> - xen can use real devices easilly, I'm not even sure that kvm can (it<br> requires full disk image, doesn't it ?)<br> <br> as a result, xen is so much easier to use and efficient for my use<br>
 case (always running a few systems, without graphical interface).<br> <br>  I see few options for xen in hardy<br> * fully supported, which requires to fix the bugs discussed in this<br> thread (missing hardy hooks, missing xenblk in initramfs/kernel and<br>
 broken xennet in the latest kernel)<br> * supported, which requires a bit less work (i.e. reverting to gutsy<br> kernel to fix the xennet bug)<br> * deprecated, which would be a bad regression if kvm doesn't get a LOT<br>
 of attention (which is probably not doable in time)<br> <br> is the plan one of these options or an alternate one ? And then what<br> is the plan in the long run ? The fedora guys seem to be working<br> toward integrating as much of the huge and dirty xen patch in the<br>
 vanilla kernel. If they succed the state of xen in every distrtib<br> would be greatly improved IMHO. Is canonical able/willing to help this<br> effort ?<br> <br> Sorry for the long worries/ranting, I hope it doesn't feel harsh for<br>
 the people working on xen in ubuntu as it really doesn't intend to:<br> thanks for your work so far, I just would like to get more hints about<br> the future and didn't find any recent  "official" discussion about<br>
 this.<br> <br> Regards.<br> <br> --<br> Aurélien Naldi<br> <br>--<br> <br>ubuntu-server mailing list<br> <a href="mailto:ubuntu-server@lists.ubuntu.com">ubuntu-server@lists.ubuntu.com</a><br> <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a><br>
 More info: <a href="https://wiki.ubuntu.com/ServerTeam">https://wiki.ubuntu.com/ServerTeam</a></blockquote></div><br><br clear="all"><br>-- <br>Leandro Pereira de Lima e Silva