Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1115314

Bug#1017884: reportbug: qemu-system-x86_64 freezes after i access samba server on a windows-xp host

From Michael Tokarev <mjt@tls.msk.ru>
Newsgroups linux.debian.bugs.dist
Subject Bug#1017884: reportbug: qemu-system-x86_64 freezes after i access samba server on a windows-xp host
Date 2022-08-29 11:10 +0200
Message-ID <EZIWl-3QIL-15@gated-at.bofh.it> (permalink)
References <EX2HT-2am2-5@gated-at.bofh.it> <EZqG5-3F5r-7@gated-at.bofh.it> <EX2HT-2am2-5@gated-at.bofh.it> <EZqG5-3F5r-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


28.08.2022 16:33, أسامة مخزوم wrote:
>> You have:
>>
>> -net nic,model=rtl8139 -net user
>> -net user,smb=...
>>
>> The -net thing comes in pairs (one is guest side, another is host side).
>> You have 3 of them, and the last one is not paired with the guest side.
>>
>> I suspect this is your problem - qemu does not know how to handle the
>> unpaired -net user.
> 
> you were right, i change it now and it works. seems AQEMU generates
> buggy qemu's cmds, i have used it for the vm but i copy cmdline only
> 
> shall i report separate bug for aqemu ?

At the time aqemu has been written, the -net syntax was the only one
available. No doubt it is using that syntax.

Now, aqemu is not maintained for several years, even if it said there's
a new development started in 2016.  You're free to do so ofcource ;)

[]
>> Now, you use both -net user,smb=... which redirects ports used by
>> windows networking to custom samba instance with its own configuration,
>> with nothing shared from host samba. Yet you attach your smb.conf file.
>> Why?
> 
> I was just mistaken about samba and qemu , thought it used smbd for
> its internals...

Yes qemu uses smbd. But it uses smbd with its own entirely private
configuration, not touching your main smbd/smb.conf in any way.

If you want to connect to the "main" smbd, do not override -smb, -
this way your main samba "instance" will be used.

/mjt

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1017884: reportbug: qemu-system-x86_64 freezes after i access samba server on a windows-xp host Usama Makhzoum <osmakh1@gmail.com> - 2022-08-22 01:40 +0200
  Bug#1017884: reportbug: qemu-system-x86_64 freezes after i access samba server on a windows-xp host Michael Tokarev <mjt@tls.msk.ru> - 2022-08-22 09:40 +0200
  Bug#1017884: reportbug: qemu-system-x86_64 freezes after i access samba server on a windows-xp host أسامة مخزوم <osmakh1@gmail.com> - 2022-08-28 15:40 +0200
    Bug#1017884: reportbug: qemu-system-x86_64 freezes after i access samba server on a windows-xp host Michael Tokarev <mjt@tls.msk.ru> - 2022-08-29 11:10 +0200

csiph-web