You are not logged in.

#1 2017-05-10 08:46:09

languitar
Member
Registered: 2010-06-20
Posts: 14
Website

qemu samba integration dies after some time

I am using kvm / qemu to launch a windows VM. qemu is started with -net user,smb=$HOME to share my home directory with the guest using samba. This works well most of the time. However, sometimes, all windows guest operations on the shared drive start too freeze as if there was a network failure and even the main explorer process on windows doesn't work anymore and I have to force quit the VM. Has anyone else experienced such an issues and knows a solution?

The samba daemon started by qemu is still running at that time but the log file doesn't give anything usable for me:

[2017/05/10 09:26:05.989225,  0] ../source3/smbd/smb2_server.c:553(smbd_smb2_request_create)
  Invalid SMB packet: first request: 0x0001
[2017/05/10 09:27:09.601310,  0] ../lib/util/pidfile.c:146(pidfile_unlink)
  Failed to delete pidfile /tmp/qemu-smb.TAeMru/smbd.pid. Error was No such file or directory
[2017/05/10 09:27:09.709515,  0] ../source3/smbd/smb2_server.c:553(smbd_smb2_request_create)
  Invalid SMB packet: first request: 0x0001
[2017/05/10 09:27:09.709761,  0] ../lib/util/pidfile.c:146(pidfile_unlink)
  Failed to delete pidfile /tmp/qemu-smb.TAeMru/smbd.pid. Error was No such file or directory
[2017/05/10 09:27:09.793252,  0] ../source3/smbd/smb2_server.c:553(smbd_smb2_request_create)
  Invalid SMB packet: first request: 0x0001
[2017/05/10 09:27:09.793872,  0] ../lib/util/pidfile.c:146(pidfile_unlink)
  Failed to delete pidfile /tmp/qemu-smb.TAeMru/smbd.pid. Error was No such file or directory
[2017/05/10 09:27:09.897751,  0] ../source3/smbd/smb2_server.c:553(smbd_smb2_request_create)
  Invalid SMB packet: first request: 0x0001
...

Funnily, this starts at the moment the guest starts to hang.

Offline

Board footer

Powered by FluxBB