Re: Using KVM from a process inside a Docker container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 03, 2017 at 05:01:02PM -0500, Mike Spreitzer wrote:
> > From: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
> ...
> 
> > On Fri, 2017-12-01 at 14:44 -0500, Mike Spreitzer wrote:
> > > I am trying to do this, giving the container as few exceptional 
> abilities 
> > > as possible.  How can I accomplish this?
> > > 
> ...
> 
> > Try --device, e.g. 'docker run --device=/dev/kvm ...'.  I haven't used 
> it
> > for KVM specifically, but have successfully used it to expose other 
> IOCTL
> > char devices to an otherwise unprivileged container.
 
You might also want to add /dev/vhost* to speedup the guest I/O.

> That worked!
> 
> Thanks,
> Mike
> 
> 

-- 
Sincerely yours,
Mike.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux