>>> On 2/22/2019 at 9:50 AM, Vitaly Kuznetsov <email address hidden> wrote:
> I sent a patch which is supposed to fix the issue:
> https://marc.info/?l=kvm&m=155085391830663&w=2
>
> it would be great if someone could give it a spin!
>
I've been trying to get down to the bottom of this.
It looks like you've got it.
I can confirm that this fixes the issue for me. Thanks!
Tested-by: Bruce Rogers <email address hidden>
> --
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
> https://bugs.launchpad.net/bugs/1813165
>
> Title:
> KVM internal error. Suberror: 1 emulation failure
>
> Status in QEMU:
> New
>
> Bug description:
> Hello Devs.
>
> Having problems getting VM to run with qemu 3.1.0. I should mention
> it's a nested configuration.
>
> 2019-01-24 13:46:08.648+0000: starting up libvirt version: 4.10.0, qemu
> version: 3.1.0, kernel: 4.14.94, hostname: one....
> LC_ALL=C
> PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/b
> in:/usr/local/sbin:/opt/bin HOME=/root USER=root QEMU_AUDIO_DRV=none
> /usr/bin/kvm -name guest=one-266,debug-threads=on -S -object
> secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-one-266/m
> aster-key.aes -machine pc-i440fx-2.9,accel=kvm,usb=off,dump-guest-core=off
> -cpu
> Skylake-Client-IBRS,ss=on,hypervisor=on,tsc_adjust=on,clflushopt=on,ssbd=on,x
> saves=on,pdpe1gb=on -m 1024 -realtime mlock=off -smp
> 2,sockets=2,cores=1,threads=1 -uuid b219b45d-a2f0-4128-a948-8673a7abf968
> -no-user-config -nodefaults -chardev
> socket,id=charmonitor,fd=21,server,nowait -mon
> chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot
> strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive
> file=/var/lib/one//datastores/0/266/disk.0,format=qcow2,if=none,id=drive-virt
> io-disk0,cache=none -device
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio
> -disk0,bootindex=1,write-cache=on -drive
> file=/var/lib/one//datastores/0/266/disk.1,format=raw,if=none,id=drive-ide0-0
> -0,readonly=on -device
> ide-cd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev
> tap,fd=23,id=hostnet0 -device
> rtl8139,netdev=hostnet0,id=net0,mac=02:00:00:76:69:85,bus=pci.0,addr=0x3
> -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0
> -vnc 0.0.0.0:266 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -sandbox
> on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg
> timestamp=on
> char device redirected to /dev/pts/1 (label charserial0)
> KVM internal error. Suberror: 1
> emulation failure
> EAX=00000001 EBX=000f7c2c ECX=00000001 EDX=00000001
> ESI=00006a26 EDI=3ffbdc48 EBP=000069e6 ESP=000a8000
> EIP=000fd057 EFL=00010016 [----AP-] CPL=0 II=0 A20=1 SMM=1 HLT=0
> ES =0010 00000000 ffffffff 00c09300
> CS =0000 00000000 00000fff 00809b00
> SS =0010 00000000 ffffffff 00c09300
> DS =0010 00000000 ffffffff 00c09300
> FS =0010 00000000 ffffffff 00c09300
> GS =0010 00000000 ffffffff 00c09300
> LDT=0000 00000000 0000ffff 00008200
> TR =0000 00000000 0000ffff 00008b00
> GDT= 10387cfe 0000fe6c
> IDT= 0010387c 00003810
> CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000
> DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000
> DR3=0000000000000000
> DR6=00000000fffecffc DR7=000000000e1e0400
> EFER=0000000000000000
> Code=cb 66 ba 4d d0 0f 00 e9 c8 fe bc 00 80 0a 00 e8 31 3a ff ff <0f> aa fa
> fc 66 ba 66 d0 0f 00 e9 b1 fe f3 90 f0 0f ba 2d ac 3b 0f 00 00 72 f3 8b 25 a8
> 3b
> 2019-01-24T13:47:39.383366Z kvm: terminating on signal 15 from pid 2708
> (/usr/sbin/libvirtd)
>
> Someone has an idea whats going wrong here?
>
> thanks and cheers
> t.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1813165/+subscriptions
>>> On 2/22/2019 at 9:50 AM, Vitaly Kuznetsov <email address hidden> wrote: /marc.info/ ?l=kvm& m=1550853918306 63&w=2
> I sent a patch which is supposed to fix the issue:
> https:/
>
> it would be great if someone could give it a spin!
>
I've been trying to get down to the bottom of this.
It looks like you've got it.
I can confirm that this fixes the issue for me. Thanks!
Tested-by: Bruce Rogers <email address hidden>
> -- /bugs.launchpad .net/bugs/ 1813165 /sbin:/ bin:/sbin: /usr/bin: /usr/sbin: /usr/bin: /usr/sbin: /usr/local/ b local/sbin: /opt/bin HOME=/root USER=root QEMU_AUDIO_DRV=none 266,debug- threads= on -S -object id=masterKey0, format= raw,file= /var/lib/ libvirt/ qemu/domain- 1-one-266/ m 2.9,accel= kvm,usb= off,dump- guest-core= off Client- IBRS,ss= on,hypervisor= on,tsc_ adjust= on,clflushopt= on,ssbd= on,x 2,cores= 1,threads= 1 -uuid b219b45d- a2f0-4128- a948-8673a7abf9 68 id=charmonitor, fd=21,server, nowait -mon charmonitor, id=monitor, mode=control -rtc base=utc -no-shutdown -boot uhci,id= usb,bus= pci.0,addr= 0x1.0x2 -drive lib/one/ /datastores/ 0/266/disk. 0,format= qcow2,if= none,id= drive-virt blk-pci, scsi=off, bus=pci. 0,addr= 0x4,drive= drive-virtio- disk0,id= virtio bootindex= 1,write- cache=on -drive lib/one/ /datastores/ 0/266/disk. 1,format= raw,if= none,id= drive-ide0- 0 bus=ide. 0,unit= 0,drive= drive-ide0- 0-0,id= ide0-0- 0 -netdev 23,id=hostnet0 -device netdev= hostnet0, id=net0, mac=02: 00:00:76: 69:85,bus= pci.0,addr= 0x3 chardev= charserial0, id=serial0 vga,id= video0, bus=pci. 0,addr= 0x2 -device balloon- pci,id= balloon0, bus=pci. 0,addr= 0x5 -sandbox deny,elevatepri vileges= deny,spawn= deny,resourceco ntrol=deny -msg 00000 DR1=00000000000 00000 DR2=00000000000 00000 00000 ecffc DR7=000000000e1 e0400 000000 24T13:47: 39.383366Z kvm: terminating on signal 15 from pid 2708 libvirtd) /bugs.launchpad .net/qemu/ +bug/1813165/ +subscriptions
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
> https:/
>
> Title:
> KVM internal error. Suberror: 1 emulation failure
>
> Status in QEMU:
> New
>
> Bug description:
> Hello Devs.
>
> Having problems getting VM to run with qemu 3.1.0. I should mention
> it's a nested configuration.
>
> 2019-01-24 13:46:08.648+0000: starting up libvirt version: 4.10.0, qemu
> version: 3.1.0, kernel: 4.14.94, hostname: one....
> LC_ALL=C
> PATH=/bin:
> in:/usr/
> /usr/bin/kvm -name guest=one-
> secret,
> aster-key.aes -machine pc-i440fx-
> -cpu
> Skylake-
> saves=on,pdpe1gb=on -m 1024 -realtime mlock=off -smp
> 2,sockets=
> -no-user-config -nodefaults -chardev
> socket,
> chardev=
> strict=on -device piix3-usb-
> file=/var/
> io-disk0,cache=none -device
> virtio-
> -disk0,
> file=/var/
> -0,readonly=on -device
> ide-cd,
> tap,fd=
> rtl8139,
> -chardev pty,id=charserial0 -device isa-serial,
> -vnc 0.0.0.0:266 -device cirrus-
> virtio-
> on,obsolete=
> timestamp=on
> char device redirected to /dev/pts/1 (label charserial0)
> KVM internal error. Suberror: 1
> emulation failure
> EAX=00000001 EBX=000f7c2c ECX=00000001 EDX=00000001
> ESI=00006a26 EDI=3ffbdc48 EBP=000069e6 ESP=000a8000
> EIP=000fd057 EFL=00010016 [----AP-] CPL=0 II=0 A20=1 SMM=1 HLT=0
> ES =0010 00000000 ffffffff 00c09300
> CS =0000 00000000 00000fff 00809b00
> SS =0010 00000000 ffffffff 00c09300
> DS =0010 00000000 ffffffff 00c09300
> FS =0010 00000000 ffffffff 00c09300
> GS =0010 00000000 ffffffff 00c09300
> LDT=0000 00000000 0000ffff 00008200
> TR =0000 00000000 0000ffff 00008b00
> GDT= 10387cfe 0000fe6c
> IDT= 0010387c 00003810
> CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000
> DR0=00000000000
> DR3=00000000000
> DR6=00000000fff
> EFER=0000000000
> Code=cb 66 ba 4d d0 0f 00 e9 c8 fe bc 00 80 0a 00 e8 31 3a ff ff <0f> aa fa
> fc 66 ba 66 d0 0f 00 e9 b1 fe f3 90 f0 0f ba 2d ac 3b 0f 00 00 72 f3 8b 25 a8
> 3b
> 2019-01-
> (/usr/sbin/
>
> Someone has an idea whats going wrong here?
>
> thanks and cheers
> t.
>
> To manage notifications about this bug go to:
> https:/