
libvir-list-bounces@redhat.com wrote on 04/10/2010 09:47:17 AM:
libvir-list
Hello,
Thanks Alex
I created a domain using "virsh -c xen:/// define libvirt-ttylinux.xml" and "virsh start ttyimage" for a simple ttyimage.
Problem I face is that the image shutsdown immedialtely once virsh start guest is typed. I checked the Xend Logs
----------------------------------------------------------------------------------------------------------
---[2010-04-11 07:08:02 xend 3155] DEBUG (DevController:116) DevController: writing {'frontend-id': '6', 'domain': 'ttyimage', [...] [2010-04-11 07:08:02 xend 3155] DEBUG (vfbif:11) Spawn: ['/usr/lib/ xen/bin/qemu-dm', '-M', 'xenpv', '-d', '6', '-domain-name', 'ttyimage', '-vnc', '127.0.0.1:0', '-vncunused', '-k', 'en-us'] [2010-04-11 07:08:02 xend.XendDomainInfo 3155] DEBUG (XendDomainInfo:992) Storing VM details: {'shadow_memory': '0', 'uuid': 'd5e916b0-bc2d-01f9-8156-4808c754f67a', 'on_reboot': 'restart', 'start_time': '1270937282.29', 'on_poweroff': 'destroy', 'name': 'ttyimage', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '64', 'on_crash': 'destroy', 'image': '(linux (kernel /boot/vmlinuz-2.6.18-164.2.1.el5xen))', 'maxmem': '64'} [2010-04-11 07:08:02 xend.XendDomainInfo 3155] DEBUG (XendDomainInfo:1027) Storing domain details: {'console/ring-ref': '65674', 'console/port': '2', 'name': 'ttyimage', 'console/limit': '1048576', 'vm': '/vm/d5e916b0-bc2d-01f9-8156-4808c754f67a', 'domid': '6', 'cpu/0/availability': 'online', 'memory/target': '65536', 'store/ring-ref': '65675', 'store/port': '1'} [2010-04-11 07:08:02 xend.XendDomainInfo 3155] DEBUG (XendDomainInfo:1249) XendDomainInfo.handleShutdownWatch [2010-04-11 07:08:02 xend 3155] DEBUG (DevController:158) Waiting for devices vif. [2010-04-11 07:08:02 xend 3155] DEBUG (DevController:164) Waiting for 0. [2010-04-11 07:08:02 xend 3155] DEBUG (DevController:509) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status. [2010-04-11 07:08:51 xend 3155] INFO (XendDomain:387) Domain ttyimage (6) unpaused. [2010-04-11 07:08:54 xend.XendDomainInfo 3155] WARNING (XendDomainInfo:1177) Domain has crashed: name=ttyimage id=6.
You domain crashed here... Is the VM image and kernel in that image known to work? Regards, Stefan