[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Where did I go wrong (creating an HVM guest)?
OK, I'm not "new" to Xen, but it's been a few years (Xen 3.x) since I last really messed with it. I'm now stuck trying to get back into my recently installed new guest. My host is running Ubuntu 12.04.1 and Xen 4.1 with the xl toolstack. I originally created/installed the guest using virt-manager. The install went well and the guest rebooted successfully and I was able to access it via xl vncviewer guest-name Now, the first problem, where's the config file? Xen 3.x used fairly straight forward config files that were stored in /etc/xen/. virt-install doesn't create that file. I found an sxp format config file in /var/lib/xend/domains/UUID/ that matches my guest. But I'm unable to boot from that. When I try, I get a lot of parser errors and finally complaints about it looking like Python code. So this: sudo xl create /var/lib/xend/domains/UUID/config.sxp doesn't allow me to reboot the guest. I then tried creating a basic old-style config file: builder='hvm' name='precise-hvm' memory=1024 maxmemory=1024 uuid='18069c40-e01f-ddf8-5932-bc6bb6b5bba1' vif='xenbr0' disk=[ 'file:/vms/precise-hvm.img,qcow2,hda' ] I then tried starting the guest there. That also fails because despite what I read here: http://xenbits.xen.org/docs/unstable/misc/xl-disk-configuration.txt None of these disk lines are accepted by xl: disk=[ '/vms/precise-hvm.img,,hda' ] disk=[ '/vms/precise-hvm.img,qcow,hda' ] disk=[ '/vms/precise-hvm.img,qcow2,hda' ] disk=[ 'file:/vms/precise-hvm.img,qcow2,hda' ] For each disk line where I specify a format (qcow or qcow2) I get the following output: Parsing config file /etc/xen/precise-hvm.cfg /etc/xen/precise-hvm.cfg:10: warning: parameter `vif' is a single value but should be a list xc: info: VIRTUAL MEMORY ARRANGEMENT: Loader: 0000000000100000->000000000017c510 TOTAL: 0000000000000000->000000003f800000 ENTRY ADDRESS: 00000000001015a0 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000001fb 1GB PAGES: 0x0000000000000000 libxl: error: libxl.c:938:libxl_device_disk_add Invalid or unsupported virtual disk identifier qcow2 cannot add disk 0 to domain: -6 libxl: error: libxl_dm.c:747:libxl__destroy_device_model Couldn't find device model's pid: No such file or directory libxl: error: libxl.c:730:libxl_domain_destroy libxl__destroy_device_model failed for 6 and if I DON'T specify a format, I get this: Parsing config file /etc/xen/precise-hvm.cfg parse error in disk config near ',hda' So I have a file backed guest that "should" be perfectly usable, only I can't figure out how to boot the thing... Can someone point me to a clue to help me catch up to the state of Xen today? Cheers Jeff _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |