Public bug reported: $ grep qemu-kvm /var/log/syslog Jan 5 10:23:24 simon-laptop qemu-kvm[497]: * Configuring kvm qemu-kvm Jan 5 10:23:24 simon-laptop qemu-kvm[497]: /usr/share/qemu/init/qemu-kvm-init: 82: [: Illegal number: Jan 5 10:23:24 simon-laptop qemu-kvm[497]: ...done.
Line 82 of /usr/share/qemu/init/qemu-kvm-init is: if [ "$KVM_HUGEPAGES" -eq "1" ]; then This script sources /etc/default/qemu-kvm which is where the huge page variable was set in prior releases. With Xenial, the default file is not shipped by any package. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: qemu-system-common 1:2.4+dfsg-5ubuntu3 ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3 Uname: Linux 4.3.0-5-generic x86_64 ApportVersion: 2.19.3-0ubuntu2 Architecture: amd64 CurrentDesktop: Unity CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted Date: Tue Jan 5 10:34:58 2016 KvmCmdLine: COMMAND STAT EUID RUID PID PPID %CPU COMMAND kvm-irqfd-clean S< 0 0 641 2 0.0 [kvm-irqfd-clean] MachineType: LENOVO 2516CTO ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.3.0-5-generic root=/dev/mapper/crypt-xroot ro quiet splash cryptopts=target=crypt,source=/dev/sda1,lvm=crypt-xroot possible_cpus=4 nmi_watchdog=0 vt.handoff=7 SourcePackage: qemu UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev' UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 02/14/2013 dmi.bios.vendor: LENOVO dmi.bios.version: 6IET85WW (1.45 ) dmi.board.name: 2516CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6IET85WW(1.45):bd02/14/2013:svnLENOVO:pn2516CTO:pvrThinkPadT410:rvnLENOVO:rn2516CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2516CTO dmi.product.version: ThinkPad T410 dmi.sys.vendor: LENOVO ** Affects: qemu (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531191 Title: qemu-kvm-init script called with undefined $KVM_HUGEPAGES To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1531191/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs