Re: [libvirt-users] terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)

2017-10-20 17:14 GMT+03:00 Matwey V. Kornilov <matwey.kornilov@gmail.com>:
2017-10-20 15:16 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
On Fri, Oct 20, 2017 at 03:07:19PM +0300, Matwey V. Kornilov wrote:
2017-10-20 14:59 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
On Thu, Oct 19, 2017 at 09:11:00PM +0300, Matwey V. Kornilov wrote:
Hello,
I use libvirt 3.3.0 and qemu 2.9.0
My domain XML spec is the following:
<domain type='qemu'> <name>s390_generic</name> <uuid>82b4d16e-b636-447e-9fda-41d44616bce8</uuid> <memory unit='KiB'>1048576</memory> <currentMemory unit='KiB'>1048576</currentMemory> <vcpu placement='static'>1</vcpu> <os> <type arch='s390x' machine='s390-ccw-virtio-2.9'>hvm</type> <boot dev='hd'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/bin/qemu-system-s390x</emulator> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source dev='/dev/lvm_pda/libvirt_s390'/> <target dev='vda' bus='virtio'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <target dev='sda' bus='scsi'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <controller type='scsi' index='0' model='virtio-scsi'> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/> </controller> <interface type='bridge'> <mac address='52:54:00:e8:61:7e'/> <source bridge='br0'/> <model type='virtio'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/> </interface> <console type='pty'> <target type='sclp' port='0'/> </console> <memballoon model='virtio'> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0003'/> </memballoon> <panic model='s390'/> </devices> </domain>
The issue is that when I try to start it, it starts and shutdowns immediately:
virsh # start s390_generic Domain s390_generic started
virsh #
In the domain log file I see the following:
2017-10-19 18:10:21.633+0000: starting up libvirt version: 3.3.0, qemu version: 2.9.0(openSUSE Leap 42.3), hostname: oak.local LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-s390x -name guest=s390_generic,debug-threads=on -S -object
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-7-s390_generic/master-key.aes -machine s390-ccw-virtio-2.9,accel=tcg,usb=off,dump-guest-core=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 82b4d16e-b636-447e-9fda-41d44616bce8 -display none -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-7-s390_generic/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device virtio-scsi-ccw,id=scsi0,devno=fe.0.0002 -drive
file=/dev/lvm_pda/libvirt_s390,format=raw,if=none,id=drive-virtio-disk0,cache=none,aio=native -device
virtio-blk-ccw,scsi=off,devno=fe.0.0000,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,id=drive-scsi0-0-0-0,readonly=on -device
scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0 -netdev tap,fd=26,id=hostnet0 -device
virtio-net-ccw,netdev=hostnet0,id=net0,mac=52:54:00:e8:61:7e,devno=fe.0.0001 -chardev pty,id=charconsole0 -device sclpconsole,chardev=charconsole0,id=console0 -device virtio-balloon-ccw,id=balloon0,devno=fe.0.0003 -msg timestamp=on 2017-10-19T18:10:21.701184Z qemu-system-s390x: -chardev pty,id=charconsole0: char device redirected to /dev/pts/5 (label charconsole0) 2017-10-19T18:10:21.721299Z qemu-system-s390x: terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd) 2017-10-19 18:10:21.985+0000: shutting down, reason=shutdown
You don't have much logging enabled, so there's not that much info. What's in the libvirtd.log? what is the status reason for the domain? I.e. output of `virsh domstate --reason` ?
How could I increase log level? There is nothing in libvirtd.log.
Too much info for me...
-- With best regards, Matwey V. Kornilov
-- With best regards, Matwey V. Kornilov

On Fri, Oct 20, 2017 at 10:12:19PM +0300, Matwey V. Kornilov wrote:
2017-10-20 17:14 GMT+03:00 Matwey V. Kornilov <matwey.kornilov@gmail.com>:
2017-10-20 15:16 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
On Fri, Oct 20, 2017 at 03:07:19PM +0300, Matwey V. Kornilov wrote:
2017-10-20 14:59 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
On Thu, Oct 19, 2017 at 09:11:00PM +0300, Matwey V. Kornilov wrote:
Hello,
I use libvirt 3.3.0 and qemu 2.9.0
My domain XML spec is the following:
<domain type='qemu'> <name>s390_generic</name> <uuid>82b4d16e-b636-447e-9fda-41d44616bce8</uuid> <memory unit='KiB'>1048576</memory> <currentMemory unit='KiB'>1048576</currentMemory> <vcpu placement='static'>1</vcpu> <os> <type arch='s390x' machine='s390-ccw-virtio-2.9'>hvm</type> <boot dev='hd'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/bin/qemu-system-s390x</emulator> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source dev='/dev/lvm_pda/libvirt_s390'/> <target dev='vda' bus='virtio'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <target dev='sda' bus='scsi'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <controller type='scsi' index='0' model='virtio-scsi'> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/> </controller> <interface type='bridge'> <mac address='52:54:00:e8:61:7e'/> <source bridge='br0'/> <model type='virtio'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/> </interface> <console type='pty'> <target type='sclp' port='0'/> </console> <memballoon model='virtio'> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0003'/> </memballoon> <panic model='s390'/> </devices> </domain>
The issue is that when I try to start it, it starts and shutdowns immediately:
virsh # start s390_generic Domain s390_generic started
virsh #
In the domain log file I see the following:
2017-10-19 18:10:21.633+0000: starting up libvirt version: 3.3.0, qemu version: 2.9.0(openSUSE Leap 42.3), hostname: oak.local LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-s390x -name guest=s390_generic,debug-threads=on -S -object
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-7-s390_generic/master-key.aes -machine s390-ccw-virtio-2.9,accel=tcg,usb=off,dump-guest-core=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 82b4d16e-b636-447e-9fda-41d44616bce8 -display none -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-7-s390_generic/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device virtio-scsi-ccw,id=scsi0,devno=fe.0.0002 -drive
file=/dev/lvm_pda/libvirt_s390,format=raw,if=none,id=drive-virtio-disk0,cache=none,aio=native -device
virtio-blk-ccw,scsi=off,devno=fe.0.0000,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,id=drive-scsi0-0-0-0,readonly=on -device
scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0 -netdev tap,fd=26,id=hostnet0 -device
virtio-net-ccw,netdev=hostnet0,id=net0,mac=52:54:00:e8:61:7e,devno=fe.0.0001 -chardev pty,id=charconsole0 -device sclpconsole,chardev=charconsole0,id=console0 -device virtio-balloon-ccw,id=balloon0,devno=fe.0.0003 -msg timestamp=on 2017-10-19T18:10:21.701184Z qemu-system-s390x: -chardev pty,id=charconsole0: char device redirected to /dev/pts/5 (label charconsole0) 2017-10-19T18:10:21.721299Z qemu-system-s390x: terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd) 2017-10-19 18:10:21.985+0000: shutting down, reason=shutdown
You don't have much logging enabled, so there's not that much info. What's in the libvirtd.log? what is the status reason for the domain? I.e. output of `virsh domstate --reason` ?
How could I increase log level? There is nothing in libvirtd.log.
Too much info for me...
We are getting 'shutdown' event from the QEMU process, so this is not done by libvirt. Could you also check the qemu log now that you have debug logs enabled?

2017-10-24 12:58 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
On Fri, Oct 20, 2017 at 10:12:19PM +0300, Matwey V. Kornilov wrote:
2017-10-20 17:14 GMT+03:00 Matwey V. Kornilov <matwey.kornilov@gmail.com>:
2017-10-20 15:16 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
On Fri, Oct 20, 2017 at 03:07:19PM +0300, Matwey V. Kornilov wrote:
2017-10-20 14:59 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
On Thu, Oct 19, 2017 at 09:11:00PM +0300, Matwey V. Kornilov wrote: > > > > Hello, > > I use libvirt 3.3.0 and qemu 2.9.0 > > My domain XML spec is the following: > > <domain type='qemu'> > <name>s390_generic</name> > <uuid>82b4d16e-b636-447e-9fda-41d44616bce8</uuid> > <memory unit='KiB'>1048576</memory> > <currentMemory unit='KiB'>1048576</currentMemory> > <vcpu placement='static'>1</vcpu> > <os> > <type arch='s390x' machine='s390-ccw-virtio-2.9'>hvm</type> > <boot dev='hd'/> > </os> > <clock offset='utc'/> > <on_poweroff>destroy</on_poweroff> > <on_reboot>restart</on_reboot> > <on_crash>destroy</on_crash> > <devices> > <emulator>/usr/bin/qemu-system-s390x</emulator> > <disk type='block' device='disk'> > <driver name='qemu' type='raw' cache='none' io='native'/> > <source dev='/dev/lvm_pda/libvirt_s390'/> > <target dev='vda' bus='virtio'/> > <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> > </disk> > <disk type='file' device='cdrom'> > <driver name='qemu' type='raw'/> > <target dev='sda' bus='scsi'/> > <readonly/> > <address type='drive' controller='0' bus='0' target='0' > unit='0'/> > </disk> > <controller type='scsi' index='0' model='virtio-scsi'> > <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/> > </controller> > <interface type='bridge'> > <mac address='52:54:00:e8:61:7e'/> > <source bridge='br0'/> > <model type='virtio'/> > <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/> > </interface> > <console type='pty'> > <target type='sclp' port='0'/> > </console> > <memballoon model='virtio'> > <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0003'/> > </memballoon> > <panic model='s390'/> > </devices> > </domain> > > The issue is that when I try to start it, it starts and shutdowns > immediately: > > virsh # start s390_generic > Domain s390_generic started > > virsh # > > In the domain log file I see the following: > > 2017-10-19 18:10:21.633+0000: starting up libvirt version: 3.3.0, > qemu > version: 2.9.0(openSUSE Leap 42.3), hostname: oak.local > LC_ALL=C > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin > QEMU_AUDIO_DRV=none /usr/bin/qemu-system-s390x -name > guest=s390_generic,debug-threads=on -S -object > > > > secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-7-s390_generic/master-key.aes > -machine s390-ccw-virtio-2.9,accel=tcg,usb=off,dump-guest-core=off -m > 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid > 82b4d16e-b636-447e-9fda-41d44616bce8 -display none -no-user-config > -nodefaults -chardev > > > > socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-7-s390_generic/monitor.sock,server,nowait > -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc > -no-shutdown -boot strict=on -device > virtio-scsi-ccw,id=scsi0,devno=fe.0.0002 -drive > > > > file=/dev/lvm_pda/libvirt_s390,format=raw,if=none,id=drive-virtio-disk0,cache=none,aio=native > -device > > > > virtio-blk-ccw,scsi=off,devno=fe.0.0000,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 > -drive if=none,id=drive-scsi0-0-0-0,readonly=on -device > > > > scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0 > -netdev tap,fd=26,id=hostnet0 -device > > > > virtio-net-ccw,netdev=hostnet0,id=net0,mac=52:54:00:e8:61:7e,devno=fe.0.0001 > -chardev pty,id=charconsole0 -device > sclpconsole,chardev=charconsole0,id=console0 -device > virtio-balloon-ccw,id=balloon0,devno=fe.0.0003 -msg timestamp=on > 2017-10-19T18:10:21.701184Z qemu-system-s390x: -chardev > pty,id=charconsole0: char device redirected to /dev/pts/5 (label > charconsole0) > 2017-10-19T18:10:21.721299Z qemu-system-s390x: terminating on signal > 15 > from pid 2146 (/usr/sbin/libvirtd) > 2017-10-19 18:10:21.985+0000: shutting down, reason=shutdown >
You don't have much logging enabled, so there's not that much info. What's in the libvirtd.log? what is the status reason for the domain? I.e. output of `virsh domstate --reason` ?
How could I increase log level? There is nothing in libvirtd.log.
Too much info for me...
We are getting 'shutdown' event from the QEMU process, so this is not done by libvirt. Could you also check the qemu log now that you have debug logs enabled?
2017-10-20 13:49:12.596+0000: starting up libvirt version: 3.3.0, qemu version: 2.9.0(openSUSE Leap 42.3), hostname: oak.local LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-s390x -name guest=s390_generic,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-3-s390_generic/master-key.aes -machine s390-ccw-virtio-2.9,accel=tcg,usb=off,dump-guest-core=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 82b4d16e-b636-447e-9fda-41d44616bce8 -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-3-s390_generic/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device virtio-scsi-ccw,id=scsi0,devno=fe.0.0002 -drive file=/dev/lvm_pda/libvirt_s390,format=raw,if=none,id=drive-virtio-disk0,cache=none,aio=native -device virtio-blk-ccw,scsi=off,devno=fe.0.0000,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,id=drive-scsi0-0-0-0,readonly=on -device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0 -netdev tap,fd=26,id=hostnet0 -device virtio-net-ccw,netdev=hostnet0,id=net0,mac=52:54:00:e8:61:7e,devno=fe.0.0001 -chardev pty,id=charconsole0 -device sclpconsole,chardev=charconsole0,id=console0 -device virtio-balloon-ccw,id=balloon0,devno=fe.0.0003 -msg timestamp=on 2017-10-20 13:49:12.600+0000: 11179: debug : virFileClose:110 : Closed fd 27 2017-10-20 13:49:12.600+0000: 11179: debug : virFileClose:110 : Closed fd 32 2017-10-20 13:49:12.601+0000: 11179: debug : virFileClose:110 : Closed fd 3 2017-10-20 13:49:12.601+0000: 11181: debug : virExec:697 : Run hook 0x7fc7e7d339c0 0x7fc8080cb650 2017-10-20 13:49:12.601+0000: 11181: debug : qemuProcessHook:2663 : Obtaining domain lock 2017-10-20 13:49:12.601+0000: 11181: debug : virDomainLockProcessStart:179 : plugin=0x7fc7b41e7290 dom=0x7fc7b4256400 paused=1 fd=0x7fc8080cb1b8 2017-10-20 13:49:12.601+0000: 11181: debug : virDomainLockManagerNew:134 : plugin=0x7fc7b41e7290 dom=0x7fc7b4256400 withResources=1 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerPluginGetDriver:281 : plugin=0x7fc7b41e7290 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerNew:305 : driver=0x7fc81283a3a0 type=0 nparams=5 params=0x7fc8080cb070 flags=1 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerLogParams:98 : key=uuid type=uuid value=82b4d16e-b636-447e-9fda-41d44616bce8 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerLogParams:91 : key=name type=string value=s390_generic 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerLogParams:79 : key=id type=uint value=3 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerLogParams:79 : key=pid type=uint value=11181 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerLogParams:94 : key=uri type=cstring value=qemu:///system 2017-10-20 13:49:12.601+0000: 11181: debug : virDomainLockManagerNew:146 : Adding leases 2017-10-20 13:49:12.601+0000: 11181: debug : virDomainLockManagerNew:151 : Adding disks 2017-10-20 13:49:12.601+0000: 11181: debug : virDomainLockManagerAddImage:90 : Add disk /dev/lvm_pda/libvirt_s390 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerAddResource:332 : lock=0x7fc7ec002350 type=0 name=/dev/lvm_pda/libvirt_s390 nparams=0 params=(nil) flags=0 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerAcquire:350 : lock=0x7fc7ec002350 state='<null>' flags=3 action=0 fd=0x7fc8080cb1b8 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerFree:387 : lock=0x7fc7ec002350 2017-10-20 13:49:12.601+0000: 11181: debug : virFileGetMountSubtreeImpl:1923 : prefix=/dev 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupDev:7701 : Setting up /dev/ for domain s390_generic 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileSetupDev:3597 : Mount devfs on /var/run/libvirt/qemu/s390_generic.dev type=tmpfs flags=2, opts=mode=755,size=65536 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/null 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/null 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/full 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/full 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/zero 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/zero 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/random 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/random 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/urandom 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/urandom 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/ptmx 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/ptmx 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/kvm 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/kvm 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/rtc 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/rtc 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/rtc0 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/rtc0 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/hpet 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/hpet 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllDisks:7763 : Setting up disks 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/lvm_pda/libvirt_s390 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev/lvm_pda mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/lvm_pda/libvirt_s390 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/lvm_pda/../dm-27 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev/lvm_pda/.. mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/lvm_pda/../dm-27 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllDisks:7772 : Setup all disks 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllHostdevs:7810 : Setting up hostdevs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllHostdevs:7817 : Setup all hostdevs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllMemories:7841 : Setting up memories 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllMemories:7848 : Setup all memories 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllChardevs:7872 : Setting up chardevs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllChardevs:7880 : Setup all chardevs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllGraphics:7937 : Setting up graphics 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllGraphics:7945 : Setup all graphics 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllInputs:7984 : Setting up inputs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllInputs:7991 : Setup all inputs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllRNGs:8023 : Setting up RNGs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllRNGs:8031 : Setup all RNGs 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.hugepages mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.mqueue mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.pts mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.shm mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev/hugepages mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev/mqueue mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev/pts mode=0777 2017-10-20 13:49:12.603+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev mode=0777 2017-10-20 13:49:12.603+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev/shm mode=0777 2017-10-20 13:49:12.603+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev mode=0777 2017-10-20 13:49:12.603+0000: 11181: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fc7b4150120 2017-10-20 13:49:12.603+0000: 11181: debug : qemuProcessHook:2707 : Hook complete ret=0 2017-10-20 13:49:12.603+0000: 11181: debug : virExec:699 : Done hook 0 2017-10-20 13:49:12.603+0000: 11181: debug : virExec:736 : Setting child uid:gid to 479:476 with caps 0 2017-10-20 13:49:12.603+0000: 11181: debug : virCommandHandshakeChild:435 : Notifying parent for handshake start on 29 2017-10-20 13:49:12.603+0000: 11181: debug : virCommandHandshakeChild:443 : Waiting on parent for handshake complete on 30 2017-10-20 13:49:12.649+0000: 11181: debug : virFileClose:110 : Closed fd 29 2017-10-20 13:49:12.649+0000: 11181: debug : virFileClose:110 : Closed fd 30 2017-10-20 13:49:12.649+0000: 11181: debug : virCommandHandshakeChild:463 : Handshake with parent is done 2017-10-20T13:49:12.675569Z qemu-system-s390x: -chardev pty,id=charconsole0: char device redirected to /dev/pts/7 (label charconsole0) 2017-10-20T13:49:12.715606Z qemu-system-s390x: terminating on signal 15 from pid 10645 (/usr/sbin/libvirtd) 2017-10-20 13:49:12.998+0000: shutting down, reason=shutdown -- With best regards, Matwey V. Kornilov

2017-10-25 17:28 GMT+03:00 Matwey V. Kornilov <matwey.kornilov@gmail.com>:
2017-10-24 12:58 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
On Fri, Oct 20, 2017 at 10:12:19PM +0300, Matwey V. Kornilov wrote:
2017-10-20 17:14 GMT+03:00 Matwey V. Kornilov <matwey.kornilov@gmail.com>:
2017-10-20 15:16 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
On Fri, Oct 20, 2017 at 03:07:19PM +0300, Matwey V. Kornilov wrote:
2017-10-20 14:59 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>: > > > On Thu, Oct 19, 2017 at 09:11:00PM +0300, Matwey V. Kornilov wrote: >> >> >> >> Hello, >> >> I use libvirt 3.3.0 and qemu 2.9.0 >> >> My domain XML spec is the following: >> >> <domain type='qemu'> >> <name>s390_generic</name> >> <uuid>82b4d16e-b636-447e-9fda-41d44616bce8</uuid> >> <memory unit='KiB'>1048576</memory> >> <currentMemory unit='KiB'>1048576</currentMemory> >> <vcpu placement='static'>1</vcpu> >> <os> >> <type arch='s390x' machine='s390-ccw-virtio-2.9'>hvm</type> >> <boot dev='hd'/> >> </os> >> <clock offset='utc'/> >> <on_poweroff>destroy</on_poweroff> >> <on_reboot>restart</on_reboot> >> <on_crash>destroy</on_crash> >> <devices> >> <emulator>/usr/bin/qemu-system-s390x</emulator> >> <disk type='block' device='disk'> >> <driver name='qemu' type='raw' cache='none' io='native'/> >> <source dev='/dev/lvm_pda/libvirt_s390'/> >> <target dev='vda' bus='virtio'/> >> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> >> </disk> >> <disk type='file' device='cdrom'> >> <driver name='qemu' type='raw'/> >> <target dev='sda' bus='scsi'/> >> <readonly/> >> <address type='drive' controller='0' bus='0' target='0' >> unit='0'/> >> </disk> >> <controller type='scsi' index='0' model='virtio-scsi'> >> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/> >> </controller> >> <interface type='bridge'> >> <mac address='52:54:00:e8:61:7e'/> >> <source bridge='br0'/> >> <model type='virtio'/> >> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/> >> </interface> >> <console type='pty'> >> <target type='sclp' port='0'/> >> </console> >> <memballoon model='virtio'> >> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0003'/> >> </memballoon> >> <panic model='s390'/> >> </devices> >> </domain> >> >> The issue is that when I try to start it, it starts and shutdowns >> immediately: >> >> virsh # start s390_generic >> Domain s390_generic started >> >> virsh # >> >> In the domain log file I see the following: >> >> 2017-10-19 18:10:21.633+0000: starting up libvirt version: 3.3.0, >> qemu >> version: 2.9.0(openSUSE Leap 42.3), hostname: oak.local >> LC_ALL=C >> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin >> QEMU_AUDIO_DRV=none /usr/bin/qemu-system-s390x -name >> guest=s390_generic,debug-threads=on -S -object >> >> >> >> secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-7-s390_generic/master-key.aes >> -machine s390-ccw-virtio-2.9,accel=tcg,usb=off,dump-guest-core=off -m >> 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid >> 82b4d16e-b636-447e-9fda-41d44616bce8 -display none -no-user-config >> -nodefaults -chardev >> >> >> >> socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-7-s390_generic/monitor.sock,server,nowait >> -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc >> -no-shutdown -boot strict=on -device >> virtio-scsi-ccw,id=scsi0,devno=fe.0.0002 -drive >> >> >> >> file=/dev/lvm_pda/libvirt_s390,format=raw,if=none,id=drive-virtio-disk0,cache=none,aio=native >> -device >> >> >> >> virtio-blk-ccw,scsi=off,devno=fe.0.0000,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 >> -drive if=none,id=drive-scsi0-0-0-0,readonly=on -device >> >> >> >> scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0 >> -netdev tap,fd=26,id=hostnet0 -device >> >> >> >> virtio-net-ccw,netdev=hostnet0,id=net0,mac=52:54:00:e8:61:7e,devno=fe.0.0001 >> -chardev pty,id=charconsole0 -device >> sclpconsole,chardev=charconsole0,id=console0 -device >> virtio-balloon-ccw,id=balloon0,devno=fe.0.0003 -msg timestamp=on >> 2017-10-19T18:10:21.701184Z qemu-system-s390x: -chardev >> pty,id=charconsole0: char device redirected to /dev/pts/5 (label >> charconsole0) >> 2017-10-19T18:10:21.721299Z qemu-system-s390x: terminating on signal >> 15 >> from pid 2146 (/usr/sbin/libvirtd) >> 2017-10-19 18:10:21.985+0000: shutting down, reason=shutdown >> > > You don't have much logging enabled, so there's not that much info. > What's > in > the libvirtd.log? what is the status reason for the domain? I.e. > output > of > `virsh domstate --reason` ?
How could I increase log level? There is nothing in libvirtd.log.
Too much info for me...
We are getting 'shutdown' event from the QEMU process, so this is not done by libvirt. Could you also check the qemu log now that you have debug logs enabled?
2017-10-20 13:49:12.596+0000: starting up libvirt version: 3.3.0, qemu version: 2.9.0(openSUSE Leap 42.3), hostname: oak.local LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-s390x -name guest=s390_generic,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-3-s390_generic/master-key.aes -machine s390-ccw-virtio-2.9,accel=tcg,usb=off,dump-guest-core=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 82b4d16e-b636-447e-9fda-41d44616bce8 -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-3-s390_generic/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device virtio-scsi-ccw,id=scsi0,devno=fe.0.0002 -drive file=/dev/lvm_pda/libvirt_s390,format=raw,if=none,id=drive-virtio-disk0,cache=none,aio=native -device virtio-blk-ccw,scsi=off,devno=fe.0.0000,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,id=drive-scsi0-0-0-0,readonly=on -device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0 -netdev tap,fd=26,id=hostnet0 -device virtio-net-ccw,netdev=hostnet0,id=net0,mac=52:54:00:e8:61:7e,devno=fe.0.0001 -chardev pty,id=charconsole0 -device sclpconsole,chardev=charconsole0,id=console0 -device virtio-balloon-ccw,id=balloon0,devno=fe.0.0003 -msg timestamp=on 2017-10-20 13:49:12.600+0000: 11179: debug : virFileClose:110 : Closed fd 27 2017-10-20 13:49:12.600+0000: 11179: debug : virFileClose:110 : Closed fd 32 2017-10-20 13:49:12.601+0000: 11179: debug : virFileClose:110 : Closed fd 3 2017-10-20 13:49:12.601+0000: 11181: debug : virExec:697 : Run hook 0x7fc7e7d339c0 0x7fc8080cb650 2017-10-20 13:49:12.601+0000: 11181: debug : qemuProcessHook:2663 : Obtaining domain lock 2017-10-20 13:49:12.601+0000: 11181: debug : virDomainLockProcessStart:179 : plugin=0x7fc7b41e7290 dom=0x7fc7b4256400 paused=1 fd=0x7fc8080cb1b8 2017-10-20 13:49:12.601+0000: 11181: debug : virDomainLockManagerNew:134 : plugin=0x7fc7b41e7290 dom=0x7fc7b4256400 withResources=1 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerPluginGetDriver:281 : plugin=0x7fc7b41e7290 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerNew:305 : driver=0x7fc81283a3a0 type=0 nparams=5 params=0x7fc8080cb070 flags=1 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerLogParams:98 : key=uuid type=uuid value=82b4d16e-b636-447e-9fda-41d44616bce8 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerLogParams:91 : key=name type=string value=s390_generic 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerLogParams:79 : key=id type=uint value=3 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerLogParams:79 : key=pid type=uint value=11181 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerLogParams:94 : key=uri type=cstring value=qemu:///system 2017-10-20 13:49:12.601+0000: 11181: debug : virDomainLockManagerNew:146 : Adding leases 2017-10-20 13:49:12.601+0000: 11181: debug : virDomainLockManagerNew:151 : Adding disks 2017-10-20 13:49:12.601+0000: 11181: debug : virDomainLockManagerAddImage:90 : Add disk /dev/lvm_pda/libvirt_s390 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerAddResource:332 : lock=0x7fc7ec002350 type=0 name=/dev/lvm_pda/libvirt_s390 nparams=0 params=(nil) flags=0 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerAcquire:350 : lock=0x7fc7ec002350 state='<null>' flags=3 action=0 fd=0x7fc8080cb1b8 2017-10-20 13:49:12.601+0000: 11181: debug : virLockManagerFree:387 : lock=0x7fc7ec002350 2017-10-20 13:49:12.601+0000: 11181: debug : virFileGetMountSubtreeImpl:1923 : prefix=/dev 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupDev:7701 : Setting up /dev/ for domain s390_generic 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileSetupDev:3597 : Mount devfs on /var/run/libvirt/qemu/s390_generic.dev type=tmpfs flags=2, opts=mode=755,size=65536 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/null 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/null 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/full 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/full 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/zero 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/zero 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/random 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/random 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/urandom 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/urandom 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/ptmx 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/ptmx 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/kvm 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/kvm 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/rtc 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/rtc 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/rtc0 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/rtc0 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/hpet 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/hpet 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllDisks:7763 : Setting up disks 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/lvm_pda/libvirt_s390 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev/lvm_pda mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/lvm_pda/libvirt_s390 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakeParentPath:2984 : path=/var/run/libvirt/qemu/s390_generic.dev/lvm_pda/../dm-27 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.dev/lvm_pda/.. mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainCreateDeviceRecursive:7517 : Creating dev /dev/lvm_pda/../dm-27 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllDisks:7772 : Setup all disks 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllHostdevs:7810 : Setting up hostdevs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllHostdevs:7817 : Setup all hostdevs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllMemories:7841 : Setting up memories 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllMemories:7848 : Setup all memories 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllChardevs:7872 : Setting up chardevs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllChardevs:7880 : Setup all chardevs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllGraphics:7937 : Setting up graphics 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllGraphics:7945 : Setup all graphics 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllInputs:7984 : Setting up inputs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllInputs:7991 : Setup all inputs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllRNGs:8023 : Setting up RNGs 2017-10-20 13:49:12.602+0000: 11181: debug : qemuDomainSetupAllRNGs:8031 : Setup all RNGs 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.hugepages mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.mqueue mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.pts mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu/s390_generic.shm mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/var/run/libvirt/qemu mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev/hugepages mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev/mqueue mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev mode=0777 2017-10-20 13:49:12.602+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev/pts mode=0777 2017-10-20 13:49:12.603+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev mode=0777 2017-10-20 13:49:12.603+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev/shm mode=0777 2017-10-20 13:49:12.603+0000: 11181: debug : virFileMakePathHelper:2912 : path=/dev mode=0777 2017-10-20 13:49:12.603+0000: 11181: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x7fc7b4150120 2017-10-20 13:49:12.603+0000: 11181: debug : qemuProcessHook:2707 : Hook complete ret=0 2017-10-20 13:49:12.603+0000: 11181: debug : virExec:699 : Done hook 0 2017-10-20 13:49:12.603+0000: 11181: debug : virExec:736 : Setting child uid:gid to 479:476 with caps 0 2017-10-20 13:49:12.603+0000: 11181: debug : virCommandHandshakeChild:435 : Notifying parent for handshake start on 29 2017-10-20 13:49:12.603+0000: 11181: debug : virCommandHandshakeChild:443 : Waiting on parent for handshake complete on 30 2017-10-20 13:49:12.649+0000: 11181: debug : virFileClose:110 : Closed fd 29 2017-10-20 13:49:12.649+0000: 11181: debug : virFileClose:110 : Closed fd 30 2017-10-20 13:49:12.649+0000: 11181: debug : virCommandHandshakeChild:463 : Handshake with parent is done 2017-10-20T13:49:12.675569Z qemu-system-s390x: -chardev pty,id=charconsole0: char device redirected to /dev/pts/7 (label charconsole0) 2017-10-20T13:49:12.715606Z qemu-system-s390x: terminating on signal 15 from pid 10645 (/usr/sbin/libvirtd) 2017-10-20 13:49:12.998+0000: shutting down, reason=shutdown
-- With best regards, Matwey V. Kornilov
Well, I really had to use start --console from the beginning. It would have safe the time. # start --console s390_generic Using guessed DASD geometry. Using ECKD scheme (block size 4096), CDL ! No zIPL section in IPL2 record. ! -- With best regards, Matwey V. Kornilov

On Wed, Oct 25, 2017 at 09:41:58PM +0300, Matwey V. Kornilov wrote:
Well, I really had to use start --console from the beginning. It would have safe the time.
# start --console s390_generic Using guessed DASD geometry. Using ECKD scheme (block size 4096), CDL
! No zIPL section in IPL2 record. !
Yeah, it all looked like the guest OS just ends normally itself. So precisely what libvirt was reporting. I'm glad this is resolved. Have a nice day, Martin

2017-10-26 10:45 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
On Wed, Oct 25, 2017 at 09:41:58PM +0300, Matwey V. Kornilov wrote:
Well, I really had to use start --console from the beginning. It would have safe the time.
# start --console s390_generic Using guessed DASD geometry. Using ECKD scheme (block size 4096), CDL
! No zIPL section in IPL2 record. !
Yeah, it all looked like the guest OS just ends normally itself. So precisely what libvirt was reporting.
I'm glad this is resolved.
Thank you very much for patience.
Have a nice day, Martin
-- With best regards, Matwey V. Kornilov
participants (2)
-
Martin Kletzander
-
Matwey V. Kornilov