[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] xm toolstack fails to build HVMs
Using the xm toolstack for building HVMs appears to be broken for me. The reason for me wanting to use xm is that usb-add/usb-del are unimplemented in xl and from what I've read are not likely to be implemented until 4.4. I have tested this on an OpenSUSE 12.3 dom0 as well as an Ubuntu Raring dom0 using the Xen builds provided from distribution repositories and ran into the same problem on both distros. On this Raring dom0, I have set the default toolstack in /etc/default/xen to xm and xm list works while xl list doesn't, as would be expected. However, when I run xm create xyz.cfg it always returns this error, no matter what is on line 1:
# xm create /root/xenmachines/test.cfg Using config file "/root/xenmachines/test.cfg". Error: Errors were found at line 1 while processing /root/xenmachines/test.cfg:
kernel = "/usr/lib/xen-4.2/boot/hvmloader" It always fails on line 1, even if the line is as innocuous as name = "test" . /var/log/xend.log is unmodified after these failed attempts. Should I switch back to xl, the same cfg file will load fine. I'm not sure if more is required to use xm (which would be surprising because Ubuntu's default /etc/default/xen is set to xm) or maybe if there's some sort-of unexpected syntax or encoding issue here, but I feel like I've been running into a brick wall on this since I started and I'm just completely failing to find relevant debug info or people with similar problems and solutions anywhere, so I came here. Thanks in advance for any help that may come my way!
To be thorough, here is the cfg file I'm trying to run in its entirety (this one is basically copy and paste from the wiki's Beginner's Guide): kernel = "/usr/lib/xen-4.2/boot/hvmloader"
builder='hvm' memory = 4096 vcpus=4 name = "test" vif = ['bridge=xenbr0'] disk = ['phy:/dev/guests/test,hda,w','file:/root/raring.iso,hdc:cdrom,r']
acpi = 1 boot="d" sdl=0 serial='pty' vnc=1 vnclisten="" vncpasswd="" Thanks,
Peter _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |