qemu-e2k/net
Dunrong Huang 927d811b28 slirp: Ensure smbd and shared directory exist when enable smb
Users may pass the following parameters to qemu:
    $ qemu-kvm -net nic -net user,smb= ...
    $ qemu-kvm -net nic -net user,smb ...
    $ qemu-kvm -net nic -net user,smb=bad_directory ...

In these cases, qemu started successfully while samba server
failed to start. Users will confuse since samba server
failed silently without any indication of what it did wrong.

To avoid it, we check whether the shared directory exist and
if users have permission to access this directory when QEMU's
"built-in" SMB server is enabled.

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2012-07-09 17:38:13 +02:00
..
checksum.c Change license from GPLv2 to GPLv2+ 2012-02-01 16:24:54 -06:00
checksum.h
dump.c net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
dump.h net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
Makefile.objs build: move net/ objects to nested Makefile.objs 2012-06-07 09:21:13 +02:00
queue.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
queue.h
slirp.c slirp: Ensure smbd and shared directory exist when enable smb 2012-07-09 17:38:13 +02:00
slirp.h net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
socket.c net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
socket.h net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
tap-aix.c
tap-bsd.c do not include <libutil.h> needlessly or if it doesn't exist 2012-06-09 10:30:08 +00:00
tap-haiku.c
tap-linux.c net: tap-linux: Fix unhelpful error message 2011-11-01 06:23:48 +00:00
tap-linux.h
tap-solaris.c fix typo: delete redundant semicolon 2011-12-06 09:56:41 +00:00
tap-win32.c net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
tap.c qmp: include monitor.h when needed 2012-06-15 10:41:05 -03:00
tap.h net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
util.c
util.h
vde.c net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
vde.h net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00