Re: [libvirt] [RFC 3/3] lxc: Mount NBD devices before clone

2018-05-09 Thread Michal Privoznik
On 04/26/2018 08:09 PM, John Ferlan wrote: > > > On 04/15/2018 05:25 PM, Radostin Stoyanov wrote: >> When user-namespace is enabled we are not allowed >> to mount block/NBD devices. >> >> Instead, mount /dev/nbdX to /run/libvirt/lxc/.root >> and set: >> >> fs->src->path =

Re: [libvirt] [RFC 3/3] lxc: Mount NBD devices before clone

2018-04-26 Thread John Ferlan
On 04/15/2018 05:25 PM, Radostin Stoyanov wrote: > When user-namespace is enabled we are not allowed > to mount block/NBD devices. > > Instead, mount /dev/nbdX to /run/libvirt/lxc/.root > and set: > > fs->src->path = /run/libvirt/lxc/.root > fs->type = VIR_DOMAIN_FS_TYPE_MOUNT >