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

Reply via email to