aboutsummaryrefslogtreecommitdiff
path: root/aes.c
diff options
context:
space:
mode:
authorDunrong Huang <riegamaths@gmail.com>2012-07-06 14:04:43 +0800
committerJan Kiszka <jan.kiszka@siemens.com>2012-07-09 17:38:13 +0200
commit927d811b282ffdf5386bd63f435c1507634ba49a (patch)
tree77d336dbfd5bdf6eab6931e09b53175e9ea978f8 /aes.c
parentb412eb61bfd400ad70afe11ac3a5fb2931124804 (diff)
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>
Diffstat (limited to 'aes.c')
0 files changed, 0 insertions, 0 deletions