On Wed, 15 Jul 2020 at 14:41, 小太 <nos...@kota.moe> wrote: > > On Tue, 14 Jul 2020 at 19:21, 小太 <nos...@kota.moe> wrote: > > > > On Tue, 14 Jul 2020 at 00:19, Hans van Kranenburg <h...@knorrie.org> wrote: > > > 小太, can you do... > > > > > > xl create -vvv <domU.cfg> > > > > > > ...which should show how qemu is invoked. Can you show that command? > > > > > > I can provide you with some test packages with the mentioned upstream > > > patch applied (on top of 4.11.4+24-gddaaccbbab-1), so you can test if > > > your domU starts with them. > > > > > > If so, we can request the backport upstream and/or maybe pick it for > > > Debian 4.11 into the patch queue, whatever happens earlier. > > > > I've updated Xen to 4.11.4+24-gddaaccbbab-1 now, but qemu is still at > > 1:5.0-5. > > I'll update qemu again to 1:5.0-6 tomorrow and run a test > > I've tried qemu 1:5.0-6 with xen 4.11.4+24-gddaaccbbab-1 today, and > attached is the full output of: xl -vvv create windows.xen.cfg -F > It's a bit too long to directly include in this email :/ > > The contents on windows.xen.cfg for this run were: > > name = "windows" > builder = "hvm" > vcpus = "4" > memory = "1024" > boot = "c"
And attached is the same command and config output, but with qemu 1:5.0-5 There appears to be no practical difference between the two logs (at least before the crash)
Parsing config from windows.xen.cfg libxl: debug: libxl_create.c:1671:do_domain_create: Domain 0:ao 0x5649af511270: create: how=(nil) callback=(nil) poller=0x5649af511300 libxl: debug: libxl_create.c:1007:initiate_domain_create: Domain 1:running bootloader libxl: debug: libxl_bootloader.c:328:libxl__bootloader_run: Domain 1:not a PV/PVH domain, skipping bootloader libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x5649af5165f0: deregister unregistered domainbuilder: detail: xc_dom_allocate: cmdline="", features="" domainbuilder: detail: xc_dom_kernel_file: filename="/usr/lib/xen-4.11/boot/hvmloader" domainbuilder: detail: xc_dom_malloc_filemap : 174 kB libxl: debug: libxl_dom.c:973:libxl__load_hvm_firmware_module: Loading BIOS: /usr/share/seabios/bios-256k.bin domainbuilder: detail: xc_dom_boot_xen_init: ver 4.11, caps xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 domainbuilder: detail: xc_dom_parse_image: called domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ... domainbuilder: detail: loader probe failed domainbuilder: detail: xc_dom_find_loader: trying HVM-generic loader ... domainbuilder: detail: loader probe OK xc: detail: ELF: phdr: paddr=0x100000 memsz=0x35104 xc: detail: ELF: memory: 0x100000 -> 0x135104 domainbuilder: detail: xc_dom_mem_init: mem 1016 MB, pages 0x3f800 pages, 4k each domainbuilder: detail: xc_dom_mem_init: 0x3f800 pages domainbuilder: detail: xc_dom_boot_mem_init: called domainbuilder: detail: range: start=0x0 end=0x3f800000 domainbuilder: detail: xc_dom_malloc : 2032 kB xc: detail: PHYSICAL MEMORY ALLOCATION: xc: detail: 4KB PAGES: 0x0000000000000400 xc: detail: 2MB PAGES: 0x00000000000001fa xc: detail: 1GB PAGES: 0x0000000000000000 domainbuilder: detail: xc_dom_build_image: called domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x100+0x36 at 0x7f39b5a7a000 domainbuilder: detail: xc_dom_alloc_segment: kernel : 0x100000 -> 0x136000 (pfn 0x100 + 0x36 pages) xc: detail: ELF: phdr 0 at 0x7f39b5a44000 -> 0x7f39b5a6f680 domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x136+0x40 at 0x7f39b5a3a000 domainbuilder: detail: xc_dom_alloc_segment: System Firmware module : 0x136000 -> 0x176000 (pfn 0x136 + 0x40 pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x176+0x1 at 0x7f39b60b1000 domainbuilder: detail: xc_dom_alloc_segment: HVM start info : 0x176000 -> 0x177000 (pfn 0x176 + 0x1 pages) domainbuilder: detail: alloc_pgtables_hvm: doing nothing domainbuilder: detail: xc_dom_build_image : virt_alloc_end : 0x177000 domainbuilder: detail: xc_dom_build_image : virt_pgtab_end : 0x0 domainbuilder: detail: xc_dom_boot_image: called domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_64 domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_32p domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32 <= matches domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_64 domainbuilder: detail: domain builder memory footprint domainbuilder: detail: allocated domainbuilder: detail: malloc : 2037 kB domainbuilder: detail: anon mmap : 0 bytes domainbuilder: detail: mapped domainbuilder: detail: file mmap : 174 kB domainbuilder: detail: domU mmap : 476 kB domainbuilder: detail: vcpu_hvm: called domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0xff000 domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0xff001 domainbuilder: detail: xc_dom_release: called libxl: debug: libxl_dm.c:1655:libxl__build_device_model_args_new: Domain 1:dm_restrict disabled, starting QEMU as root libxl: debug: libxl_dm.c:2331:libxl__spawn_local_dm: Domain 1:Spawning device-model /usr/bin/qemu-system-i386 with arguments: libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: /usr/bin/qemu-system-i386 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -xen-domid libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: 1 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -chardev libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-1,server,nowait libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -no-shutdown libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -mon libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: chardev=libxl-cmd,mode=control libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -chardev libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-1,server,nowait libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -mon libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: chardev=libxenstat-cmd,mode=control libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -nodefaults libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -no-user-config libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -name libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: windows libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -vnc libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: 127.0.0.1:0,to=99 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -display libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: none libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -device libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: cirrus-vga,vgamem_mb=8 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -boot libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: order=c libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -smp libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: 4,maxcpus=4 libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -net libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: none libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -machine libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: xenfv libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: -m libxl: debug: libxl_dm.c:2333:libxl__spawn_local_dm: Domain 1: 1016 libxl: debug: libxl_dm.c:2335:libxl__spawn_local_dm: Domain 1:Spawning device-model /usr/bin/qemu-system-i386 with additional environment: libxl: debug: libxl_dm.c:2337:libxl__spawn_local_dm: Domain 1: XEN_QEMU_CONSOLE_LIMIT=1048576 libxl: debug: libxl_event.c:635:libxl__ev_xswatch_register: watch w=0x5649af5168e8 wpath=/local/domain/0/device-model/1/state token=3/0: register slotnum=3 libxl: debug: libxl_create.c:1708:do_domain_create: Domain 0:ao 0x5649af511270: inprogress: poller=0x5649af511300, flags=i libxl: debug: libxl_event.c:572:watchfd_callback: watch w=0x5649af5168e8 wpath=/local/domain/0/device-model/1/state token=3/0: event epath=/local/domain/0/device-model/1/state libxl: debug: libxl_exec.c:398:spawn_watch_event: domain 1 device model: spawn watch p=(null) libxl: debug: libxl_event.c:572:watchfd_callback: watch w=0x5649af5168e8 wpath=/local/domain/0/device-model/1/state token=3/0: event epath=/local/domain/0/device-model/1/state libxl: debug: libxl_exec.c:398:spawn_watch_event: domain 1 device model: spawn watch p=running libxl: debug: libxl_event.c:672:libxl__ev_xswatch_deregister: watch w=0x5649af5168e8 wpath=/local/domain/0/device-model/1/state token=3/0: deregister slotnum=3 libxl: debug: libxl_exec.c:127:libxl_report_child_exitstatus: domain 1 device model (dying as expected) [3378] died due to fatal signal Killed libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch w=0x5649af5168e8: deregister unregistered libxl: debug: libxl_qmp.c:734:libxl__qmp_initialize: Domain 1:connected to /var/run/xen/qmp-libxl-1 libxl: debug: libxl_qmp.c:301:qmp_handle_response: Domain 1:message type: qmp libxl: debug: libxl_qmp.c:315:qmp_handle_response: Domain 1:QEMU version: 5.0.0 libxl: debug: libxl_qmp.c:583:qmp_send_prepare: Domain 1:next qmp command: '{ "execute": "qmp_capabilities", "id": 1 } ' libxl: debug: libxl_qmp.c:301:qmp_handle_response: Domain 1:message type: return libxl: debug: libxl_qmp.c:583:qmp_send_prepare: Domain 1:next qmp command: '{ "execute": "query-chardev", "id": 2 } ' libxl: debug: libxl_qmp.c:301:qmp_handle_response: Domain 1:message type: return libxl: debug: libxl_qmp.c:583:qmp_send_prepare: Domain 1:next qmp command: '{ "execute": "query-vnc", "id": 3 } ' libxl: debug: libxl_qmp.c:301:qmp_handle_response: Domain 1:message type: return libxl: debug: libxl_event.c:2184:libxl__ao_progress_report: ao 0x5649af511270: progress report: ignored libxl: debug: libxl_event.c:1869:libxl__ao_complete: ao 0x5649af511270: complete, rc=0 libxl: debug: libxl_event.c:1838:libxl__ao__destroy: ao 0x5649af511270: destroy libxl: debug: libxl_qmp.c:734:libxl__qmp_initialize: Domain 1:connected to /var/run/xen/qmp-libxl-1 libxl: debug: libxl_qmp.c:301:qmp_handle_response: Domain 1:message type: qmp libxl: debug: libxl_qmp.c:315:qmp_handle_response: Domain 1:QEMU version: 5.0.0 libxl: debug: libxl_qmp.c:583:qmp_send_prepare: Domain 1:next qmp command: '{ "execute": "qmp_capabilities", "id": 1 } ' libxl: debug: libxl_qmp.c:301:qmp_handle_response: Domain 1:message type: return libxl: debug: libxl_qmp.c:583:qmp_send_prepare: Domain 1:next qmp command: '{ "execute": "cont", "id": 2 } ' libxl: debug: libxl_qmp.c:301:qmp_handle_response: Domain 1:message type: return Waiting for domain windows (domid 1) to die [pid 3369] libxl: debug: libxl_event.c:635:libxl__ev_xswatch_register: watch w=0x5649af510460 wpath=@releaseDomain token=3/1: register slotnum=3 libxl: debug: libxl_event.c:572:watchfd_callback: watch w=0x5649af510460 wpath=@releaseDomain token=3/1: event epath=@releaseDomain libxl: debug: libxl_domain.c:764:domain_death_xswatch_callback: Domain 1:[evg=0x5649af51cb00] nentries=1 rc=1 1..1 libxl: debug: libxl_domain.c:775:domain_death_xswatch_callback: Domain 1:[evg=0x5649af51cb00] got=domaininfos[0] got->domain=1 libxl: debug: libxl_domain.c:803:domain_death_xswatch_callback: Domain 1:Exists shutdown_reported=0 dominf.flags=ffff0122 libxl: debug: libxl_domain.c:771:domain_death_xswatch_callback: [evg=0] all reported libxl: debug: libxl_domain.c:833:domain_death_xswatch_callback: domain death search done libxl: debug: libxl_event.c:572:watchfd_callback: watch w=0x5649af510460 wpath=@releaseDomain token=3/1: event epath=@releaseDomain libxl: debug: libxl_domain.c:764:domain_death_xswatch_callback: Domain 1:[evg=0x5649af51cb00] nentries=1 rc=1 1..1 libxl: debug: libxl_domain.c:775:domain_death_xswatch_callback: Domain 1:[evg=0x5649af51cb00] got=domaininfos[0] got->domain=1 libxl: debug: libxl_domain.c:803:domain_death_xswatch_callback: Domain 1:Exists shutdown_reported=0 dominf.flags=ffff010b libxl: debug: libxl_domain.c:724:domain_death_occurred: Domain 1:dying libxl: debug: libxl_domain.c:771:domain_death_xswatch_callback: [evg=0] all reported libxl: debug: libxl_domain.c:833:domain_death_xswatch_callback: domain death search done Domain 1 has been destroyed. libxl: debug: libxl_event.c:672:libxl__ev_xswatch_deregister: watch w=0x5649af510460 wpath=@releaseDomain token=3/1: deregister slotnum=3 xencall:buffer: debug: total allocations:447 total releases:447 xencall:buffer: debug: current allocations:0 maximum allocations:3 xencall:buffer: debug: cache current size:3 xencall:buffer: debug: cache hits:425 misses:3 toobig:19 xencall:buffer: debug: total allocations:0 total releases:0 xencall:buffer: debug: current allocations:0 maximum allocations:0 xencall:buffer: debug: cache current size:0 xencall:buffer: debug: cache hits:0 misses:0 toobig:0