[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Questions: pv domU and HVM dom U


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Wenda Ni <wonda.ni@xxxxxxxxx>
  • Date: Fri, 21 Jan 2011 19:27:54 -0500
  • Cc: Yiying Zhang <yyzhang@xxxxxxxxxxx>, lokesh mandvekar <lokeshmandvekar@xxxxxxxxx>
  • Delivery-date: Fri, 21 Jan 2011 16:29:21 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=WJ9GxlnqxxSwoWWjekVbN10eyvDShENRRLRbx3Du3zdCp/j7eLkmM0eoKWWr2sOP1A SXyHeTPMXgBP4IdUIrNxkQjr7v8oeiSn3q9Mjkoo6FBhTfDxUEHqnZuhsLHNOJMCAAwx XNodW9yXxpiWJ0TUWZJGD0vEhrLXEUUSkZfng=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

I have Xen 4.0.1 pvops on Ubuntu 10.10 following the steps on https://help.ubuntu.com/community/Xen
I use xen-tools to configure domU. In xen-tools.config, I specify
"
kernel = /boot/vmlinuz-2.6.18.8
initrd = /boot/initrd.img-2.6.18.8
"
However, the actual .cfg file generated for domU uses
"
bootloader = '/usr/bin/pygrub'
"
And when the domU starts, the "uname -a" also give kernel as 2.6.35.24-generic.

When I tried to edit the .cfg as
"
kernel = '/boot/vmlinuz-2.6.18.8'
initrd = '/boot/initrd.img-2.6.18.8'
"
It gives me the error of "Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')", when I try to start domU.

I googled the error, it seems to me that it is a matter of whether domU is pv-ops based or HVM?
So my question is 1) how to find whether domU is pv-ops or HVM?


Next, According to http://wiki.xen.org/xenwiki/XenParavirtOps?, I checked the ..../build-linux-2.6-pvops_x86_32/./config,
  1. If building 32 bit kernel make sure you have CONFIG_X86_PAE enabled (which is set by selecting CONFIG_HIGHMEM64G)
    • non-PAE mode doesn't work in 2.6.25, and has been dropped altogether from 2.6.26 and newer kernel versions.
  2. Enable these core options:
    1. CONFIG_PARAVIRT_GUEST
    2. CONFIG_XEN
  3. And Xen pv device support
    1. CONFIG_HVC_DRIVER and CONFIG_HVC_XEN
    2. CONFIG_XEN_BLKDEV_FRONTEND
    3. CONFIG_XEN_NETDEV_FRONTEND
These options are all enabled, so I believe the dom0 built does support pv-ops domU. Then 2) how do I build a pv-ops domU?



I am new to this area, so please forgive my simple questions, and hope the reply can be easy to follow.




--
Cheers,
 
Wenda Ni, Ph.D.
Dept. of Computer Science and Engineering
State University of New York (SUNY) at Buffalo


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.