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

Re: [Xen-users] how to change guest OS kernel version from xen

To: tyowo kathy <brightgreen1@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] how to change guest OS kernel version from xen
From: Martin Goldstone <m.j.goldstone@xxxxxxxxxxxxxxx>
Date: Thu, 05 Jul 2007 10:42:51 +0100
Delivery-date: Thu, 05 Jul 2007 02:40:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <BAY103-F291A81DABBFE8D3FE617DE87020@xxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BAY103-F291A81DABBFE8D3FE617DE87020@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.4 (Windows/20070604)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'd suggest you look at hardware virtualization (HVM), as then you'll be
able to use which ever kernel you need to use.  With a paravirtualized
guest, you can only use a kernel that's had the Xen patches applied, so
you won't be able to use a standard SMP kernel.  In order to do hardware
virtualization, you'll need a CPU that can handle it.  Google/Wikipedia
should be able to help you find one. If you cat /proc/cpuinfo and look
for VMX (Intel processors) or SVM (AMD processors), that will tell you
if you already have the capability for hardware virtualization.

tyowo kathy wrote:
> 
> Hi,Martin
> 
> Thanks a lot.
> My virtual platform sticks to Xen kernel.
> Because our development relates with kernel version, our virtual guest
> OS need smp kernel.
> Please see my vm configure file:
> disk = [ 'file:/var/lib/xen/images/vm1/hda,hda,w', 'phy:hde,hdb,r' ]
> memory = 256
> vcpus = 1
> builder = 'linux'
> kernel = '/tmp/YaST2-15684-Ng5sdV/vmlinuz-2.6.16.13-4-xen'
> ramdisk = '/tmp/YaST2-15684-Ng5sdV/inst-initrd'
> name = 'vm1'
> ip = '192.168.125.99'
> netmask = '255.255.255.0'
> gateway = '255.255.255.128'
> interface = 'eth0'
> vif = [ 'mac=00:16:3e:4e:e5:46' ]
> localtime = 0
> on_poweroff = 'destroy'
> on_reboot = 'destroy'
> on_crash = 'destroy'
> extra = 'install=hd:/dev/hdb TERM=xterm textmode=1 hostip=192.168.125.99
> netmask=255.255.255.0 gateway=255.255.255.128 netdevice=eth0'
> 
> 
> Question: how to modify "kernel" parameter to satisfy my demand that
> guest OS is smp?
> I have tried that modify kernel =
> '/tmp/YaST2-15684-Ng5sdV/vmlinuz-2.6.16.13-4-smp',
> But I doesn't work.
> 
> Kathy
> 
> 
> 
>> From: Martin Goldstone <m.j.goldstone@xxxxxxxxxxxxxxx>
>> To: tyowo kathy <brightgreen1@xxxxxxxxxxx>, 
>> xen-users@xxxxxxxxxxxxxxxxxxx
>> Subject: Re: [Xen-users] how to change guest OS kernel version from xen
>> Date: Thu, 05 Jul 2007 09:51:29 +0100
>>
> If you're guest is paravirtualized, then you'll need to stick to a Xen
> kernel.  A regular kernel (I assuming the one you're suggesting is a
> regular SMP kernel) will only work with a HVM guest, which obviously
> depends on suitable hardware.
> 
> Out of interest, why do you want to change the Kernel you're using?  I
> wouldn't imagine there's much difference between the one's your
> suggesting apart from the Xen patches.
> 
> Martin
> 
> tyowo kathy wrote:
>> hello, every one,
> 
>> My guest os's kernel version is suse10's kernel-2.6.13.4-xen.
>> Now, I want to change kernel version to kernel-2.6.13.4-smp.
>> what should I do? Need I modify vm machine configue ?
> 
> 
>> thanks a lot.
> 
> 
>> Kathy
> 
>> _________________________________________________________________
>> Oˆ‚“-G MSN Explorer:   http://explorer.msn.com/lccn
> 
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users

<< m.j.goldstone.vcf >>


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

> _________________________________________________________________
> 免费下载 MSN Explorer:   http://explorer.msn.com/lccn/ 

> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGjL0bRnwIDhcMR9MRAq3bAJ942pYV01RE47ET9GD/xXUupP365ACfWFpe
vQmedpFVcikO/rrw4UHWiKE=
=PRRp
-----END PGP SIGNATURE-----

Attachment: m.j.goldstone.vcf
Description: Vcard

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