varun bhatnagar
2013-Jun-19 16:03 UTC
Re: [libvirt-users] Not able to open Xen Connection using libvirt
No it was not booted with xen kernel. Actually I tried booting it with xen kernel but I am getting a message saying Error No 15 : File not found. I tried editing the grub entry and noticed that there are 3 entries: 1) kernel /boot/xen.gz vga= mode-0x345 2) module /boot/vmlinuz-3.0.13-0.27-xen....... 3) module /boot/initrd-3.0.13-0.27-xen And in /boot i listed down the files, only xen.gz is there. Rest of the 2 files are not there (pasted the screenshot below). Even at one site it was given to remove /boot from the path but that also din't work. How shall I solve this one? // Varun On Wed, Jun 19, 2013 at 1:07 AM, Prasad <prasad@mukhedkar.com> wrote:> On 06/18/2013 10:03 PM, varun bhatnagar wrote: > > Hi, > > I am trying to create virtual machine through libvirt using xen > hypervisor. I was able to install xen successfully but when I tried > connecting to the hypervisor it gave an error. And while installing libvirt > (libvirt-1.0.1) I installed it with xen support. > I am pasting the snapshot of the error below: > > [image: Inline image 1] > > Can anyone tell me why I am getting this error? > > // > Varun > > > _______________________________________________ > libvirt-users mailing listlibvirt-users@redhat.comhttps://www.redhat.com/mailman/listinfo/libvirt-users > > Is this system booted with xen kernel? xen virtualization required > special kernel it doesn't work with standard kernel. > >
Dario Faggioli
2013-Jun-21 15:41 UTC
Re: [libvirt-users] [libvirt] Not able to open Xen Connection using libvirt
On mer, 2013-06-19 at 21:33 +0530, varun bhatnagar wrote:> Is this system booted with xen kernel? xen virtualization > required special kernel it doesn't work with standard kernel. >Well, that is not true, and it's even been a while now! :-P Fact is the Xen architecture requires that the first thing that boots --i.e., the thing that sees and run on the actual hardware-- is the Xen Hypervisor. At some point, the hypervisor itself will pick up a kernel and use it to build a special VM, called Dom0, from where you can run the control pane, create more VMs, etc. It is true that, a while ago, this kernel had to be a special modified version of Linux. As of now (starting from Linux 3.0), it can be any Linux kernel image you have in your boot partition. So, in summary, yes, you have to reboot and choose the proper bootloader menu entry, after installing Xen, but that does not mean that you need also a special Linux kernel. Not anymore. :-) Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
Dario Faggioli
2013-Jun-21 15:54 UTC
Re: [libvirt-users] [libvirt] Not able to open Xen Connection using libvirt
On mer, 2013-06-19 at 21:33 +0530, varun bhatnagar wrote:> No it was not booted with xen kernel. Actually I tried booting it with > xen kernel but I am getting a message saying Error No 15 : File not > found. >What is your bootloader and how is it configured?> I tried editing the grub entry and noticed that there are 3 entries: > 1) kernel /boot/xen.gz vga= mode-0x345 > 2) module /boot/vmlinuz-3.0.13-0.27-xen....... > 3) module /boot/initrd-3.0.13-0.27-xen >Ok, it's grub, but is it grub or grub2?> And in /boot i listed down the files, only xen.gz is there. Rest of > the 2 files are not there (pasted the screenshot below). >Again, avoid screenshots. And again, since this still seems to be an "installing Xen properly" issue, I think you should move the conversation from this list to the xen-users one (http://lists.xenproject.org/cgi-bin/mailman/listinfo/xen-users)> Even at one site it was given to remove /boot from the path but that > also din't work. > How shall I solve this one? >Not sure. It really depends on how you installed Xen and on who and how tried to update your bootloader configuration. Perhaps, have a look here? http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen Or at the instructions on how to properly install and configure Xen for your distro? Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)