** Description changed:

  I have a host with kvm loaded and after creating a container and
  installing the qemu package, /dev/kvm doesn't exist.  If I create it
  manually qemu runs fine.
  
  The upstart job should detect that it's in a container and create
  /dev/kvm for use.
+ 
+ ============================================================
+ Impact: /dev/kvm does not exist in containers after installing qemu-kvm
+ Test case:
+   sudo lxc-create -t download -n t1 -- -d ubuntu -r trusty -a amd64
+   sudo lxc-start -n t1 -d
+   sudo lxc-attach -n t1 -- apt-get update
+   sudo lxc-attach -n t1 -- apt-get -y install qemu-kvm
+   sudo lxc-attach -n t1 -- ls -l /dev/kvm
+ Regression potential: This can only be fixed for privileged containers on the 
real host,  where root in the container can in fact create /dev/kvm.  In that 
case there should be no regresison as we simply create the needed device.  In 
the other case, package install should not fail since we do '|| true' to ignore 
failure.
+ ============================================================

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

Title:
  qemu upstart job should create /dev/kvm in a container

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to