Yes, I was trying to change MT on shutted off VM , like:
virsh destroy ckeymanager04.pm.lux
virsh edit ckeymanager04.pm.lux
( if i run second virsh edit here , i'll see it has been automagically changed
to "pc-1.0-qemu-kvm" )
virsh start ckeymanager04.pm.lux
ps aux:
root@hw06:~# ps aux|grep ckeymanager04
109 46659 14.0 0.0 1413952 30440 ? Sl 13:38 0:00 /usr/bin/kvm
-S -M pc-1.0-qemu-kvm -enable-kvm -m 1024 -smp 2,sockets=2,cores=1,threads=1
-name ckeymanager04.pm.lux -uuid a2ac3aba-a4e8-6d1e-21be-42d04176ce5f
-nographic -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/ckeymanager04.pm.lux.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
-drive
file=/dev/mapper/shared-ckeymanager04.pm.lux--disk0,if=none,id=drive-virtio-disk0,format=raw
-device
virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-netdev tap,fd=20,id=hostnet0 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:16:3e:64:53:98,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0
-usb -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
If i change MT to something like "pc-1.0-precisetest", it has been kept in xml
definition, like:
virsh destroy ckeymanager04.pm.lux
root@hw06:~# virsh edit keymanager04.pm.lux
Domain ckeymanager04.pm.lux XML configuration edited.
root@hw06:~# grep machine /etc/libvirt/qemu/ckeymanager04.pm.lux.xml
<type arch='x86_64' machine='pc-1.0-precisetest'>hvm</type>
starting such domains results in fail (obviously):
root@hw06:~# virsh start ckeymanager04.pm.lux
error: Failed to start domain ckeymanager04.pm.lux
error: internal error Process exited while reading console log output:
Supported machines are:
pc-1.0-precise Ubuntu 12.04 Standard PC (alias of pc-1.0-qemu-kvm)
pc-1.0-qemu-kvm Ubuntu 12.04 Standard PC (default)
pc Standard PC (alias of pc-1.0)
pc-1.0 Standard PC
pc-0.14 Standard PC
pc-0.13 Standard PC
pc-0.12 Standard PC
pc-0.11 Standard PC, qemu 0.11
pc-0.10 Standard PC, qemu 0.10
isapc ISA-only PC
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1477488
Title:
live migration for KVM VM via libvirt from 12.04 to 14.04 fails ,
unable to change machine type to pc-1.0-precise
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1477488/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs