<div dir="ltr">Hi Michal<div><br></div><div>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.</div><div><br></div><div><a href="http://libvirt.org/git/?p=libvirt-appdev-guide.git;a=tree;f=en-US;h=e620f903954760dfecf12c79981f8364976584fc;hb=HEAD">http://libvirt.org/git/?p=libvirt-appdev-guide.git;a=tree;f=en-US;h=e620f903954760dfecf12c79981f8364976584fc;hb=HEAD</a><br></div><div><br></div><div>I even tried to lookup form the gitweb interface - no luck. Which file is creating XML reference section?</div><div><br></div><div>Regards</div><div>Harish</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Regards,<br>Harish</div></div>
<br><div class="gmail_quote">On Mon, Apr 20, 2015 at 4:43 PM, Michal Privoznik <span dir="ltr"><<a href="mailto:mprivozn@redhat.com" target="_blank">mprivozn@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 20.04.2015 12:58, Harish Vishwanath wrote:<br>
> Hello<br>
><br>
> Is there a way to mount a directory as readonly when using LXC with libvirt?<br>
><br>
> Something like:<br>
><br>
>                 <filesystem type="mount"><br>
>                     <source dir="/sw/py27/python2.7_x86_64"/><br>
>                     <target dir="/opt//py27"/><br>
>                     <readonly/><br>
>                 </filesystem><br>
><br>
><br>
> The documentation says readonly only works with KVM/QEMU.<br>
<br>
</div></div>That's a bug in our docs. Going through the code it seems like it should<br>
work on LXC too. Mind trying out and posting a documentation patch?<br>
<span class="HOEnZb"><font color="#888888"><br>
Michal<br>
</font></span></blockquote></div><br></div>