tyowo kathy
2007-Jul-05 08:27 UTC
[Xen-users] how to change guest OS kernel version from xen
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 _________________________________________________________________ 免费下载 MSN Explorer: http://explorer.msn.com/lccn _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Goldstone
2007-Jul-05 08:51 UTC
Re: [Xen-users] how to change guest OS kernel version from xen
tyowo kathy
2007-Jul-05 09:29 UTC
Re: [Xen-users] how to change guest OS kernel version from xen
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@isc.keele.ac.uk> >To: tyowo kathy <brightgreen1@hotmail.com>, xen-users@lists.xensource.com >Subject: Re: [Xen-users] how to change guest OS kernel version from xen >Date: Thu, 05 Jul 2007 09:51:29 +0100 > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >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 > > > > _________________________________________________________________ > > 鍏嶈垂涓嬭浇 MSN Explorer: http://explorer.msn.com/lccn > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.7 (MingW32) >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > >iD8DBQFGjLERRnwIDhcMR9MRAijAAJ0diexQ2epScRxCbv25RNwJXD67mgCcCwSt >dyijvMkQNQfsL8fBLIT6SaQ>=0OSX >-----END PGP SIGNATURE-----><< m.j.goldstone.vcf >>>_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users_________________________________________________________________ 免费下载 MSN Explorer: http://explorer.msn.com/lccn/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Goldstone
2007-Jul-05 09:42 UTC
Re: [Xen-users] how to change guest OS kernel version from xen
tyowo kathy
2007-Jul-05 09:58 UTC
Re: [Xen-users] how to change guest OS kernel version from xen
to Martin: I understand what''s your meaning. thanks a lot.>From: Martin Goldstone <m.j.goldstone@isc.keele.ac.uk> >To: tyowo kathy <brightgreen1@hotmail.com>, xen-users@lists.xensource.com >Subject: Re: [Xen-users] how to change guest OS kernel version from xen >Date: Thu, 05 Jul 2007 10:42:51 +0100 > >-----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=1hostip=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@isc.keele.ac.uk> > >> To: tyowo kathy <brightgreen1@hotmail.com>, > >> xen-users@lists.xensource.com > >> Subject: Re: [Xen-users] how to change guest OS kernel version fromxen> >> 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@lists.xensource.com > >> http://lists.xensource.com/xen-users > ><< m.j.goldstone.vcf >> > > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > > > _________________________________________________________________ > > 鍏嶈垂涓嬭浇 MSN Explorer: http://explorer.msn.com/lccn/ > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > 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-----><< m.j.goldstone.vcf >>>_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users_________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tony Hoyle
2007-Jul-05 10:31 UTC
Re: [Xen-users] how to change guest OS kernel version from xen
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.It''s also worth mentioning that the xen kernels are already smp - you can set the number of cpus the guest sees in the config file. Tony _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2007-Jul-05 13:43 UTC
Re: [Xen-users] how to change guest OS kernel version from xen
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 ?You must use full virtualization for this. Do you have that, or are you using paravirtualization? And frankly, why would you want to switch? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users