Working for me:
$ virsh snapshot-dumpxml disco-mt-zesty 1550137482 > snapshot.xml
$ vim snapshot.xml
$ virsh snapshot-create disco-mt-zesty snapshot.xml --redefine
error: unsupported configuration: Target domain machine type pc-i440fx-disco 
does not match source pc-i440fx-zesty

# but with --force set it works now
$ virsh snapshot-create disco-mt-zesty snapshot.xml --redefine --force
Domain snapshot 1550137482 created from 'snapshot.xml'

# checking the stored metadata to be sure
$ virsh snapshot-dumpxml disco-mt-zesty 1550137482 | grep machine
  <type arch='x86_64' machine='pc-i440fx-disco'>hvm</type>

# checking the domains type after revert
$ virsh snapshot-revert disco-mt-zesty 1550137482
$ virsh dumpxml disco-mt-zesty | grep machine
  <type arch='x86_64' machine='pc-i440fx-disco'>hvm</type>

@richud - Please give the PPA a test if it would work for you that way
and if so as I asked in comment #12 your email would be helpful

Once I have your confirmation I can send this for review upstream ...

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to