Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
47 user(s) are online (35 user(s) are browsing Forums)

Members: 0
Guests: 47

more...

Support us!

Headlines

 
  Register To Post  

Using QEMU with Samba
Just popping in
Just popping in


See User information
Good afternoon everyone, I've recently found that it is possible to virtualize an AmigaOS 4 environment not just with WinUAE or FS-UAE bu also with QEMU. This solution allow to run more "recent" hardware instead of the old "classic" Amiga.

So I've bought an AmigaOS 4 Pegasos2 license and started to use it. The difference is sensible but I'm currently strugling to setup a share in order to pass files between the host and the client.

I understood that one way it is to use Samba to share a folder between Linux/Windows and AmigaOS.

I've setup samba on my Linux Mint, and installed smb2fs on Amiga but when I try to mount the share point it say access denied.

Any help? There are better way to share files between the two systems?

Go to top
Re: Using QEMU with Samba
Not too shy to talk
Not too shy to talk


See User information

Go to top
Re: Using QEMU with Samba
Home away from home
Home away from home


See User information
@Krirur
Go the way derfs point out with virtfs: it's well tested already and really only one normal solution for qemu. I use it with Qemu always (and even today install last version).

But be sure that if you use windows, you need qemu windows build with p9 support in, which you can get from https://github.com/arixmkii/qcw/tags , and the last one are: https://github.com/arixmkii/qcw/releas ... w64-qemu-setup-11.0.1.exe

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Using QEMU with Samba
Site Builder
Site Builder


See User information
@Kirirur

There are various ways to share files with the host machine, and each one has its pros and cons. And most of them are supported by Kyvos, my frontend for QEMU, which makes the VM setup as easy as possible. I also provide a manual with more than 120 pages with plenty of information.

You can find Kyvos v2 at https://ko-fi.com/s/5ce4b719ed

There is also the older donationware version at https://ko-fi.com/s/6476fdadd2, in case you would like to test it first.

You can find videos about Kyvos and its features at https://www.youtube.com/@walkero/videos

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Using QEMU with Samba
Just can't stay away
Just can't stay away


See User information
@Kirirur
The 9PFS should work and is the normal way QEMU uses for shared folders but needs the AmigaOS driver. Samba should also work but depending on your network backend your host may not be at the IP address you expect. With the default -net user (slirp) network you may need to use 10.0.2.2 to access the host from the guest (look at the network docs linked in the FAQ on my page at the URL in my signature below). With -net tap it should work normally but you need some setup on the host to create the tap interfaces to use.

Go to top
Re: Using QEMU with Samba
Just popping in
Just popping in


See User information
@derfs
Thank you, but I'm currently having some trouble surfing the net with AmigaOS. Ibrowse3 seems to be the only SSL enabled browser but it continue to crash with the grim reaper, OWB does not support SSL connection and so I'm not able to download the archive...

EDIT: I managed to download from OS4Depot the older version 0.4 but it fails to mount the shared area.
My startup script is the following:
#!/bin/bash

cd "$(dirname "$0")" || exit 1

# Default: QEMU 11 compilato
QEMU_11="/opt/qemu-11/bin/qemu-system-ppc"
QEMU_8="qemu-system-ppc"   # quello di sistema nel PATH

# Scelta versione
case "$1" in
  8
)
    
QEMU="$QEMU_8"
    
echo "Usando QEMU di sistema (8)"
    
;;
  
11|"")
    
QEMU="$QEMU_11"
    
echo "Usando QEMU compilato (11)"
    
;;
  *)
    echo 
"Uso: $0 [8|11]"
    
exit 1
    
;;
esac

exec taskset 
-c 2-"$QEMU\
  
-M pegasos2 \
  
-m 2048 \
  
-rtc base=localtime \
  
-serial stdio \
  
-vga none \
  
-device sm501 \
  
-drive file=amigaos.qcow2,format=qcow2,if=ide,index=0,cache=writeback,aio=threads \
  
-drive file=WorkDisk.qcow2,format=qcow2,if=ide,index=1,cache=writeback,aio=threads \
  
-kernel bboot \
  
-initrd Kickstart.zip \
  
-netdev user,id=net0 \
  
-device rtl8139,netdev=net0 \
  
-fsdev local,security_model=mapped-xattr,id=fsdev0,path=/home/andrea/amiga_share
  
-device virtio-9p-pci-non-transitional,id=fs0,fsdev=fsdev0,mount_tag=SHARED



EDIT II: Found the mistake: I've forgot a '\', now it worked!


Edited by Kirirur on 2026/7/5 16:21:41
Edited by Kirirur on 2026/7/5 16:28:19
Go to top
Re: Using QEMU with Samba
Home away from home
Home away from home


See User information
@Kirirur
Quote:
OWB does not support SSL connection
No idea about the "Odyssey Web Browser" (backports of AROS/MorphOS ports of OWB), but my ancient AmigaOS 3.9/m68k and AmigaOS 4.x/PPC OWB ports of Pleyo's Origyn Web Browser still support SSL/TSL.
Of course not with the 15 years old curl-ca-bundle.crt included in the os4depot.net archive any more, but you can easily update it for example from https://curl.se/docs/caextract.html

Go to top
Re: Using QEMU with Samba
Just popping in
Just popping in


See User information
@joerg could you please MP to me and explain how to do that? I've downloaded the updated certificate now?

Go to top
Re: Using QEMU with Samba
Just can't stay away
Just can't stay away


See User information
@Kirirur

Quote:
could you please MP to me and explain how to do that? I've downloaded the updated certificate now?

Others might find this explanation useful as well, so why not do it here?

It's quite simple: The file cacert.pem which you have downloaded from curl.se should just be renamed to curl-ca-bundle.crt and copied into the same directory where Odyssey is installed.

And yes, it works fine with Odyssey as well, just as long as it's renamed.

Best regards,

Niels

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project