Of the listed guests I assume Ubuntu 18.04 has the newest guest Kernel (read 
virtio drivers).
Several questions to ensure this is right:

1. could you report the kernel version of each of your test guests
(assuming 4.4 and 4.15 for Ubuntu, but the exact version would be great
to know)


2. it would be great to know if one of the newer qemu versions that already 
exist fix the virtio handling of this case. So once you recreated your case 
could you upgrade through the Ubuntu Cloud Archive provided versions and let us 
know if some of them work (and if so which ones exactly).
That might help a lot to track down a potentially existing virtio fix.
Just one by one upgrade the newer versions from [1] on source and target host.
Then shutdown and re-start your guest on the migration source and then migrate 
again.

3. #2 above changed qemu, the other element we might change is that you
use the 4.15 based HWE kernel in a 16.04 guest - would that then fail
just as the 18.04 guest does?


In general, I wonder what on this should be Power specific since it should 
after all use the same virtio drivers and host code.
I have seen other similar reports which always ended up as host/guest mismatch 
of virtio-handling - but never an arch specific one yet.

[1]: https://wiki.ubuntu.com/OpenStack/CloudArchive

** Changed in: qemu (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1783140

Title:
  KVM live migration fails

Status in The Ubuntu-power-systems project:
  New
Status in linux package in Ubuntu:
  New
Status in qemu package in Ubuntu:
  Incomplete

Bug description:
  Environment:
  2 POWER8 with Ubuntu 16.04.4 LTS as KVM hypervisor.
  1 KVM guest with Ubuntu 18.04 LTS. Virtual disk for the guest is a qcow2 file 
on an NFS share, accessible from both hypervisors, so live migration is 
possible and works for all other guests (SLES, RHEL, Ubunutu 16.04),
  Live migratino of Ubuntu 18.04 guest fails on ppc, while the same test on an 
x86_64 environment suceeds.

  root@pkvm2:~# virsh migrate --persistent --live p8lnxtst4 
qemu+ssh://pkvm1/system
  error: internal error: early end of file from monitor, possible problem: 
2018-07-23T11:12:25.586385Z qemu-system-ppc64: VQ 0 size 0x100 Guest index 
0x38aa inconsistent with Host index 0xa980: delta 0x8f2a
  2018-07-23T11:12:25.586434Z qemu-system-ppc64: error while loading state for 
instance 0x0 of device 'pci@800000020000000:01.0/virtio-net'
  2018-07-23T11:12:25.587246Z qemu-system-ppc64: load of migration failed: 
Operation not permitted

  root@pkvm2:~# uname -a
  Linux pkvm2 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:51:21 UTC 2018 
ppc64le ppc64le ppc64le GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1783140/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to