And yes - there is no way to "permanently" edit the snapshots as their metadata is meant to store the data of the time it was taken.
Actually lets keep the bug open for "virsh snapshot-edit" being unable to set a different type. virsh snapshot-edit disco-mt-zesty 1550137482 error: unsupported configuration: Target domain machine type pc-i440fx-disco does not match source pc-i440fx-zesty Still for people affected, I'd recommend to update the types after restore. Is it a common thing to go back over and over again to old snapshots where this might become a hazzle? ** Description changed: + TL;DR: + If you are affected and have old snapshots with now unsupported machine types and want to start them. Then just update the machine type of a snapshot use "virsh edit <guestname>" before start. Just as you'd do with a guest without snapshots after upgrade: + $ virsh snapshot-revert <guestname> <snapshot> + $ virsh edit <guestname> (set type) + $ virsh start <guestname> + + The remaining bug and discussion is about a way to "permanently" do so in the snapshot definition e.g. via: + $ virsh snapshot-edit disco-mt-zesty 1550137482 + Which currently rejects that: + error: unsupported configuration: Target domain machine type pc-i440fx-disco does not match source pc-i440fx-zesty + + And has no means to force that. + + ---- + Basic problem - unable to permanently edit snapshot machine types. After upgrading from Ubuntu 18.04 to 18.10 snapshots no longer work with machine type zesty. You can restore snapshot, edit machine type and then run, but cannot alter the snapshot machine type itself. Snapshots were taken with shutdown state using virt-manager The below was using virsh but same behaviour using virt-manager. - rich@ubuntu:/etc/libvirt/qemu$ qemu-system-x86_64 -machine help Supported machines are: pc-i440fx-xenial Ubuntu 16.04 PC (i440FX + PIIX, 1996) pc-i440fx-wily Ubuntu 15.04 PC (i440FX + PIIX, 1996) pc-i440fx-trusty Ubuntu 14.04 PC (i440FX + PIIX, 1996) ubuntu Ubuntu 18.10 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-cosmic) pc-i440fx-cosmic Ubuntu 18.10 PC (i440FX + PIIX, 1996) (default) pc-i440fx-cosmic-hpb Ubuntu 18.10 PC (i440FX + PIIX +host-phys-bits=true, 1996) pc-i440fx-bionic Ubuntu 18.04 PC (i440FX + PIIX, 1996) pc-i440fx-bionic-hpb Ubuntu 18.04 PC (i440FX + PIIX, +host-phys-bits=true, 1996) pc-i440fx-artful Ubuntu 17.10 PC (i440FX + PIIX, 1996) <snip> + rich@ubuntu:/etc/libvirt/qemu$ virsh snapshot-list Windows_7_x64_GS + Name Creation Time State + ------------------------------------------------------------ + office2013 installed 16-May-2017 2017-05-08 14:04:30 +0100 shutoff + updated to 8-feb-2017 2017-05-08 14:04:30 +0100 shutoff + rich@ubuntu:/etc/libvirt/qemu$ virsh snapshot-revert Windows_7_x64_GS + "office2013 installed 16-May-2017" - rich@ubuntu:/etc/libvirt/qemu$ virsh snapshot-list Windows_7_x64_GS - Name Creation Time State - ------------------------------------------------------------ - office2013 installed 16-May-2017 2017-05-08 14:04:30 +0100 shutoff - updated to 8-feb-2017 2017-05-08 14:04:30 +0100 shutoff - - - rich@ubuntu:/etc/libvirt/qemu$ virsh snapshot-revert Windows_7_x64_GS "office2013 installed 16-May-2017" - - rich@ubuntu:/etc/libvirt/qemu$ virsh start Windows_7_x64_GS + rich@ubuntu:/etc/libvirt/qemu$ virsh start Windows_7_x64_GS error: Failed to start domain Windows_7_x64_GS error: internal error: process exited while connecting to monitor: 2018-11-12T15:18:04.506728Z qemu-system-x86_64: -enable-kvm: unsupported machine type 'pc-i440fx-zesty' Use -machine help to list supported machines The machine type is old and out of support now Please study https://wiki.ubuntu.com/QemuKVMMigration#Upgrade_machine_type how toupgrade machine types rich@ubuntu:/etc/libvirt/qemu$ virsh snapshot-edit Windows_7_x64_GS --snapshotname "office2013 installed 16-May-2017" error: unsupported configuration: Target domain machine type pc-i440fx-cosmic does not match source pc-i440fx-zesty - Failed. Try again? [y,n,f,?]: + Failed. Try again? [y,n,f,?]: error: Failed to update office2013 installed 16-May-2017 error: unsupported configuration: Target domain machine type pc-i440fx-cosmic does not match source pc-i440fx-zesty - ****** edited from zesty to cosmic here, now accepts ******* + ****** edited from zesty to cosmic here, now accepts ******* - rich@ubuntu:/etc/libvirt/qemu$ virsh edit Windows_7_x64_GS + rich@ubuntu:/etc/libvirt/qemu$ virsh edit Windows_7_x64_GS Domain Windows_7_x64_GS XML configuration edited. - rich@ubuntu:/etc/libvirt/qemu$ virsh start Windows_7_x64_GS + rich@ubuntu:/etc/libvirt/qemu$ virsh start Windows_7_x64_GS Domain Windows_7_x64_GS started - rich@ubuntu:/etc/libvirt/qemu$ virsh snapshot-revert Windows_7_x64_GS "office2013 installed 16-May-2017" - rich@ubuntu:/etc/libvirt/qemu$ virsh start Windows_7_x64_GS + rich@ubuntu:/etc/libvirt/qemu$ virsh start Windows_7_x64_GS error: Failed to start domain Windows_7_x64_GS error: internal error: process exited while connecting to monitor: 2018-11-12T15:19:45.021899Z qemu-system-x86_64: -enable-kvm: unsupported machine type 'pc-i440fx-zesty' Use -machine help to list supported machines The machine type is old and out of support now Please study https://wiki.ubuntu.com/QemuKVMMigration#Upgrade_machine_type how toupgrade machine types ProblemType: Bug DistroRelease: Ubuntu 18.10 Package: qemu-system-x86 1:2.12+dfsg-3ubuntu8 ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12 Uname: Linux 4.18.0-10-generic x86_64 ApportVersion: 2.20.10-0ubuntu13 Architecture: amd64 CurrentDesktop: Unity:Unity7:ubuntu Date: Mon Nov 12 15:26:49 2018 InstallationDate: Installed on 2018-06-07 (158 days ago) InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) KvmCmdLine: COMMAND STAT EUID RUID PID PPID %CPU COMMAND MachineType: Hewlett-Packard HP Compaq 8200 Elite CMT PC ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic root=UUID=b54834ed-79ec-4ea0-bf2a-4ec66d71ae98 ro quiet splash vt.handoff=1 SourcePackage: qemu UpgradeStatus: Upgraded to cosmic on 2018-10-22 (21 days ago) dmi.bios.date: 02/14/2018 dmi.bios.vendor: Hewlett-Packard dmi.bios.version: J01 v02.31 dmi.board.asset.tag: CZC2280K7Z dmi.board.name: 1494 dmi.board.vendor: Hewlett-Packard dmi.chassis.asset.tag: CZC2280K7Z dmi.chassis.type: 6 dmi.chassis.vendor: Hewlett-Packard dmi.modalias: dmi:bvnHewlett-Packard:bvrJ01v02.31:bd02/14/2018:svnHewlett-Packard:pnHPCompaq8200EliteCMTPC:pvr:rvnHewlett-Packard:rn1494:rvr:cvnHewlett-Packard:ct6:cvr: dmi.product.family: 103C_53307F G=D dmi.product.name: HP Compaq 8200 Elite CMT PC dmi.product.sku: XL508AV dmi.sys.vendor: Hewlett-Packard -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1802944 Title: error: unsupported configuration: Target domain machine type To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1802944/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs