[libvirt] Problem with fullyvirtualized guest direct kernel boot

Max Martynov mcsimm at gmail.com
Wed Nov 5 18:28:16 UTC 2008

Hi All,

I am trying to use fullyvirtualized guest direct kernel boot, but all I see
is the following error:
libvir: Xen Daemon error : POST operation failed: (xend.err 'Error creating
domain: (2, \'Invalid kernel\', "elf_xen_note_check: ERROR: Not a Xen-ELF
image: No ELF notes or \'__xen_guest\' section found.\\n")')

Kernel, initrd and root file system are extracted from working Fedora 9 disk
image without any additional tinkering. Guest Fedora is clean and was
installed from scratch. When I use this whole disk image with
fullyvirtualized guest BIOS boot with, everything works fine. I also tried
paravirtualized guest bootloader with another linux kernel and it also works
fine. Xen version is 3.2.1-rc1-pre. Host OS is Ubuntu Hardy.

Here is the libvirt config for direct kernel boot:
<domain type='xen' id='18'>
        <disk type='file'>
            <driver name="tap" type="aio"/>
            <source file='/tmp/f9_disassembled/root.img'/>
            <target dev='sda1'/>
        <disk type='file'>
            <driver name="tap" type="aio"/>
            <source file='/tmp/swap'/>
            <target dev='sda3'/>
        <interface type='bridge'>
            <source bridge='eth0'/>
            <mac address='00:16:3e:5d:c7:9e'/>
            <script path='/etc/xen/scripts/vif-bridge'/>
        <graphics type='vnc' port='5904'/>

What do you think can be the cause of this issue?

Thanks, Max
<libvir-list at redhat.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081105/b2d4500b/attachment-0001.htm>

More information about the libvir-list mailing list