[libvirt] [sandbox PATCH 0/3] Disk support for libvirt-sandbox

Cedric Bosdonnat cbosdonnat at suse.com
Wed Jun 10 13:13:15 UTC 2015


On Wed, 2015-06-10 at 13:06 +0100, Daniel P. Berrange wrote:
> On Wed, Jun 10, 2015 at 01:40:07PM +0200, Eren Yagdiran wrote:
> > Hello,
> > 
> > These patches provide disk support for libvirt-sandbox.
> > Implemented '--disk' parameter will be useful when integrating Docker image support for libvirt-sandbox.
> > Currently, we only support qcow2 file format and fallback is set to RAW type.
> 
> Can you explain a bit more why you need to be able to expose a virtual
> disk to the sandbox. If the stuff running inside the sandbox is not
> privileged, it won't even have access to the device node inside it,
> nor be able to mount it. This is why the sandbox code focuses on
> mounting everything itself before handing off the main app to run.
> So I'm not really clear how this feature is going to be generally
> useful or usable.

Before filling the qcow2 images, we need to be able to format them...
would you then suggest to manually setup the nbd device, and run mkfs on
it? I was thinking about having that done through virt-sandbox...

--
Cedric




More information about the libvir-list mailing list