|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] vhd support in xen-4.4
Hi.
If anybody can help with my problem?
05.05.2015, 09:30, "dmitry@xxxxxxxxxx" <dmitry@xxxxxxxxxx>:
> First domain creation.
>
> Parsing config from WinXP
> libxl: debug: libxl_create.c:1342:do_domain_create: ao 0x1276690: create:
> how=(nil) callback=(nil) poller=0x12734c0
> libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk
> vdev=xvda spec.backend=unknown
> libxl: debug: libxl_device.c:234:disk_try_backend: Disk vdev=xvda, backend
> phy unsuitable due to format vhd
> libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk
> vdev=xvda, using backend tap
> libxl: debug: libxl_create.c:797: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:618:libxl__ev_xswatch_deregister: watch
> w=0x1273848: deregister unregistered
> libxl: debug: libxl_numa.c:478:libxl__get_numa_candidate: New best NUMA
> placement candidate found: nr_nodes=1, nr_cpus=8, nr_vcpus=19,
> free_memkb=13544
> libxl: detail: libxl_dom.c:195:numa_place_domain: NUMA placement candidate
> with 1 nodes, 8 cpus and 13544 KB free selected
> xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0x9cbe4
> xc: detail: elf_parse_binary: memory: 0x100000 -> 0x19cbe4
> xc: detail: VIRTUAL MEMORY ARRANGEMENT:
> Loader: 0000000000100000->000000000019cbe4
> Modules: 0000000000000000->0000000000000000
> TOTAL: 0000000000000000->000000007f800000
> ENTRY ADDRESS: 0000000000100000
> xc: detail: PHYSICAL MEMORY ALLOCATION:
> 4KB PAGES: 0x0000000000000200
> 2MB PAGES: 0x00000000000003fb
> 1GB PAGES: 0x0000000000000000
> xc: detail: elf_load_binary: phdr 0 at 0x7fe38e5af000 -> 0x7fe38e642a54
> libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk
> vdev=xvda spec.backend=tap
> DEBUG libxl__blktap_devpath 76 vhd:/var/lib/xen/images/XP.VHD
> DEBUG libxl__blktap_devpath 81 /dev/xen/blktap-2/tapdev5
> libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x1274eb8
> wpath=/local/domain/0/backend/vbd/15/51712/state token=3/0: register slotnum=3
> libxl: debug: libxl_create.c:1356:do_domain_create: ao 0x1276690: inprogress:
> poller=0x12734c0, flags=i
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1274eb8
> wpath=/local/domain/0/backend/vbd/15/51712/state token=3/0: event
> epath=/local/domain/0/backend/vbd/15/51712/state
> libxl: debug: libxl_event.c:657:devstate_watch_callback: backend
> /local/domain/0/backend/vbd/15/51712/state wanted state 2 still waiting state
> 1
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1274eb8
> wpath=/local/domain/0/backend/vbd/15/51712/state token=3/0: event
> epath=/local/domain/0/backend/vbd/15/51712/state
> libxl: debug: libxl_event.c:653:devstate_watch_callback: backend
> /local/domain/0/backend/vbd/15/51712/state wanted state 2 ok
> libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch
> w=0x1274eb8 wpath=/local/domain/0/backend/vbd/15/51712/state token=3/0:
> deregister slotnum=3
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1274eb8: deregister unregistered
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1274f40: deregister unregistered
> libxl: debug: libxl_dm.c:1331:libxl__spawn_local_dm: Spawning device-model
> /usr/lib/xen/bin/qemu-system-i386 with arguments:
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> /usr/lib/xen/bin/qemu-system-i386
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -xen-domid
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: 15
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -chardev
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-15,server,nowait
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -mon
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> chardev=libxl-cmd,mode=control
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -nodefaults
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -name
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: WinXP
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -vnc
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: 127.0.0.1:10
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -display
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: none
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -k
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: en-us
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -serial
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: pty
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -device
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: cirrus-vga
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -global
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: vga.vram_size_mb=8
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -boot
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: order=c
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -usb
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -usbdevice
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: tablet
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -soundhw
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: sb16
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -smp
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: 2,maxcpus=2
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -device
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> rtl8139,id=nic0,netdev=net0,mac=00:16:3e:40:65:22
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -netdev
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> type=tap,id=net0,ifname=vif15.0-emu,script=no,downscript=no
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -machine
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: xenfv
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -m
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: 2040
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -drive
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> file=/dev/xen/blktap-2/tapdev5,if=ide,index=0,media=disk,format=raw,cache=writeback
> libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x1273a80
> wpath=/local/domain/0/device-model/15/state token=3/1: register slotnum=3
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1273a80
> wpath=/local/domain/0/device-model/15/state token=3/1: event
> epath=/local/domain/0/device-model/15/state
> libxl: error: libxl_exec.c:396:spawn_timeout: domain 15 device model: startup
> timed out
> libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch
> w=0x1273a80 wpath=/local/domain/0/device-model/15/state token=3/1: deregister
> slotnum=3
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1273a80: deregister unregistered
> libxl: error: libxl_dm.c:1399:device_model_spawn_outcome: domain 15 device
> model: spawn failed (rc=-3)
> libxl: error: libxl_create.c:1186:domcreate_devmodel_started: device model
> did not start: -3
> libxl: debug: libxl_dm.c:1506:kill_device_model: Device Model signaled
> libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x12788c8
> wpath=/local/domain/0/backend/vbd/15/51712/state token=3/2: register slotnum=3
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x12788c8
> wpath=/local/domain/0/backend/vbd/15/51712/state token=3/2: event
> epath=/local/domain/0/backend/vbd/15/51712/state
> libxl: debug: libxl_event.c:653:devstate_watch_callback: backend
> /local/domain/0/backend/vbd/15/51712/state wanted state 6 ok
> libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch
> w=0x12788c8 wpath=/local/domain/0/backend/vbd/15/51712/state token=3/2:
> deregister slotnum=3
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x12788c8: deregister unregistered
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1278950: deregister unregistered
> DEBUG libxl__device_destroy_tapdisk 105 type=vhd:/var/lib/xen/images/XP.VHD
> disk=:/var/lib/xen/images/XP.VHD
>
> After it I destroy domain (xl destroy).
> ps aux | grep " D" show process
> root 16443 0.0 0.0 8368 368 ? D< 08:39 0:00 /sbin/blkid
> -o udev -p /dev/tdf
>
> I kill it (kill -s 9 16443). If I don't do it, domain does not start.
>
> Second domain creation (successful).
>
> Parsing config from WinXP
> libxl: debug: libxl_create.c:1342:do_domain_create: ao 0x1e96690: create:
> how=(nil) callback=(nil) poller=0x1e934c0
> libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk
> vdev=xvda spec.backend=unknown
> libxl: debug: libxl_device.c:234:disk_try_backend: Disk vdev=xvda, backend
> phy unsuitable due to format vhd
> libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk
> vdev=xvda, using backend tap
> libxl: debug: libxl_create.c:797: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:618:libxl__ev_xswatch_deregister: watch
> w=0x1e93848: deregister unregistered
> libxl: debug: libxl_numa.c:478:libxl__get_numa_candidate: New best NUMA
> placement candidate found: nr_nodes=1, nr_cpus=8, nr_vcpus=19,
> free_memkb=13544
> libxl: detail: libxl_dom.c:195:numa_place_domain: NUMA placement candidate
> with 1 nodes, 8 cpus and 13544 KB free selected
> xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0x9cbe4
> xc: detail: elf_parse_binary: memory: 0x100000 -> 0x19cbe4
> xc: detail: VIRTUAL MEMORY ARRANGEMENT:
> Loader: 0000000000100000->000000000019cbe4
> Modules: 0000000000000000->0000000000000000
> TOTAL: 0000000000000000->000000007f800000
> ENTRY ADDRESS: 0000000000100000
> xc: detail: PHYSICAL MEMORY ALLOCATION:
> 4KB PAGES: 0x0000000000000200
> 2MB PAGES: 0x00000000000003fb
> 1GB PAGES: 0x0000000000000000
> xc: detail: elf_load_binary: phdr 0 at 0x7eff5fc4f000 -> 0x7eff5fce2a54
> libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk
> vdev=xvda spec.backend=tap
> libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x1e94eb8
> wpath=/local/domain/0/backend/vbd/16/51712/state token=3/0: register slotnum=3
> libxl: debug: libxl_create.c:1356:do_domain_create: ao 0x1e96690: inprogress:
> poller=0x1e934c0, flags=i
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e94eb8
> wpath=/local/domain/0/backend/vbd/16/51712/state token=3/0: event
> epath=/local/domain/0/backend/vbd/16/51712/state
> libxl: debug: libxl_event.c:657:devstate_watch_callback: backend
> /local/domain/0/backend/vbd/16/51712/state wanted state 2 still waiting state
> 1
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e94eb8
> wpath=/local/domain/0/backend/vbd/16/51712/state token=3/0: event
> epath=/local/domain/0/backend/vbd/16/51712/state
> libxl: debug: libxl_event.c:653:devstate_watch_callback: backend
> /local/domain/0/backend/vbd/16/51712/state wanted state 2 ok
> libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch
> w=0x1e94eb8 wpath=/local/domain/0/backend/vbd/16/51712/state token=3/0:
> deregister slotnum=3
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1e94eb8: deregister unregistered
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1e94f40: deregister unregistered
> libxl: debug: libxl_dm.c:1331:libxl__spawn_local_dm: Spawning device-model
> /usr/lib/xen/bin/qemu-system-i386 with arguments:
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> /usr/lib/xen/bin/qemu-system-i386
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -xen-domid
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: 16
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -chardev
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-16,server,nowait
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -mon
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> chardev=libxl-cmd,mode=control
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -nodefaults
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -name
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: WinXP
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -vnc
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: 127.0.0.1:10
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -display
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: none
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -k
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: en-us
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -serial
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: pty
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -device
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: cirrus-vga
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -global
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: vga.vram_size_mb=8
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -boot
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: order=c
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -usb
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -usbdevice
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: tablet
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -soundhw
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: sb16
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -smp
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: 2,maxcpus=2
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -device
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> rtl8139,id=nic0,netdev=net0,mac=00:16:3e:7c:d9:4b
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -netdev
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> type=tap,id=net0,ifname=vif16.0-emu,script=no,downscript=no
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -machine
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: xenfv
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -m
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: 2040
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm: -drive
> libxl: debug: libxl_dm.c:1333:libxl__spawn_local_dm:
> file=/dev/xen/blktap-2/tapdev5,if=ide,index=0,media=disk,format=raw,cache=writeback
> libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x1e93a80
> wpath=/local/domain/0/device-model/16/state token=3/1: register slotnum=3
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e93a80
> wpath=/local/domain/0/device-model/16/state token=3/1: event
> epath=/local/domain/0/device-model/16/state
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e93a80
> wpath=/local/domain/0/device-model/16/state token=3/1: event
> epath=/local/domain/0/device-model/16/state
> libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch
> w=0x1e93a80 wpath=/local/domain/0/device-model/16/state token=3/1: deregister
> slotnum=3
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1e93a80: deregister unregistered
> libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to
> /var/run/xen/qmp-libxl-16
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
> "execute": "qmp_capabilities",
> "id": 1
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
> "execute": "query-chardev",
> "id": 2
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
> "execute": "query-vnc",
> "id": 3
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
> libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x1e98868
> wpath=/local/domain/0/backend/vif/16/0/state token=3/2: register slotnum=3
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e98868
> wpath=/local/domain/0/backend/vif/16/0/state token=3/2: event
> epath=/local/domain/0/backend/vif/16/0/state
> libxl: debug: libxl_event.c:657:devstate_watch_callback: backend
> /local/domain/0/backend/vif/16/0/state wanted state 2 still waiting state 1
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e98868
> wpath=/local/domain/0/backend/vif/16/0/state token=3/2: event
> epath=/local/domain/0/backend/vif/16/0/state
> libxl: debug: libxl_event.c:653:devstate_watch_callback: backend
> /local/domain/0/backend/vif/16/0/state wanted state 2 ok
> libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch
> w=0x1e98868 wpath=/local/domain/0/backend/vif/16/0/state token=3/2:
> deregister slotnum=3
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1e98868: deregister unregistered
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1e988f0: deregister unregistered
> libxl: debug: libxl_event.c:1761:libxl__ao_progress_report: ao 0x1e96690:
> progress report: ignored
> libxl: debug: libxl_event.c:1591:libxl__ao_complete: ao 0x1e96690: complete,
> rc=0
> libxl: debug: libxl_event.c:1563:libxl__ao__destroy: ao 0x1e96690: destroy
> xc: debug: hypercall buffer: total allocations:833 total releases:833
> xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
> xc: debug: hypercall buffer: cache current size:4
> xc: debug: hypercall buffer: cache hits:825 misses:4 toobig:4
>
> xl-WinXP.log
>
> Waiting for domain WinXP (domid 16) to die [pid 16707]
> libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x1e94eb0
> wpath=@releaseDomain token=3/0: register slotnum=3
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e94eb0
> wpath=@releaseDomain token=3/0: event epath=@releaseDomain
> libxl: debug: libxl.c:1005:domain_death_xswatch_callback: [evg=0x1e96840:16]
> from domid=16 nentries=1 rc=1
> libxl: debug: libxl.c:1016:domain_death_xswatch_callback: [evg=0x1e96840:16]
> got=domaininfos[0] got->domain=16
> libxl: debug: libxl.c:1043:domain_death_xswatch_callback: exists
> shutdown_reported=0 dominf.flags=ffff0002
> libxl: debug: libxl.c:1009:domain_death_xswatch_callback: [evg=0] all reported
> libxl: debug: libxl.c:1073:domain_death_xswatch_callback: domain death search
> done
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e94eb0
> wpath=@releaseDomain token=3/0: event epath=@releaseDomain
> libxl: debug: libxl.c:1005:domain_death_xswatch_callback: [evg=0x1e96840:16]
> from domid=16 nentries=1 rc=1
> libxl: debug: libxl.c:1016:domain_death_xswatch_callback: [evg=0x1e96840:16]
> got=domaininfos[0] got->domain=16
> libxl: debug: libxl.c:1043:domain_death_xswatch_callback: exists
> shutdown_reported=0 dominf.flags=6
> libxl: debug: libxl.c:1055:domain_death_xswatch_callback: shutdown reporting
> libxl: debug: libxl.c:1009:domain_death_xswatch_callback: [evg=0] all reported
> libxl: debug: libxl.c:1073:domain_death_xswatch_callback: domain death search
> done
> Domain 16 has shut down, reason code 0 0x0
> Action for shutdown reason code 0 is destroy
> Domain 16 needs to be cleaned up: destroying the domain
> libxl: debug: libxl.c:1257:libxl_domain_destroy: ao 0x1e98230: create:
> how=(nil) callback=(nil) poller=0x1e92a10
> libxl: debug: libxl_dm.c:1506:kill_device_model: Device Model signaled
> libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x1e984d8
> wpath=/local/domain/0/backend/vbd/16/51712/state token=2/1: register slotnum=2
> libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x1e95138
> wpath=/local/domain/0/backend/vif/16/0/state token=1/2: register slotnum=1
> libxl: debug: libxl.c:1266:libxl_domain_destroy: ao 0x1e98230: inprogress:
> poller=0x1e92a10, flags=i
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e984d8
> wpath=/local/domain/0/backend/vbd/16/51712/state token=2/1: event
> epath=/local/domain/0/backend/vbd/16/51712/state
> libxl: debug: libxl_event.c:657:devstate_watch_callback: backend
> /local/domain/0/backend/vbd/16/51712/state wanted state 6 still waiting state
> 5
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e95138
> wpath=/local/domain/0/backend/vif/16/0/state token=1/2: event
> epath=/local/domain/0/backend/vif/16/0/state
> libxl: debug: libxl_event.c:657:devstate_watch_callback: backend
> /local/domain/0/backend/vif/16/0/state wanted state 6 still waiting state 5
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e984d8
> wpath=/local/domain/0/backend/vbd/16/51712/state token=2/1: event
> epath=/local/domain/0/backend/vbd/16/51712/state
> libxl: debug: libxl_event.c:653:devstate_watch_callback: backend
> /local/domain/0/backend/vbd/16/51712/state wanted state 6 ok
> libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch
> w=0x1e984d8 wpath=/local/domain/0/backend/vbd/16/51712/state token=2/1:
> deregister slotnum=2
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1e984d8: deregister unregistered
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1e98560: deregister unregistered
> DEBUG libxl__device_destroy_tapdisk 105 type=vhd:/var/lib/xen/images/XP.VHD
> disk=:/var/lib/xen/images/XP.VHD
> libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x1e95138
> wpath=/local/domain/0/backend/vif/16/0/state token=1/2: event
> epath=/local/domain/0/backend/vif/16/0/state
> libxl: debug: libxl_event.c:653:devstate_watch_callback: backend
> /local/domain/0/backend/vif/16/0/state wanted state 6 ok
> libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch
> w=0x1e95138 wpath=/local/domain/0/backend/vif/16/0/state token=1/2:
> deregister slotnum=1
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1e95138: deregister unregistered
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1e951c0: deregister unregistered
> libxl: debug: libxl_event.c:483:watchfd_callback: watch
> epath=/local/domain/0/backend/vif/16/0/state token=1/2: empty slot
> libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch
> w=0x1e95060: deregister unregistered
> libxl: debug: libxl_event.c:1591:libxl__ao_complete: ao 0x1e98230: complete,
> rc=0
> libxl: debug: libxl_event.c:1563:libxl__ao__destroy: ao 0x1e98230: destroy
> Done. Exiting now
> libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch
> w=0x1e94eb0 wpath=@releaseDomain token=3/0: deregister slotnum=3
> xc: debug: hypercall buffer: total allocations:850 total releases:850
> xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
> xc: debug: hypercall buffer: cache current size:2
> xc: debug: hypercall buffer: cache hits:848 misses:2 toobig:0
>
> 01.05.2015, 16:45, "Ian Campbell" <ian.campbell@xxxxxxxxxx>:
>> On Tue, 2015-04-28 at 09:46 +0200, dmitry@xxxxxxxxxx wrote:
>>> Hello.
>>> I use Xen 4.4.1-10.el6 CentOS 6.5 (3.10.68-11.el6). I use xl to create
>>> HVM domain (WinXP). VM disk in VHD format.
>>> disk = [ "tap2:vhd:/var/lib/xen/images/disk.vhd,xvda,w" ].
>>> 1. One time terminal type "Parsing config" and VM start successfull.
>>> 2. Next time terminal type :
>>> DEBUG libxl_blktap_devpath 76 vhd:/var/lib/xen/images/disk.vhd
>>> DEBUG libxl_blktap_devpath 81 /dev/xen/blktap-2/tapdev0
>>> libxl: error: libxl_exec.c:396:spawn_timeout: domain 5 device model:
>>> startup timed out
>>> libxl: error: libxl_dm.c:1399:device_model_spawn_outcome: domain 5 device
>>> model: spawn failed (rc=-3)
>>> libxl: error: libxl_create.c:1186:domcreate_devmodel_started: device
>>> model did not start: -3
>>> DEBUG libxl_device_destroy_tapdisk 105
>>> type=vhd:/var/lib/xen/images/disk.vhd disk=:/var/lib/xen/images/disk.vhd
>>>
>>> And VM don't start. xl list show VM domain, but it not work.
>>>
>>> Next see case 1.
>>> Then case 2.
>>> Etc.
>>>
>>> What's wrong?
>> I suspect a resource leak from the first case, which is
>> recovered/cleaned-up on failure in the second case.
>>
>> Any clues in the log files under /var/log/xen?
>>
>> Please can you provide the full output of "xl -vvv create <usual
>> options>" for both cases.
>>
>> After #1 and before #2 do you have an spurious qemu or blktap/tapdisk
>> processes?
>>
>> Ian.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |