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 turn a machine running Centos from HV to PV?

To: Rainer Sokoll <rainer@xxxxxxxxxx>
Subject: Re: [Xen-users] How to turn a machine running Centos from HV to PV?
From: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Date: Thu, 29 Apr 2010 18:41:06 -0300
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 29 Apr 2010 14:42:44 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=WkKN/6HbSpnwYwi5r7TyzzNsYIypVUqpwPpO9yy+CoQ=; b=gpA2gFHsMd9Y5NtITsmZ3ZAThiPGiZUnMRiYZYh1H1KhzC+rlofRecrQAOqkA2eAWA D8mYSDmmhsg3i+A3McJd87qkCaau669lmbU7aR0Xs7QWf/AHZJZdxXl8GCAqO41VKTU9 wsSfeqqi91J6cO8F/DMCOdTG/ZxsrNaUlufJ0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=MnCpAivQNIn3GuYKbgEFQjmrC9Zgw9EaiLhFEb3X9B36lcHapjT+fULhdtDnyTF9gE Gf4yGc5kVw0jyBdIez+USFZRNFzOH68EdbhYFjcmcKMRrw0uv9PVXZ9wyMcfQQhgjIUU 6LX3fwYimJ033Hy8UGWhWBsF8egb0JKKyHhhE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100429130128.GC3873@xxxxxxxxxxxxxx>
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>
References: <20100429130128.GC3873@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
The Xen Live CD teachs how to do that easily!


  • Example of how to convert Linux virtual machines from HVM to PVM. With the new paravirt_ops, this can be done smoothly.

Cheers!

-
 Thiago

On 29 April 2010 10:01, Rainer Sokoll <rainer@xxxxxxxxxx> wrote:
Hello,

really new to CentOS, I need a VM running CentOS. Right now, it is
running in full virtualized mode, but I want to switch to
paravitualization.
What I did:
yum install kernel-xen
Changed menu.lst to boot xen kernel per default

My configuration in dom0 (OpenSuse):

name="centos5"
uuid="6e50b775-3b29-f38a-610d-9368dda96dd1"
memory=1536
maxmem=1536
vcpus=1
> > > localtime=0
keymap="de"
builder="linux"
bootloader="/usr/lib/xen/boot/domUloader.py"
bootargs="--entry=xvda1:/boot/vmlinuz-2.6.18-164.15.1.el5xen,/boot/initrd-2.6.18-164.15.1.el5xen.img"
extra=" "
disk=[ 'phy:/dev/xen/centos5,hda,w', ]
vif=[ 'bridge=br1,model=rtl8139', ]
vfb=['type=vnc,vncunused=1']

If I want to boot the VM, the lat 5 lines from the console output are
these:

SCSI subsystem initialized
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-devel@xxxxxxxxxx
device-mapper: dm-raid45: initialized v0.2594l
Kernel panic - not syncing: Attempted to kill init!

Any hint is appreciated,

Rainer



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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>