* [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc
@ 2018-05-28 9:12 Satheesh Rajendran
2018-05-28 9:21 ` [Qemu-devel] [Bug 1773753] " Satheesh Rajendran
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: Satheesh Rajendran @ 2018-05-28 9:12 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
Host Env:
IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt.
Host Kernel: 4.17.0-rc5-00069-g3acf4e395260
qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b):
v2.12.0-813-g5a5c383b13-dirty
libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3):
Guest Kernel: 4.17.0-rc7
Steps to recreate:
Define a guest attached with above setup and start.
# virsh start avocado-vt-vm1
guest console;...
# uname -r
4.17.0-rc7
[root@atest-guest ~]# lscpu
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 3
On-line CPU(s) list: 0-2
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 3
NUMA node(s): 1
Model: 2.1 (pvr 004b 0201)
Model name: POWER8 (architected), altivec supported
Hypervisor vendor: KVM
Virtualization type: para
L1d cache: 64K
L1i cache: 32K
NUMA node0 CPU(s): 0-2
# virsh managedsave avocado-vt-vm1
Domain avocado-vt-vm1 state saved by libvirt
# virsh list
Id Name State
----------------------------------------------------
# virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to
paused.
# virsh list
Id Name State
----------------------------------------------------
87 avocado-vt-vm1 paused
P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine.
/usr/bin/qemu-kvm --version
QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28)
Summary: with above other setup.
machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine.
machine type pseries-2.12/pseries-2.13 and qemu
5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work.
** Affects: qemu
Importance: Undecided
Status: New
** Attachment added: "vm xml"
https://bugs.launchpad.net/bugs/1773753/+attachment/5145459/+files/vm.xml
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1773753
Title:
virsh managed save fails with qemu version
v2.12.0-813-g5a5c383b13-dirty on powerpc
Status in QEMU:
New
Bug description:
Host Env:
IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt.
Host Kernel: 4.17.0-rc5-00069-g3acf4e395260
qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b):
v2.12.0-813-g5a5c383b13-dirty
libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3):
Guest Kernel: 4.17.0-rc7
Steps to recreate:
Define a guest attached with above setup and start.
# virsh start avocado-vt-vm1
guest console;...
# uname -r
4.17.0-rc7
[root@atest-guest ~]# lscpu
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 3
On-line CPU(s) list: 0-2
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 3
NUMA node(s): 1
Model: 2.1 (pvr 004b 0201)
Model name: POWER8 (architected), altivec supported
Hypervisor vendor: KVM
Virtualization type: para
L1d cache: 64K
L1i cache: 32K
NUMA node0 CPU(s): 0-2
# virsh managedsave avocado-vt-vm1
Domain avocado-vt-vm1 state saved by libvirt
# virsh list
Id Name State
----------------------------------------------------
# virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to
paused.
# virsh list
Id Name State
----------------------------------------------------
87 avocado-vt-vm1 paused
P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine.
/usr/bin/qemu-kvm --version
QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28)
Summary: with above other setup.
machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine.
machine type pseries-2.12/pseries-2.13 and qemu
5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1773753/+subscriptions
^ permalink raw reply [flat|nested] 11+ messages in thread* [Qemu-devel] [Bug 1773753] Re: virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran @ 2018-05-28 9:21 ` Satheesh Rajendran 2018-05-28 10:46 ` [Qemu-devel] [Bug 1773753] [NEW] " Peter Xu ` (8 subsequent siblings) 9 siblings, 0 replies; 11+ messages in thread From: Satheesh Rajendran @ 2018-05-28 9:21 UTC (permalink / raw) To: qemu-devel To recover from the failed state it requires below steps to be run. # virsh destroy avocado-vt-vm1 Domain avocado-vt-vm1 destroyed # virsh undefine --managed-save avocado-vt-vm1 Domain avocado-vt-vm1 has been undefined -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1773753 Title: virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Status in QEMU: New Bug description: Host Env: IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt. Host Kernel: 4.17.0-rc5-00069-g3acf4e395260 qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b): v2.12.0-813-g5a5c383b13-dirty libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3): Guest Kernel: 4.17.0-rc7 Steps to recreate: Define a guest attached with above setup and start. # virsh start avocado-vt-vm1 guest console;... # uname -r 4.17.0-rc7 [root@atest-guest ~]# lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 3 On-line CPU(s) list: 0-2 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 3 NUMA node(s): 1 Model: 2.1 (pvr 004b 0201) Model name: POWER8 (architected), altivec supported Hypervisor vendor: KVM Virtualization type: para L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-2 # virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh list Id Name State ---------------------------------------------------- # virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to paused. # virsh list Id Name State ---------------------------------------------------- 87 avocado-vt-vm1 paused P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine. /usr/bin/qemu-kvm --version QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28) Summary: with above other setup. machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine. machine type pseries-2.12/pseries-2.13 and qemu 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1773753/+subscriptions ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran 2018-05-28 9:21 ` [Qemu-devel] [Bug 1773753] " Satheesh Rajendran @ 2018-05-28 10:46 ` Peter Xu 2018-05-28 12:36 ` [Qemu-devel] [Bug 1773753] " Satheesh Rajendran ` (7 subsequent siblings) 9 siblings, 0 replies; 11+ messages in thread From: Peter Xu @ 2018-05-28 10:46 UTC (permalink / raw) To: Bug 1773753; +Cc: qemu-devel, Dr. David Alan Gilbert, Juan Quintela On Mon, May 28, 2018 at 09:12:21AM -0000, Satheesh Rajendran wrote: > Public bug reported: > > Host Env: > IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt. > > Host Kernel: 4.17.0-rc5-00069-g3acf4e395260 > > qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b): > v2.12.0-813-g5a5c383b13-dirty > > libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3): > > Guest Kernel: 4.17.0-rc7 > > Steps to recreate: > Define a guest attached with above setup and start. > # virsh start avocado-vt-vm1 > > guest console;... > # uname -r > 4.17.0-rc7 > [root@atest-guest ~]# lscpu > Architecture: ppc64le > Byte Order: Little Endian > CPU(s): 3 > On-line CPU(s) list: 0-2 > Thread(s) per core: 1 > Core(s) per socket: 1 > Socket(s): 3 > NUMA node(s): 1 > Model: 2.1 (pvr 004b 0201) > Model name: POWER8 (architected), altivec supported > Hypervisor vendor: KVM > Virtualization type: para > L1d cache: 64K > L1i cache: 32K > NUMA node0 CPU(s): 0-2 > > > # virsh managedsave avocado-vt-vm1 > > Domain avocado-vt-vm1 state saved by libvirt > > # virsh list > Id Name State > ---------------------------------------------------- > > # virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to > paused. Libvirt is using fd migration, right? If so, I suspect this is the same problem with the iotest failure, and the fix should be in a pull request: Message-Id: <20180525133246.7839-2-quintela@redhat.com> Subject: [Qemu-devel] [PULL 1/2] migration: fix exec/fd migrations Regards, -- Peter Xu ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 1773753] Re: virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran 2018-05-28 9:21 ` [Qemu-devel] [Bug 1773753] " Satheesh Rajendran 2018-05-28 10:46 ` [Qemu-devel] [Bug 1773753] [NEW] " Peter Xu @ 2018-05-28 12:36 ` Satheesh Rajendran 2018-05-28 13:14 ` Satheesh Rajendran ` (6 subsequent siblings) 9 siblings, 0 replies; 11+ messages in thread From: Satheesh Rajendran @ 2018-05-28 12:36 UTC (permalink / raw) To: qemu-devel with above patch compiled on top of latest upstream fails with below error: # virsh managedsave avocado-vt-vm1 error: Failed to save domain avocado-vt-vm1 state error: internal error: guest unexpectedly quit rest of the behaviour same.. # virsh start avocado-vt-vm1 ----gets hung ---crtl+c --> to comeback to prompt # # virsh destroy avocado-vt-vm1 Domain avocado-vt-vm1 destroyed # virsh undefine --managed-save avocado-vt-vm1 Domain avocado-vt-vm1 has been undefined -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1773753 Title: virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Status in QEMU: New Bug description: Host Env: IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt. Host Kernel: 4.17.0-rc5-00069-g3acf4e395260 qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b): v2.12.0-813-g5a5c383b13-dirty libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3): Guest Kernel: 4.17.0-rc7 Steps to recreate: Define a guest attached with above setup and start. # virsh start avocado-vt-vm1 guest console;... # uname -r 4.17.0-rc7 [root@atest-guest ~]# lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 3 On-line CPU(s) list: 0-2 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 3 NUMA node(s): 1 Model: 2.1 (pvr 004b 0201) Model name: POWER8 (architected), altivec supported Hypervisor vendor: KVM Virtualization type: para L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-2 # virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh list Id Name State ---------------------------------------------------- # virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to paused. # virsh list Id Name State ---------------------------------------------------- 87 avocado-vt-vm1 paused P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine. /usr/bin/qemu-kvm --version QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28) Summary: with above other setup. machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine. machine type pseries-2.12/pseries-2.13 and qemu 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1773753/+subscriptions ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 1773753] Re: virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran ` (2 preceding siblings ...) 2018-05-28 12:36 ` [Qemu-devel] [Bug 1773753] " Satheesh Rajendran @ 2018-05-28 13:14 ` Satheesh Rajendran 2018-05-29 2:39 ` [Qemu-devel] [Bug 1773753] Re: virsh start after virsh managed save hangs and vm goes to paused state " Satheesh Rajendran ` (5 subsequent siblings) 9 siblings, 0 replies; 11+ messages in thread From: Satheesh Rajendran @ 2018-05-28 13:14 UTC (permalink / raw) To: qemu-devel followed by further attempts saves the domains as reported but issue still same. #virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh start avocado-vt-vm1 ----hung # virsh list --all Id Name State ---------------------------------------------------- 98 avocado-vt-vm1 paused I tried restarting libvirt, after which guest goes to shutoff state, with reason as crash in the qemu log # service libvirtd restart Redirecting to /bin/systemctl restart libvirtd.service # virsh list --all Id Name State ---------------------------------------------------- - avocado-vt-vm1 shut off 2018-05-28 12:59:46.748+0000: starting up libvirt version: 4.4.0, package: 1.fc28 (Unknown, 2018-05-28-03:15:39, 9.40.192.86), qemu version: 2.12.50v2.12.0-813-g5a5c383b13-dirty, kernel: 4.17.0-rc5-00069-g3acf4e395260, hostname: 9.40.192.86 LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/share/avocado-plugins-vt/bin/qemu -name guest=avocado-vt-vm1,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-97-avocado-vt-vm1/master-key.aes -machine pseries-2.13,accel=kvm,usb=off,dump-guest-core=off -m 1024 -realtime mlock=off -smp 2,maxcpus=4,sockets=4,cores=1,threads=1 -uuid ba3012d5-3244-47d9-bedc-0b60821f7cd1 -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-97-avocado-vt-vm1/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -kernel /home/kvmci/linux/vmlinux -append 'root=/dev/sda2 rw console=tty0 console=ttyS0,115200 init=/sbin/init initcall_debug' -device qemu-xhci,id=usb,bus=pci.0,addr=0x3 -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive file=/var/lib/avocado/data/avocado-vt/images/jeos-27-ppc64le.qcow2,format=qcow2,if=none,id=drive-scsi0-0-0-0 -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1 -netdev tap,fd=30,id=hostnet0,vhost=on,vhostfd=32 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:3d:3e:3f,bus=pci.0,addr=0x1 -chardev pty,id=charserial0 -device spapr-vty,chardev=charserial0,id=serial0,reg=0x30000000 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/avocado-vt-vm1-guest.agent,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 -sandbox off -msg timestamp=on 2018-05-28T12:59:46.826738Z qemu: -chardev pty,id=charserial0: char device redirected to /dev/pts/3 (label charserial0) 2018-05-28 13:00:52.948+0000: shutting down, reason=saved 2018-05-28T13:00:52.950802Z qemu: terminating on signal 15 from pid 41456 (/usr/sbin/libvirtd) 2018-05-28 13:01:00.467+0000: starting up libvirt version: 4.4.0, package: 1.fc28 (Unknown, 2018-05-28-03:15:39, 9.40.192.86), qemu version: 2.12.50v2.12.0-813-g5a5c383b13-dirty, kernel: 4.17.0-rc5-00069-g3acf4e395260, hostname: 9.40.192.86 LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/share/avocado-plugins-vt/bin/qemu -name guest=avocado-vt-vm1,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-98-avocado-vt-vm1/master-key.aes -machine pseries-2.13,accel=kvm,usb=off,dump-guest-core=off -m 1024 -realtime mlock=off -smp 2,maxcpus=4,sockets=4,cores=1,threads=1 -uuid ba3012d5-3244-47d9-bedc-0b60821f7cd1 -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-98-avocado-vt-vm1/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -kernel /home/kvmci/linux/vmlinux -append 'root=/dev/sda2 rw console=tty0 console=ttyS0,115200 init=/sbin/init initcall_debug' -device qemu-xhci,id=usb,bus=pci.0,addr=0x3 -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive file=/var/lib/avocado/data/avocado-vt/images/jeos-27-ppc64le.qcow2,format=qcow2,if=none,id=drive-scsi0-0-0-0 -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1 -netdev tap,fd=31,id=hostnet0,vhost=on,vhostfd=33 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:3d:3e:3f,bus=pci.0,addr=0x1 -chardev pty,id=charserial0 -device spapr-vty,chardev=charserial0,id=serial0,reg=0x30000000 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/avocado-vt-vm1-guest.agent,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 -incoming defer -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 -sandbox off -msg timestamp=on 2018-05-28T13:01:00.546872Z qemu: -chardev pty,id=charserial0: char device redirected to /dev/pts/3 (label charserial0) 2018-05-28 13:02:56.434+0000: shutting down, reason=crashed <============ -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1773753 Title: virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Status in QEMU: New Bug description: Host Env: IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt. Host Kernel: 4.17.0-rc5-00069-g3acf4e395260 qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b): v2.12.0-813-g5a5c383b13-dirty libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3): Guest Kernel: 4.17.0-rc7 Steps to recreate: Define a guest attached with above setup and start. # virsh start avocado-vt-vm1 guest console;... # uname -r 4.17.0-rc7 [root@atest-guest ~]# lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 3 On-line CPU(s) list: 0-2 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 3 NUMA node(s): 1 Model: 2.1 (pvr 004b 0201) Model name: POWER8 (architected), altivec supported Hypervisor vendor: KVM Virtualization type: para L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-2 # virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh list Id Name State ---------------------------------------------------- # virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to paused. # virsh list Id Name State ---------------------------------------------------- 87 avocado-vt-vm1 paused P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine. /usr/bin/qemu-kvm --version QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28) Summary: with above other setup. machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine. machine type pseries-2.12/pseries-2.13 and qemu 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1773753/+subscriptions ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 1773753] Re: virsh start after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran ` (3 preceding siblings ...) 2018-05-28 13:14 ` Satheesh Rajendran @ 2018-05-29 2:39 ` Satheesh Rajendran 2018-05-29 16:12 ` [Qemu-devel] [Bug 1773753] Re: virsh start, " Fabiano Rosas ` (4 subsequent siblings) 9 siblings, 0 replies; 11+ messages in thread From: Satheesh Rajendran @ 2018-05-29 2:39 UTC (permalink / raw) To: qemu-devel ** Summary changed: - virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc + virsh start after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc ** Summary changed: - virsh start after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc + virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1773753 Title: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Status in QEMU: New Bug description: Host Env: IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt. Host Kernel: 4.17.0-rc5-00069-g3acf4e395260 qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b): v2.12.0-813-g5a5c383b13-dirty libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3): Guest Kernel: 4.17.0-rc7 Steps to recreate: Define a guest attached with above setup and start. # virsh start avocado-vt-vm1 guest console;... # uname -r 4.17.0-rc7 [root@atest-guest ~]# lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 3 On-line CPU(s) list: 0-2 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 3 NUMA node(s): 1 Model: 2.1 (pvr 004b 0201) Model name: POWER8 (architected), altivec supported Hypervisor vendor: KVM Virtualization type: para L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-2 # virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh list Id Name State ---------------------------------------------------- # virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to paused. # virsh list Id Name State ---------------------------------------------------- 87 avocado-vt-vm1 paused P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine. /usr/bin/qemu-kvm --version QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28) Summary: with above other setup. machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine. machine type pseries-2.12/pseries-2.13 and qemu 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1773753/+subscriptions ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 1773753] Re: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran ` (4 preceding siblings ...) 2018-05-29 2:39 ` [Qemu-devel] [Bug 1773753] Re: virsh start after virsh managed save hangs and vm goes to paused state " Satheesh Rajendran @ 2018-05-29 16:12 ` Fabiano Rosas 2018-06-01 19:05 ` Fabiano Rosas ` (3 subsequent siblings) 9 siblings, 0 replies; 11+ messages in thread From: Fabiano Rosas @ 2018-05-29 16:12 UTC (permalink / raw) To: qemu-devel I was able to reproduce this with: qemu - v2.12.0-813-g5a5c383 host/guest kernel - 4.11 libvirt - 3.9.0 It bisects to: 36c2f8b migration: Delay start of migration main routines However, the issue did *not* reproduce with: qemu - v2.12.0-865-ge609fa7 host/guest kernel - 4.11 libvirt - 3.9.0 As Peter suggested, it is fixed by: 0efc914 migration: fix exec/fd migrations So perhaps there is still something on libvirt side? I'll try again with a more recent one. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1773753 Title: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Status in QEMU: New Bug description: Host Env: IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt. Host Kernel: 4.17.0-rc5-00069-g3acf4e395260 qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b): v2.12.0-813-g5a5c383b13-dirty libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3): Guest Kernel: 4.17.0-rc7 Steps to recreate: Define a guest attached with above setup and start. # virsh start avocado-vt-vm1 guest console;... # uname -r 4.17.0-rc7 [root@atest-guest ~]# lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 3 On-line CPU(s) list: 0-2 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 3 NUMA node(s): 1 Model: 2.1 (pvr 004b 0201) Model name: POWER8 (architected), altivec supported Hypervisor vendor: KVM Virtualization type: para L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-2 # virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh list Id Name State ---------------------------------------------------- # virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to paused. # virsh list Id Name State ---------------------------------------------------- 87 avocado-vt-vm1 paused P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine. /usr/bin/qemu-kvm --version QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28) Summary: with above other setup. machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine. machine type pseries-2.12/pseries-2.13 and qemu 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1773753/+subscriptions ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 1773753] Re: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran ` (5 preceding siblings ...) 2018-05-29 16:12 ` [Qemu-devel] [Bug 1773753] Re: virsh start, " Fabiano Rosas @ 2018-06-01 19:05 ` Fabiano Rosas 2018-06-02 13:52 ` Satheesh Rajendran ` (2 subsequent siblings) 9 siblings, 0 replies; 11+ messages in thread From: Fabiano Rosas @ 2018-06-01 19:05 UTC (permalink / raw) To: qemu-devel Could not reproduce with: qemu - v2.12.0-865-ge609fa7 host/guest kernel - 4.11 libvirt - 4.4.0 and qemu - v2.12.0-865-ge609fa7 host kernel - v4.17-rc7-22-g3d661e2 guest kernel - 4.11 libvirt - 4.4.0 So I'd say that this is fixed by: https://git.qemu.org/?p=qemu.git;a=commitdiff;h=0efc914 ** Changed in: qemu Status: New => Fix Committed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1773753 Title: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Status in QEMU: Fix Committed Bug description: Host Env: IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt. Host Kernel: 4.17.0-rc5-00069-g3acf4e395260 qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b): v2.12.0-813-g5a5c383b13-dirty libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3): Guest Kernel: 4.17.0-rc7 Steps to recreate: Define a guest attached with above setup and start. # virsh start avocado-vt-vm1 guest console;... # uname -r 4.17.0-rc7 [root@atest-guest ~]# lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 3 On-line CPU(s) list: 0-2 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 3 NUMA node(s): 1 Model: 2.1 (pvr 004b 0201) Model name: POWER8 (architected), altivec supported Hypervisor vendor: KVM Virtualization type: para L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-2 # virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh list Id Name State ---------------------------------------------------- # virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to paused. # virsh list Id Name State ---------------------------------------------------- 87 avocado-vt-vm1 paused P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine. /usr/bin/qemu-kvm --version QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28) Summary: with above other setup. machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine. machine type pseries-2.12/pseries-2.13 and qemu 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1773753/+subscriptions ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 1773753] Re: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran ` (6 preceding siblings ...) 2018-06-01 19:05 ` Fabiano Rosas @ 2018-06-02 13:52 ` Satheesh Rajendran 2018-06-02 13:55 ` Satheesh Rajendran 2018-08-21 6:31 ` Thomas Huth 9 siblings, 0 replies; 11+ messages in thread From: Satheesh Rajendran @ 2018-06-02 13:52 UTC (permalink / raw) To: qemu-devel Yes, tested again with below levels and not issue is not reproducible. Issue is fixed! qemu: 2.12.50 (v2.12.0-949-g392fba9f58-dirty) host/guest kernel: 4.17.0-rc7-00045-g0512e0134582 libvirt: Compiled against library: libvirt 4.4.0 Using library: libvirt 4.4.0 Using API: QEMU 4.4.0 Running hypervisor: QEMU 2.12.50 #virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh start avocado-vt-vm1 Domain avocado-vt-vm1 started Guest console. # uname -r 4.17.0-rc7-00045-g0512e0134582 This bug can be closed. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1773753 Title: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Status in QEMU: Fix Committed Bug description: Host Env: IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt. Host Kernel: 4.17.0-rc5-00069-g3acf4e395260 qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b): v2.12.0-813-g5a5c383b13-dirty libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3): Guest Kernel: 4.17.0-rc7 Steps to recreate: Define a guest attached with above setup and start. # virsh start avocado-vt-vm1 guest console;... # uname -r 4.17.0-rc7 [root@atest-guest ~]# lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 3 On-line CPU(s) list: 0-2 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 3 NUMA node(s): 1 Model: 2.1 (pvr 004b 0201) Model name: POWER8 (architected), altivec supported Hypervisor vendor: KVM Virtualization type: para L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-2 # virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh list Id Name State ---------------------------------------------------- # virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to paused. # virsh list Id Name State ---------------------------------------------------- 87 avocado-vt-vm1 paused P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine. /usr/bin/qemu-kvm --version QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28) Summary: with above other setup. machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine. machine type pseries-2.12/pseries-2.13 and qemu 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1773753/+subscriptions ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 1773753] Re: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran ` (7 preceding siblings ...) 2018-06-02 13:52 ` Satheesh Rajendran @ 2018-06-02 13:55 ` Satheesh Rajendran 2018-08-21 6:31 ` Thomas Huth 9 siblings, 0 replies; 11+ messages in thread From: Satheesh Rajendran @ 2018-06-02 13:55 UTC (permalink / raw) To: qemu-devel libvirt compiled against 105bcdde76bc8c64f2d9aca9db684186a5e96e63 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1773753 Title: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Status in QEMU: Fix Committed Bug description: Host Env: IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt. Host Kernel: 4.17.0-rc5-00069-g3acf4e395260 qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b): v2.12.0-813-g5a5c383b13-dirty libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3): Guest Kernel: 4.17.0-rc7 Steps to recreate: Define a guest attached with above setup and start. # virsh start avocado-vt-vm1 guest console;... # uname -r 4.17.0-rc7 [root@atest-guest ~]# lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 3 On-line CPU(s) list: 0-2 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 3 NUMA node(s): 1 Model: 2.1 (pvr 004b 0201) Model name: POWER8 (architected), altivec supported Hypervisor vendor: KVM Virtualization type: para L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-2 # virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh list Id Name State ---------------------------------------------------- # virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to paused. # virsh list Id Name State ---------------------------------------------------- 87 avocado-vt-vm1 paused P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine. /usr/bin/qemu-kvm --version QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28) Summary: with above other setup. machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine. machine type pseries-2.12/pseries-2.13 and qemu 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1773753/+subscriptions ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 1773753] Re: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran ` (8 preceding siblings ...) 2018-06-02 13:55 ` Satheesh Rajendran @ 2018-08-21 6:31 ` Thomas Huth 9 siblings, 0 replies; 11+ messages in thread From: Thomas Huth @ 2018-08-21 6:31 UTC (permalink / raw) To: qemu-devel ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1773753 Title: virsh start, after virsh managed save hangs and vm goes to paused state with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Status in QEMU: Fix Released Bug description: Host Env: IBM Power8 with Fedora28 base with compiled upstream kernel, qemu, libvirt. Host Kernel: 4.17.0-rc5-00069-g3acf4e395260 qemu-kvm(5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b): v2.12.0-813-g5a5c383b13-dirty libvirt(4804a4db33a37f828d033733bc47f6eff5d262c3): Guest Kernel: 4.17.0-rc7 Steps to recreate: Define a guest attached with above setup and start. # virsh start avocado-vt-vm1 guest console;... # uname -r 4.17.0-rc7 [root@atest-guest ~]# lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 3 On-line CPU(s) list: 0-2 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 3 NUMA node(s): 1 Model: 2.1 (pvr 004b 0201) Model name: POWER8 (architected), altivec supported Hypervisor vendor: KVM Virtualization type: para L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-2 # virsh managedsave avocado-vt-vm1 Domain avocado-vt-vm1 state saved by libvirt # virsh list Id Name State ---------------------------------------------------- # virsh start avocado-vt-vm1 ----Hangs forever and vm state goes to paused. # virsh list Id Name State ---------------------------------------------------- 87 avocado-vt-vm1 paused P:S:- with same above setup, just changing the qemu-kvm comes bydefault with F28 works fine. /usr/bin/qemu-kvm --version QEMU emulator version 2.11.1(qemu-2.11.1-2.fc28) Summary: with above other setup. machine type pseries-2.12 and qemu-2.11.1-2.fc28 -Works fine. machine type pseries-2.12/pseries-2.13 and qemu 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b - Does not work. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1773753/+subscriptions ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2018-08-21 6:41 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-05-28 9:12 [Qemu-devel] [Bug 1773753] [NEW] virsh managed save fails with qemu version v2.12.0-813-g5a5c383b13-dirty on powerpc Satheesh Rajendran 2018-05-28 9:21 ` [Qemu-devel] [Bug 1773753] " Satheesh Rajendran 2018-05-28 10:46 ` [Qemu-devel] [Bug 1773753] [NEW] " Peter Xu 2018-05-28 12:36 ` [Qemu-devel] [Bug 1773753] " Satheesh Rajendran 2018-05-28 13:14 ` Satheesh Rajendran 2018-05-29 2:39 ` [Qemu-devel] [Bug 1773753] Re: virsh start after virsh managed save hangs and vm goes to paused state " Satheesh Rajendran 2018-05-29 16:12 ` [Qemu-devel] [Bug 1773753] Re: virsh start, " Fabiano Rosas 2018-06-01 19:05 ` Fabiano Rosas 2018-06-02 13:52 ` Satheesh Rajendran 2018-06-02 13:55 ` Satheesh Rajendran 2018-08-21 6:31 ` Thomas Huth
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).