WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Questions: pv domU and HVM dom U
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=bikKWHtK/ootpCC0UGRYf3IGMKiZMQUQeVzRDJpvbwY=; b=nSo1fMzL6O+7Qtgpmh5aGpiJK46FC+U5IMEY/nlCwPrcXn0uhR6STC1PW17KP6N1uD lf787rKcSKQ/+94d1ztGXCBgi8ZAGubbaJwLrUVihlOqkIgth8JVKjS2ze6l+XT8N8Wp 02iKHi6q0sqO3jRWKXQwkltt4iTBPjogRX/V0=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Questions: pv domU and HVM dom U, Wenda Ni <=