On Thu, Dec 18, 2008 at 07:14:50PM +0000, MOHAMMAD MATEEN ASLAM wrote:
# cat vm.cfg
kernel = "/boot/vmlinuz-PAE"
ramdisk = "/boot/initrd-PAE.img"
memory = 128
name = "xxxxx"
vif = [ 'ip=xx.xx.xx.xx' ]
disk = ['tap:aio:/var/xen/vm13/root,sda1,w',
'tap:aio:/var/xen/vm13/var,sda2,w', 'tap:aio:/var/xen/vm13/swap,sda3,w']
root = "/dev/sda1 ro"
on_reboot = 'restart'
on_crash = 'restart'
# xm create -c vm.cfg -> for booting vm
Your disk configuration is wrong.
You need to have xvda disk for domU.
Something like this:
disk = ['tap:aio:/var/xen/vm13/xvda,xvda,w']
if 'tap:aio' doesn't work, then try just 'file'.
-- Pasi