qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] qemu-options: Improve description for -smb option
@ 2025-08-02 11:05 Pali Rohár
  2025-08-10 13:09 ` Pali Rohár
  0 siblings, 1 reply; 3+ messages in thread
From: Pali Rohár @ 2025-08-02 11:05 UTC (permalink / raw)
  To: qemu-devel

Add #PRE and #NOFNR flags to LMHOSTS example line.
Include information about LMHOSTS path on Windows 3.x.

Windows NT 3.1 requires #NOFNR flag for successful hostname resolving as
described in MS article Q103765 because qemu/smbd does not respond to
netbios name verification queries. #PRE is suggested in that article too
and decrease delay on Windows 3.x for the first connection.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 qemu-options.hx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/qemu-options.hx b/qemu-options.hx
index ab23f14d2178..d5654756f125 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -3307,10 +3307,10 @@ SRST
 
         ::
 
-            10.0.2.4 smbserver
+            10.0.2.4 smbserver #PRE #NOFNR
 
-        must be added in the file ``C:\WINDOWS\LMHOSTS`` (for windows
-        9x/Me) or ``C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS`` (Windows
+        must be added in the file ``C:\WINDOWS\LMHOSTS`` (for Windows
+        3x/9x/Me) or ``C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS`` (Windows
         NT/2000).
 
         Then ``dir`` can be accessed in ``\\smbserver\qemu``.
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] qemu-options: Improve description for -smb option
  2025-08-02 11:05 [PATCH] qemu-options: Improve description for -smb option Pali Rohár
@ 2025-08-10 13:09 ` Pali Rohár
  2025-09-07 10:08   ` Pali Rohár
  0 siblings, 1 reply; 3+ messages in thread
From: Pali Rohár @ 2025-08-10 13:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: Samuel Thibault, Jason Wang

+cc slirp & network maintainers

On Saturday 02 August 2025 13:05:49 Pali Rohár wrote:
> Add #PRE and #NOFNR flags to LMHOSTS example line.
> Include information about LMHOSTS path on Windows 3.x.
> 
> Windows NT 3.1 requires #NOFNR flag for successful hostname resolving as
> described in MS article Q103765 because qemu/smbd does not respond to
> netbios name verification queries. #PRE is suggested in that article too
> and decrease delay on Windows 3.x for the first connection.
> 
> Signed-off-by: Pali Rohár <pali@kernel.org>
> ---
>  qemu-options.hx | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/qemu-options.hx b/qemu-options.hx
> index ab23f14d2178..d5654756f125 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -3307,10 +3307,10 @@ SRST
>  
>          ::
>  
> -            10.0.2.4 smbserver
> +            10.0.2.4 smbserver #PRE #NOFNR
>  
> -        must be added in the file ``C:\WINDOWS\LMHOSTS`` (for windows
> -        9x/Me) or ``C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS`` (Windows
> +        must be added in the file ``C:\WINDOWS\LMHOSTS`` (for Windows
> +        3x/9x/Me) or ``C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS`` (Windows
>          NT/2000).
>  
>          Then ``dir`` can be accessed in ``\\smbserver\qemu``.
> -- 
> 2.20.1
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] qemu-options: Improve description for -smb option
  2025-08-10 13:09 ` Pali Rohár
@ 2025-09-07 10:08   ` Pali Rohár
  0 siblings, 0 replies; 3+ messages in thread
From: Pali Rohár @ 2025-09-07 10:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: Samuel Thibault, Jason Wang

PING?

On Sunday 10 August 2025 15:09:48 Pali Rohár wrote:
> +cc slirp & network maintainers
> 
> On Saturday 02 August 2025 13:05:49 Pali Rohár wrote:
> > Add #PRE and #NOFNR flags to LMHOSTS example line.
> > Include information about LMHOSTS path on Windows 3.x.
> > 
> > Windows NT 3.1 requires #NOFNR flag for successful hostname resolving as
> > described in MS article Q103765 because qemu/smbd does not respond to
> > netbios name verification queries. #PRE is suggested in that article too
> > and decrease delay on Windows 3.x for the first connection.
> > 
> > Signed-off-by: Pali Rohár <pali@kernel.org>
> > ---
> >  qemu-options.hx | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/qemu-options.hx b/qemu-options.hx
> > index ab23f14d2178..d5654756f125 100644
> > --- a/qemu-options.hx
> > +++ b/qemu-options.hx
> > @@ -3307,10 +3307,10 @@ SRST
> >  
> >          ::
> >  
> > -            10.0.2.4 smbserver
> > +            10.0.2.4 smbserver #PRE #NOFNR
> >  
> > -        must be added in the file ``C:\WINDOWS\LMHOSTS`` (for windows
> > -        9x/Me) or ``C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS`` (Windows
> > +        must be added in the file ``C:\WINDOWS\LMHOSTS`` (for Windows
> > +        3x/9x/Me) or ``C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS`` (Windows
> >          NT/2000).
> >  
> >          Then ``dir`` can be accessed in ``\\smbserver\qemu``.
> > -- 
> > 2.20.1
> > 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-07 10:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-02 11:05 [PATCH] qemu-options: Improve description for -smb option Pali Rohár
2025-08-10 13:09 ` Pali Rohár
2025-09-07 10:08   ` Pali Rohár

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).