Hi Michal
Thanks. I did test it out with lxc driver and <readonly/> works fine. I would like to send a pull request/ patch for the documentation, however, I am having a tough time figuring out the source file the domain xml reference section.
I even tried to lookup form the gitweb interface - no luck. Which file is creating XML reference section?
Regards
Harish
Regards,
Harish
Harish
On Mon, Apr 20, 2015 at 4:43 PM, Michal Privoznik <mprivozn@xxxxxxxxxx> wrote:
That's a bug in our docs. Going through the code it seems like it shouldOn 20.04.2015 12:58, Harish Vishwanath wrote:
> Hello
>
> Is there a way to mount a directory as readonly when using LXC with libvirt?
>
> Something like:
>
> <filesystem type="mount">
> <source dir="/sw/py27/python2.7_x86_64"/>
> <target dir="/opt//py27"/>
> <readonly/>
> </filesystem>
>
>
> The documentation says readonly only works with KVM/QEMU.
work on LXC too. Mind trying out and posting a documentation patch?
Michal
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users