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-devel

[Xen-devel] Help with the migration to XEN-4.1 please

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Help with the migration to XEN-4.1 please
From: Flavio <fbcyborg@xxxxxxxxx>
Date: Tue, 13 Sep 2011 10:58:14 +0200
Delivery-date: Tue, 13 Sep 2011 02:03:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=hTMoHNrSme8BHZCZgPXSRWXp3oiSteONBl7IgEtSzd8=; b=gOTMZyt5VsHD0iHMzGS0kH7uLB8clxi/B8T6tcK+3EseRFD4ycDO3K87fK+BQcL0eZ FWsqgmJ53NILu0+DKEOvXOQCP5wPu6aqa4/wngJj+8S8VbzrBWf4hHr3kAnLP0r5xeOj wiJgSTlA3unOiAiVnpXepFghOTOT9WVrZsIQg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAP8Jb=rKu5RFW0tuvHtD819Dz6Jy2HB5OT-d86T1tEk2OP=dtA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <CAP8Jb=rKu5RFW0tuvHtD819Dz6Jy2HB5OT-d86T1tEk2OP=dtA@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I recently installed XEN on my Gentoo Linux that I use mainly as a
Desktop and I had to switch from xm to xl tool stack.
Since also the gentoo-sources support XEN natively I installed XEN on
my Desktop
distribution too. Well, I started installing XEN as usual, and I was
using it only with the xm tool stack.
Now I read about the migration to the new toolstack at
http://wiki.xensource.com/xenwiki/MigrationGuideToXen4.1%2B but
I have some problem and some question to do.

First of all, let me list my environment:
OS: Gentoo Linux 10.0 kernel: gentoo-sources-3.0.4 arch x86_64
app-emulation/xen-4.1.1-r1
app-emulation/xen-tools-4.1.1-r3 with USE flags: "hvm ioemu"

I also completed the following checklist:
- Configure your host networking using the configuration tools
provided by your distribution.
- Remove any python code from domU configuration files.
- Disable xend startup script (it doesn't exist anymore)
- Use xl command instead of xm (xm doesn't exist anymore)

1) Now the xend initscript has been removed. Well, I had some domain
registered with the command 'xm new vm_name.cfg'.
Actually, performing a "xm list" it was showing them in the list of
the domains after the dom0.
Now that xend has been removed, it is no longer running and 'xl list'
doesn't show any domU in the list. How does it work now?
I tried to put the vm configuration file in /etc/xen/auto but in this
way it starts the vm and not simply it adds to the xen domain store,
letting me decide if starting the vm or not. I was looking for the
analogue command as "xm new config_file.cfg" in xl if exists.

2) If I try to run a gentoo linux guest (for instance) running
'xl vm_config_file.cfg -c' I get the following error:
xenconsole: Could not read tty from store: No such file or directory
But the vm starts even if the networking doesn't work now, of course.
I've already searched and found several results on Google but the
problem is still there. :(

3) the network for the guest OS doesn't work, even the xenbr0 is up
and the vm configuration file
explicitly says it has to use that bridge. Furthermore, due to the
error at point 2, I can't see anything
in the VM.
I also tried to add the following line in the /etc/xen/xl.conf but the
network doesn't work anyway:
vifscript="vif-bridge"

4) xl shutdown <domain_number> seems to be not working. I have to
destroy the VM in order to have it powered off.

Can somebody help me to correct these problems please?

--
Flavio

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