------- Comment From balamuruh...@in.ibm.com 2018-02-27 08:04 EDT------- With Ubuntu 18.04
1. without --bypass-cache qemu errors out, # virsh save virt-tests-vm1 /var/tmp/save.file Domain virt-tests-vm1 saved to /var/tmp/save.file # virsh restore /var/tmp/save.file error: Failed to restore domain from /var/tmp/save.file error: internal error: qemu unexpectedly closed the monitor: 2018-02-27T12:54:55.160391Z qemu-system-ppc64: Not a migration stream 2018-02-27T12:54:55.160488Z qemu-system-ppc64: load of migration failed: Invalid argument Does this error appropriate/expected ? Earlier Libvirt was handling the error for apparmor permission denial, but in bionic Qemu errors, I still feel the inconsistency and it would be better to document well to make sure users/customers to understand how it works / how to use 2. with --bypass-cache it works with /var/tmp # virsh save virt-tests-vm1 /var/tmp/save.file --bypass-cache Domain virt-tests-vm1 saved to /var/tmp/save.file # virsh restore /var/tmp/save.file --bypass-cache Domain restored from /var/tmp/save.file 3. in /var/lib/libvirt/images it works fine without issues, # virsh save virt-tests-vm1 /var/lib/libvirt/images/save.file Domain virt-tests-vm1 saved to /var/lib/libvirt/images/save.file # virsh restore /var/lib/libvirt/images/save.file Domain restored from /var/lib/libvirt/images/save.file System Environment: Libvirt # dpkg -l | grep libvirt ii gir1.2-libvirt-glib-1.0:ppc64el 1.0.0-1 ppc64el GObject introspection files for the libvirt-glib library ii gir1.2-libvirt-sandbox-1.0 0.5.1+git20160404-1 ppc64el GObject introspection files for the libvirt-sandbox library ii libvirt-bin 4.0.0-1ubuntu4 ppc64el programs for the libvirt library ii libvirt-clients 4.0.0-1ubuntu4 ppc64el Programs for the libvirt library ii libvirt-clients-dbgsym 4.0.0-1ubuntu4 ppc64el debug symbols for libvirt-clients ii libvirt-daemon 4.0.0-1ubuntu4 ppc64el Virtualization daemon ii libvirt-daemon-dbgsym 4.0.0-1ubuntu4 ppc64el debug symbols for libvirt-daemon ii libvirt-daemon-driver-storage-gluster 4.0.0-1ubuntu4 ppc64el Virtualization daemon glusterfs storage driver ii libvirt-daemon-driver-storage-gluster-dbgsym 4.0.0-1ubuntu4 ppc64el debug symbols for libvirt-daemon-driver-storage-gluster ii libvirt-daemon-driver-storage-rbd 4.0.0-1ubuntu4 ppc64el Virtualization daemon RBD storage driver ii libvirt-daemon-driver-storage-rbd-dbgsym 4.0.0-1ubuntu4 ppc64el debug symbols for libvirt-daemon-driver-storage-rbd ii libvirt-daemon-driver-storage-sheepdog 4.0.0-1ubuntu4 ppc64el Virtualization daemon Sheedog storage driver ii libvirt-daemon-driver-storage-sheepdog-dbgsym 4.0.0-1ubuntu4 ppc64el debug symbols for libvirt-daemon-driver-storage-sheepdog ii libvirt-daemon-driver-storage-zfs 4.0.0-1ubuntu4 ppc64el Virtualization daemon ZFS storage driver ii libvirt-daemon-driver-storage-zfs-dbgsym 4.0.0-1ubuntu4 ppc64el debug symbols for libvirt-daemon-driver-storage-zfs ii libvirt-daemon-system 4.0.0-1ubuntu4 ppc64el Libvirt daemon configuration files ii libvirt-daemon-system-dbgsym 4.0.0-1ubuntu4 ppc64el debug symbols for libvirt-daemon-system ii libvirt-dev:ppc64el 4.0.0-1ubuntu4 ppc64el development files for the libvirt library ii libvirt-doc 4.0.0-1ubuntu4 all documentation for the libvirt library ii libvirt-glib-1.0-0:ppc64el 1.0.0-1 ppc64el libvirt GLib and GObject mapping library ii libvirt-glib-1.0-0-dbgsym:ppc64el 1.0.0-1 ppc64el debug symbols for package libvirt-glib-1.0-0 ii libvirt-glib-1.0-dev:ppc64el 1.0.0-1 ppc64el Development files for the libvirt-glib library ii libvirt-ocaml 0.6.1.4-2build1 ppc64el OCaml bindings for libvirt (runtime) ii libvirt-ocaml-dbgsym 0.6.1.4-2build1 ppc64el debug symbols for libvirt-ocaml ii libvirt-ocaml-dev 0.6.1.4-2build1 ppc64el OCaml bindings for libvirt (development files) ii libvirt-sandbox-1.0-5 0.5.1+git20160404-1 ppc64el Application sandbox toolkit shared library ii libvirt-sandbox-1.0-5-dbgsym 0.5.1+git20160404-1 ppc64el Debug symbols for libvirt-sandbox-1.0-5 ii libvirt-sandbox-1.0-dev 0.5.1+git20160404-1 ppc64el Development files for libvirt-sandbox library ii libvirt-sanlock 4.0.0-1ubuntu4 ppc64el Sanlock plugin for virtlockd ii libvirt-sanlock-dbgsym 4.0.0-1ubuntu4 ppc64el debug symbols for libvirt-sanlock ii libvirt-wireshark 4.0.0-1ubuntu4 ppc64el Wireshark dissector for the libvirt protocol ii libvirt-wireshark-dbgsym 4.0.0-1ubuntu4 ppc64el debug symbols for libvirt-wireshark ii libvirt0:ppc64el 4.0.0-1ubuntu4 ppc64el library for interfacing with different virtualization systems ii libvirt0-dbgsym:ppc64el 4.0.0-1ubuntu4 ppc64el debug symbols for libvirt0 ii libvirtodbc0 6.1.6+repack-0ubuntu9 ppc64el high-performance database - ODBC libraries ii libvirtodbc0-dbgsym 6.1.6+repack-0ubuntu9 ppc64el debug symbols for libvirtodbc0 ii python-libvirt 4.0.0-1 ppc64el libvirt Python bindings Qemu # dpkg -l | grep qemu ii ipxe-qemu 1.0.0+git-20180124.fbe8c52d-0ubuntu2 all PXE boot firmware - ROM images for qemu ii ipxe-qemu-256k-compat-efi-roms 1.0.0+git-20150424.a25a16d-0ubuntu2 all PXE boot firmware - Compat EFI ROM images for qemu ii qemu-block-extra:ppc64el 1:2.11+dfsg-1ubuntu2 ppc64el extra block backend modules for qemu-system and qemu-utils ii qemu-kvm 1:2.11+dfsg-1ubuntu2 ppc64el QEMU Full virtualization on x86 hardware ii qemu-slof 20170724+dfsg-1ubuntu1 all Slimline Open Firmware -- QEMU PowerPC version ii qemu-system-common 1:2.11+dfsg-1ubuntu2 ppc64el QEMU full system emulation binaries (common files) ii qemu-system-ppc 1:2.11+dfsg-1ubuntu2 ppc64el QEMU full system emulation binaries (ppc) ii qemu-utils 1:2.11+dfsg-1ubuntu2 ppc64el QEMU utilities Kernel # uname -a Linux ltc-boston8 4.15.0-10-generic #11-Ubuntu SMP Tue Feb 13 18:21:52 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719579 Title: [Ubuntu 18.04] [libvirt] virsh restore fails from state file saved in /var/tmp folder using virsh save To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1719579/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs