xen fv guests seem to have the <boot> tag stripped. As per the documentation at http://libvirt.org/format.html this seems like it should be valid. I tried both <boot dev="hd"/> and <boot dev="cdrom"/>. This works as expected for qemu guests. # virsh define xen_fv_test Domain xen_fv_test defined from xen_fv_test [root@adama ~]# virsh dumpxml xen_fv_test <domain type='xen' id='-1'> <name>xen_fv_test</name> <uuid>0476cc28-562b-3e28-2874-21a123310334</uuid> <os> <type>hvm</type> <loader>/usr/lib/xen/boot/hvmloader</loader> <kernel>/usr/lib/xen/boot/hvmloader</kernel> </os> <memory>524288</memory> ...
Created attachment 296777 [details] Config file to test with
Can you re-try and remove the <kernel> tag from the XML you define. You should have either a <kernel> tag, or a <boot> tag, but not both.
Same result. It actually re-adds the kernel line to the xml.
This may actually be a XenD bug - can you provide the /var/log/xen/xend.log file, and output of xm list --long
Created attachment 296783 [details] xend.log, pruned from about a minute before the virsh define
Created attachment 296784 [details] xm list --long xen_fv_test
Also: # rpm -q xen xen-3.2.0-10.fc9
Ok, I think I know what the issue is In the xend_parse_sexp_desc_os() method of xend_internal.c in libvirt, the line if (kernel) { Needs to be if (kernel && STRNEQ(kernel, loader)) { To deal with HVM loader being referenced in the 'kenrel' field too
Awesome! I just tested it and that seemed to do the trick. Thanks
This is now upstream: http://git.et.redhat.com/?p=libvirt.git;a=commit;h=2bcf35336cd649e58c08d7cf3452a8d4353bcf85
Fixed in rawhide libvirt-0.4.1-4.fc9