Hello Xen Users, Been experimenting with upstream-qemu and wanted to try out the OVMF bios option, but I seem to be missing something. Are there additional steps to installing OVMF beyond compiling Xen? I saw notes on patching back in february, but I thought the package was included with Xen 4.2 on release. When I attempt to set it as my bios option, the machine boots then immediately closes. The /var/log/xen files are empty, and running "xl -vvv create" spits out roughly 100 lines but I haven''t been able to filter anything specific to OVMF or why it closes. I have appended the output below (I ran several tests the output was the same regardless of what OS I attempted to use). Any suggestions would be appreciated. Thanks, Casey Parsing config from /etc/xen/win8.cfg libxl: debug: libxl_create.c:1173:do_domain_create: ao 0x9cc890: create: how=(nil) callback=(nil) poller=0x9cc920 libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=unknown libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=hda, using backend phy libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=unknown libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=hdc, backend phy unsuitable as phys path not a block device libxl: debug: libxl_device.c:184:disk_try_backend: Disk vdev=hdc, backend tap unsuitable because blktap not available libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=hdc, using backend qdisk libxl: debug: libxl_create.c:677:initiate_domain_create: running bootloader libxl: debug: libxl_bootloader.c:321:libxl__bootloader_run: not a PV domain, skipping bootloader libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch w=0x9cdb40: deregister unregistered libxl: debug: libxl_numa.c:435:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=8, nr_vcpus=10, free_memkb=29215 libxl: detail: libxl_dom.c:192:numa_place_domain: NUMA placement candidate with 1 nodes, 8 cpus and 29215 KB free selected xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0x9df08 xc: detail: elf_parse_binary: memory: 0x100000 -> 0x19df08 xc: info: VIRTUAL MEMORY ARRANGEMENT: Loader: 0000000000100000->000000000019df08 TOTAL: 0000000000000000->00000000ff000000 ENTRY ADDRESS: 0000000000100000 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000003f7 1GB PAGES: 0x0000000000000002 xc: detail: elf_load_binary: phdr 0 at 0x0x7f7375ca2000 -> 0x0x7f7375d36d95 libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=phy libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch w=0x9cf248 wpath=/local/domain/0/backend/vbd/10/768/state token=3/0: register slotnum=3 libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=qdisk libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=qdisk libxl: debug: libxl_create.c:1186:do_domain_create: ao 0x9cc890: inprogress: poller=0x9cc920, flags=i libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x9cf248 wpath=/local/domain/0/backend/vbd/10/768/state token=3/0: event epath=/local/domain/0/backend/vbd/10/768/state libxl: debug: libxl_event.c:596:devstate_watch_callback: backend /local/domain/0/backend/vbd/10/768/state wanted state 2 ok libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch w=0x9cf248 wpath=/local/domain/0/backend/vbd/10/768/state token=3/0: deregister slotnum=3 libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch w=0x9cf248: deregister unregistered libxl: debug: libxl_device.c:916:device_hotplug: calling hotplug script: /etc/xen/scripts/block add libxl: debug: libxl_event.c:426:watchfd_callback: watch epath=/local/domain/0/backend/vbd/10/768/state token=3/0: empty slot libxl: debug: libxl_dm.c:1142:libxl__spawn_local_dm: Spawning device-model /usr/lib/xen/bin/qemu-system-i386 with arguments: libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: /usr/lib/xen/bin/qemu-system-i386 libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -xen-domid libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: 10 libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -chardev libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-10,server,nowait libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -mon libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: chardev=libxl-cmd,mode=control libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -name libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: win8 libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -vnc libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: 127.0.0.1:0,to=99 libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -sdl libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -vga libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: std libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -boot libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: order=dc libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -usb libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -usbdevice libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: tablet libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -smp libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: 2,maxcpus=2 libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -device libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: e1000,id=nic0,netdev=net0,mac=00:16:3e:14:b1:1d libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -netdev libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: type=tap,id=net0,ifname=vif10.0-emu,script=no,downscript=no libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -M libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: xenfv libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -m libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: 4080 libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -drive libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: file=/dev/mapper/xen-win8,if=ide,index=0,media=disk,format=raw libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -drive libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: file=/home/cdelorme/win8.iso,if=ide,index=2,media=cdrom,format=raw libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch w=0x9cdd78 wpath=/local/domain/0/device-model/10/state token=3/1: register slotnum=3 libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x9cdd78 wpath=/local/domain/0/device-model/10/state token=3/1: event epath=/local/domain/0/device-model/10/state libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x9cdd78 wpath=/local/domain/0/device-model/10/state token=3/1: event epath=/local/domain/0/device-model/10/state libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch w=0x9cdd78 wpath=/local/domain/0/device-model/10/state token=3/1: deregister slotnum=3 libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch w=0x9cdd78: deregister unregistered libxl: debug: libxl_qmp.c:646:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-10 libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: qmp libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: ''{"execute":"qmp_capabilities","id":1}'' libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: return libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: ''{"execute":"query-chardev","id":2}'' libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: return libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: ''{"execute":"query-vnc","id":3}'' libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: return libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch w=0x9d3228 wpath=/local/domain/0/backend/vif/10/0/state token=3/2: register slotnum=3 libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x9d3228 wpath=/local/domain/0/backend/vif/10/0/state token=3/2: event epath=/local/domain/0/backend/vif/10/0/state libxl: debug: libxl_event.c:600:devstate_watch_callback: backend /local/domain/0/backend/vif/10/0/state wanted state 2 still waiting state 1 libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x9d3228 wpath=/local/domain/0/backend/vif/10/0/state token=3/2: event epath=/local/domain/0/backend/vif/10/0/state libxl: debug: libxl_event.c:596:devstate_watch_callback: backend /local/domain/0/backend/vif/10/0/state wanted state 2 ok libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch w=0x9d3228 wpath=/local/domain/0/backend/vif/10/0/state token=3/2: deregister slotnum=3 libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch w=0x9d3228: deregister unregistered libxl: debug: libxl_device.c:916:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge online libxl: debug: libxl_device.c:916:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge add libxl: debug: libxl_event.c:1667:libxl__ao_progress_report: ao 0x9cc890: progress report: ignored libxl: debug: libxl_event.c:1497:libxl__ao_complete: ao 0x9cc890: complete, rc=0 libxl: debug: libxl_event.c:1469:libxl__ao__destroy: ao 0x9cc890: destroy Daemon running with PID 7184 xc: debug: hypercall buffer: total allocations:1042 total releases:1042 xc: debug: hypercall buffer: current allocations:0 maximum allocations:4 xc: debug: hypercall buffer: cache current size:4 xc: debug: hypercall buffer: cache hits:1034 misses:4 toobig:4 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Fri, 2012-11-09 at 19:50 +0000, Casey DeLorme wrote:> Been experimenting with upstream-qemu and wanted to try out the OVMF > bios option, but I seem to be missing something. > > > Are there additional steps to installing OVMF beyond compiling Xen?You need to enable the option at build time: ./configure --enable-ovmf> When I attempt to set it as my bios option, the machine boots then > immediately closes. The /var/log/xen files are empty, and running "xl > -vvv create" spits out roughly 100 lines but I haven''t been able to > filter anything specific to OVMF or why it closes.Anything on the console?> I have appended the output below (I ran several tests the output was > the same regardless of what OS I attempted to use). > > > Any suggestions would be appreciated. > > Thanks, > > > Casey > > > > > Parsing config from /etc/xen/win8.cfg > libxl: debug: libxl_create.c:1173:do_domain_create: ao 0x9cc890: > create: how=(nil) callback=(nil) poller=0x9cc920 > libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk > vdev=hda spec.backend=unknown > libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk > vdev=hda, using backend phy > libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk > vdev=hdc spec.backend=unknown > libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=hdc, > backend phy unsuitable as phys path not a block device > libxl: debug: libxl_device.c:184:disk_try_backend: Disk vdev=hdc, > backend tap unsuitable because blktap not available > libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk > vdev=hdc, using backend qdisk > libxl: debug: libxl_create.c:677:initiate_domain_create: running > bootloader > libxl: debug: libxl_bootloader.c:321:libxl__bootloader_run: not a PV > domain, skipping bootloader > libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch > w=0x9cdb40: deregister unregistered > libxl: debug: libxl_numa.c:435:libxl__get_numa_candidate: New best > NUMA placement candidate found: nr_nodes=1, nr_cpus=8, nr_vcpus=10, > free_memkb=29215 > libxl: detail: libxl_dom.c:192:numa_place_domain: NUMA placement > candidate with 1 nodes, 8 cpus and 29215 KB free selected > xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0x9df08 > xc: detail: elf_parse_binary: memory: 0x100000 -> 0x19df08 > xc: info: VIRTUAL MEMORY ARRANGEMENT: > Loader: 0000000000100000->000000000019df08 > TOTAL: 0000000000000000->00000000ff000000 > ENTRY ADDRESS: 0000000000100000 > xc: info: PHYSICAL MEMORY ALLOCATION: > 4KB PAGES: 0x0000000000000200 > 2MB PAGES: 0x00000000000003f7 > 1GB PAGES: 0x0000000000000002 > xc: detail: elf_load_binary: phdr 0 at 0x0x7f7375ca2000 -> > 0x0x7f7375d36d95 > libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk > vdev=hda spec.backend=phy > libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch > w=0x9cf248 wpath=/local/domain/0/backend/vbd/10/768/state token=3/0: > register slotnum=3 > libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk > vdev=hdc spec.backend=qdisk > libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk > vdev=hdc spec.backend=qdisk > libxl: debug: libxl_create.c:1186:do_domain_create: ao 0x9cc890: > inprogress: poller=0x9cc920, flags=i > libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x9cf248 > wpath=/local/domain/0/backend/vbd/10/768/state token=3/0: event > epath=/local/domain/0/backend/vbd/10/768/state > libxl: debug: libxl_event.c:596:devstate_watch_callback: > backend /local/domain/0/backend/vbd/10/768/state wanted state 2 ok > libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch > w=0x9cf248 wpath=/local/domain/0/backend/vbd/10/768/state token=3/0: > deregister slotnum=3 > libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch > w=0x9cf248: deregister unregistered > libxl: debug: libxl_device.c:916:device_hotplug: calling hotplug > script: /etc/xen/scripts/block add > libxl: debug: libxl_event.c:426:watchfd_callback: watch > epath=/local/domain/0/backend/vbd/10/768/state token=3/0: empty slot > libxl: debug: libxl_dm.c:1142:libxl__spawn_local_dm: Spawning > device-model /usr/lib/xen/bin/qemu-system-i386 with arguments: > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: > /usr/lib/xen/bin/qemu-system-i386 > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -xen-domid > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: 10 > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -chardev > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: > socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-10,server,nowait > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -mon > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: > chardev=libxl-cmd,mode=control > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -name > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: win8 > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -vnc > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: > 127.0.0.1:0,to=99 > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -sdl > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -vga > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: std > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -boot > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: order=dc > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -usb > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -usbdevice > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: tablet > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -smp > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: 2,maxcpus=2 > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -device > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: > e1000,id=nic0,netdev=net0,mac=00:16:3e:14:b1:1d > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -netdev > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: > type=tap,id=net0,ifname=vif10.0-emu,script=no,downscript=no > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -M > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: xenfv > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -m > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: 4080 > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -drive > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: > file=/dev/mapper/xen-win8,if=ide,index=0,media=disk,format=raw > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: -drive > libxl: debug: libxl_dm.c:1144:libxl__spawn_local_dm: > file=/home/cdelorme/win8.iso,if=ide,index=2,media=cdrom,format=raw > libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch > w=0x9cdd78 wpath=/local/domain/0/device-model/10/state token=3/1: > register slotnum=3 > libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x9cdd78 > wpath=/local/domain/0/device-model/10/state token=3/1: event > epath=/local/domain/0/device-model/10/state > libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x9cdd78 > wpath=/local/domain/0/device-model/10/state token=3/1: event > epath=/local/domain/0/device-model/10/state > libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch > w=0x9cdd78 wpath=/local/domain/0/device-model/10/state token=3/1: > deregister slotnum=3 > libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch > w=0x9cdd78: deregister unregistered > libxl: debug: libxl_qmp.c:646:libxl__qmp_initialize: connected > to /var/run/xen/qmp-libxl-10 > libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: qmp > libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: > ''{"execute":"qmp_capabilities","id":1}'' > libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: > return > libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: > ''{"execute":"query-chardev","id":2}'' > libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: > return > libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: > ''{"execute":"query-vnc","id":3}'' > libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: > return > libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch > w=0x9d3228 wpath=/local/domain/0/backend/vif/10/0/state token=3/2: > register slotnum=3 > libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x9d3228 > wpath=/local/domain/0/backend/vif/10/0/state token=3/2: event > epath=/local/domain/0/backend/vif/10/0/state > libxl: debug: libxl_event.c:600:devstate_watch_callback: > backend /local/domain/0/backend/vif/10/0/state wanted state 2 still > waiting state 1 > libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x9d3228 > wpath=/local/domain/0/backend/vif/10/0/state token=3/2: event > epath=/local/domain/0/backend/vif/10/0/state > libxl: debug: libxl_event.c:596:devstate_watch_callback: > backend /local/domain/0/backend/vif/10/0/state wanted state 2 ok > libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch > w=0x9d3228 wpath=/local/domain/0/backend/vif/10/0/state token=3/2: > deregister slotnum=3 > libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch > w=0x9d3228: deregister unregistered > libxl: debug: libxl_device.c:916:device_hotplug: calling hotplug > script: /etc/xen/scripts/vif-bridge online > libxl: debug: libxl_device.c:916:device_hotplug: calling hotplug > script: /etc/xen/scripts/vif-bridge add > libxl: debug: libxl_event.c:1667:libxl__ao_progress_report: ao > 0x9cc890: progress report: ignored > libxl: debug: libxl_event.c:1497:libxl__ao_complete: ao 0x9cc890: > complete, rc=0 > libxl: debug: libxl_event.c:1469:libxl__ao__destroy: ao 0x9cc890: > destroy > Daemon running with PID 7184 > xc: debug: hypercall buffer: total allocations:1042 total > releases:1042 > xc: debug: hypercall buffer: current allocations:0 maximum > allocations:4 > xc: debug: hypercall buffer: cache current size:4 > xc: debug: hypercall buffer: cache hits:1034 misses:4 toobig:4 > >
Possibly Parallel Threads
- Bug#776742: xen-utils-common: no support for VGA Passthrough
- [PATCH v2] Handle xen_platform_pci=0 case
- xl console regression on xen-unstable
- Qxl problem with xen domU, is xen spice and/or qemu bugs?
- ubuntu13.04 host and ubuntu13.04 guest how to config the pvscsi