Well, I am still with that problem, attempting to create shared folders, so I will try to be more specific and then maybe somebody can help me.<br><br>When I say "I am trying to set up shared folders", I mean that I set this configuration in my XML description:<br>

<br>    <filesystem type='template' accessmode='mapped'><br>      <source name='/home/guilhermesgb/Desktop/SharedFolder/><br>      <target dir='/home/tarciso/Desktop/SharedFolder'/><br>

    </filesystem><br><br>This was my last attempt. I also tried all other combinations, with accessmodes "passthrough" and "squash", for filesystem type "mount" too.<br><br>I can't send you any error messages neither printscreens because my problem is that anything happens, the domain is started properly but no shared folder is specified so I can mount it, using command "sudo mount -t vboxsf SharedFolder /home/tarciso/Desktop/SharedFolder". I always get a protocol error.<br>

<br>I was expecting libvirt to automatically do this step for me, so I wouldn't need to do it manually through vbox GUI or VBoxManage.<br><br>During my searches through the web, I found this other option, although I can't be sure if it is implemented, as the libvirt website says nothing about it: defining an XML file with this configuration:<br>

<br>    <shareddir fstype="ext4" path="/home/guilhermesgb/Desktop/SharedFolder" mount_tag="SharingName" security_model="passthrough" /><br><br>And then mounting it with proper command (the same as before, now with the mount_tag specified: "sudo mount -t vboxsf SharingName /home/tarciso/Desktop/SharedFolder" . Unfortunatelly the same error persists.<br>

<br>Am I missing something?<br><br>Sorry if my first message was hard to understand. Thanks.<br><br><div class="gmail_quote">2011/6/1 Guilherme Santos <span dir="ltr"><<a href="mailto:guisgb13@gmail.com">guisgb13@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Good afternoon.<br><br>I am having trouble trying to set up shared folders in the guest VM using VirtualBox hypervisor. No matter what configuration is defined in my XML, it never works, I mean, no shared folder is added/specifyed, then, inside the guest, when I try to mount the folder, I always get a protocol error.<br>


<br>If I use VirtualBoxManage, I can add/specify shared folders easily and mount it with no problem.<br clear="all"><br>I need to use libvirt in order to deal, in a generalized way, with the process of creating shared folders in all hypervisors supported by libvirt, otherwise my problem would be solved already. I must not use specific commands of a certain hypervisor (such as VirtualBoxManage's).<br>


<br>How does libvirt allow me to set up shared folders? Does it use VirtualBoxManage for VBox hypervisors? If so, how do I use it?<br>I've read the documentation and followed it in defining my XMLs.<br><br>Thanks anyway!<br>

<font color="#888888">
-- <br>Guilherme Santos G. Baptista<br>Undergraduate in Computer Science at UFCG<br>LSD - Distributed Systems Laboratory<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Guilherme Santos G. Baptista<br>Graduando em Ciência da Computação pela UFCG<br>LSD - Laboratório de Sistemas Distribuídos<br>