regarding sharing folder \\vboxsvr\VM

This is for discussing general topics about how to use VirtualBox.
Post Reply
cnbiz850
Posts: 4
Joined: 5. Nov 2009, 02:01
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Vista

regarding sharing folder \\vboxsvr\VM

Post by cnbiz850 »

Can someone please explain \\vboxsvr\VM works? On a Ubuntu host and Vista guest, I set it up and it only works partially. A few problems I found. First, if I map \\vboxsvr\VM to something like Z:, some files can not be access through Z:. Secondly, if some program was installed on \\vboxsvr\VM and then executed there, it is tremendously sluggish compared to if installed on C:. Why is this?
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: regarding sharing folder \\vboxsvr\VM

Post by MarkCranness »

I'm not exactly sure how it works. On the Windows guest side, the shared folder looks like a Windows' network share, but apparently it is not really. A VirtualBox filesystem driver (in the guest) talks to a VirtualBox service (or daemon?) on the host using shared memory (and simulated hardware interrupts I suspect).

Re: 'Some files can not be accessed':
On the host, the service (daemon?) is logged in as a particular user. If you are using the main VirtualBox GUI, then that user will be yourself. If you are using VBoxHeadless, then that user might be something else...
Can the VirtualBox service/daemon user access those files on the host? If it can't, then the guest will not be able to access them either.

Re: 'sluggish':
Perhaps because of the layers of software it has to go through: Guest -> Guest Device driver -> Shared memory -> Simulated interrupts -> Host Service -> Host filesystem and back again.
Post Reply