[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] Problem with fullyvirtualized guest direct kernel boot

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. Wh
en 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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]