Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xm -> xl migration tips?



Till recently I was using NetBSD 7.0 i386 Dom0 with xen 41.

I am trying to migrate to NetBSD 7.0 amd64 Dom0 with xen 45.

# uname -a
NetBSD laptop 7.0 NetBSD 7.0 (XEN3_DOM0) #0: Thu Nov  5 18:09:22 IST 2015
root@laptop:/usr/src/sys/arch/amd64/compile/XEN3_DOM0 amd64 x86_64 Intel
686-class NetBSD

boot.cfg entry:

menu=Boot Xen:load /netbsd.XEN3PAE_DOM0 console=pc bootdev=sd0a; multiboot
/usr/pkg/xen45-kernel/xen-debug.gz dom0_mem=1000M

I have a Linux DomU guest which runs Fedora 17, i386, which is also usable
by directly booting to it.

Its config file:

kernel = "/vmlinuz-3.9.10-100.fc17.i686.PAE"
ramdisk     = "/initramfs-3.9.10-100.fc17.i686.PAE.img"
memory = 2072
name = "linux"
vcpus = 3
vif = [ 'mac=B8:CA:3A:C5:BD:09, bridge=bridge0' ]
disk = [
'phy:/dev/wd0g,sda3,w','phy:/dev/wd0i,sda5,w','phy:/dev/wd0j,sda6,w']
root = "/dev/xvda6"
extra = "xencons=tty1 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True
KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8"
usb=1


Things I did so far are:

- Realize that xend is no more needed. Retained only xencommons=YES in
  /etc/rc.conf.

- I saw a thread that says I should not restart this daemon. Noted.

- Got to know that raw python is no more supported in the DomU config. I
  just had a couple of += statements. Got rid of them.

- Now if I say "xl create <path-to-config>" it just hangs. Any other
  command such as xl list also hangs.


Would appreciate help in understanding and fixing this.

Mayuresh.


Home | Main Index | Thread Index | Old Index