Just to make bug description a bit more precise -- qemu doesn't require '-mcpu' 
to run. Right now our virtual machines work fine without it [1].
We may need to fix this issue because we want to pass cpu_mode=host-passthrough 
to nova. This flag tells nova/libvirt forces nova to see which cpu model is 
available on host and use the same for the guest. And with this flag libvirt 
crashes the way Ming posted.
Important fact is that this functionality is not available in libvirt for both 
arm32 (!) and arm64. We may want to continue to use cpu_mode=none then. We need 
to discuss it more next week.

1:
/usr/local/bin/qemu-system-aarch64 -name instance-00000117 -S -machine 
virt,accel=kvm,usb=off -m 2000 -realtime mlock=off -smp 
1,sockets=1,cores=1,threads=1 -cpu host -uuid 
60468654-eaf4-423f-a823-296cb0f30342 -nographic -no-user-config -nodefaults 
-chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000117.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew 
-no-shutdown -kernel 
/var/lib/nova/instances/60468654-eaf4-423f-a823-296cb0f30342/kernel -append 
root=/dev/vda console=tty0 console=ttyS0 console=ttyAMA0 rw -usb -drive 
file=/var/lib/nova/instances/60468654-eaf4-423f-a823-296cb0f30342/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none
 -device 
virtio-blk-device,scsi=off,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 
-netdev tap,fd=22,id=hostnet0 -device 
virtio-net-device,netdev=hostnet0,id=net0,mac=fa:16:3e:29:c0:f9 -serial 
file:/var/lib/nova/instances/60468654-eaf4-423f-a823-296cb0f30342/console.log 
-ser
 ial pty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1266677

Title:
  Doesn't parse cpu model for arm64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1266677/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to