virsh (ppc) fails with "missing /proc/device-tree/cpu "
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Critical
|
Chuck Short | ||
Trusty |
Fix Released
|
Critical
|
Serge Hallyn |
Bug Description
=======
SRU Justification
Impact: Vms cannot be started on ppc
Test case: define and start a kvm vm on ppc host (as below in description)
Regression potential: This should cause no regressions, but qemu vms will now be able to read device-tree info
=======
virsh # define vm01.xml
virsh # start Ubuntu-VM01
error: Failed to start domain Ubuntu-VM01
error: internal error: early end of file from monitor: possible problem:
Can't open directory /proc/device-
qemu-system-ppc: -device piix3-usb-
With or without the "controller_type "pci" > statement fails:
(trusty)
<domain type='kvm' xmlns:qemu='http://
<name>
<uuid>
<memory unit='KiB'
<currentMemory unit='KiB'
<vcpu placement=
<os>
<type arch='ppc' machine=
<kernel>
<initrd>
<cmdline>
</os>
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/
<target dev='vda' bus='virtio'/>
</disk>
<controller type='usb' index='0'/>
<!-- <controller type='pci' index='0' model='pci-root'/> -->
<memballoon model='virtio'/>
</devices>
<qemu:
<qemu:arg value='
</qemu:
</domain>
virsh # start Ubuntu-VM01
error: Failed to start domain Ubuntu-VM01
error: internal error: early end of file from monitor: possible problem:
Can't open directory /proc/device-
qemu-system-ppc: -device piix3-usb-
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libvirt-bin 1.2.2-0ubuntu13
ProcVersionSign
Uname: Linux 3.13.0-
ApportVersion: 2.14.1-0ubuntu3
Architecture: powerpc
Date: Tue May 20 11:39:39 2014
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libvirt
UpgradeStatus: Upgraded to trusty on 2014-04-29 (21 days ago)
modified.
mtime.conffile.
Changed in libvirt (Ubuntu): | |
importance: | High → Critical |
Changed in libvirt (Ubuntu Trusty): | |
importance: | High → Critical |
description: | updated |
tags: | added: verification-done |
tags: | removed: verification-needed |
Related : https:/ /bugs.launchpad .net/ubuntu/ +source/ libvirt/ +bug/1317987