Skip to content

Releases

virtioscsi.device 1.2 (beta)

Pre-release

Choose a tag to compare

@derfsss derfsss released this 08 Nov 18:00

virtioscsi.device 1.2 (beta): a block device driver for QEMU's virtio-scsi controller (virtio-scsi-pci and -non-transitional), for AmigaOS 4.1 Final Edition running in QEMU. Written in Rust, it is a drop-in replacement for the C VirtualSCSIDevice driver: the same name, loaded from the Kickstart, booting the system disk.

It scans targets 0-7 and LUNs 0-7, answers the trackdisk, TD64 and NSD commands, HD_SCSICMD, geometry and disk-change requests, and keeps up to 16 commands in flight per controller. On QEMU's AmigaOne, SFS ran 2.3 to 23 times as fast as with the C driver, most on random 4 KB I/O.

In the archive

  • Kickstart/virtioscsi.device: replaces the module of the same name in your Kickstart
  • ReadMe: back-up, install and roll-back steps

Install

Back up your kickstart and disk image first: this driver runs your system disk. Then replace Kickstart/virtioscsi.device in the Kickstart your boot loader uses (with bboot, inside the kickstart zip) and reboot. Version virtioscsi.device FULL shows 1.2.

Tested

QEMU 11.0.50, AmigaOne machine, as the driver of the system disk. This build: boots the system disk; 311 system files read and 255 files written matched the C driver byte for byte (the written copies read back on the C driver). The 1.1 drop-in before it passed the full bench: the C driver's own test suite, filesystems, a 30-minute soak.

Known issue

In one of three boots during release testing, Roadshow's "TCP/IP Log" task crashed (a DSI) after Workbench came up. It did not recur in later boots, and the disk data checks above found no difference from the C driver. Please report it if you see it.

virtio exists only in QEMU: this driver is not for real hardware.

SHA-256 of virtioscsi-1.2.lha: 11bd1aed96fd13812ca154c1277c0272e1ce59f95a94967d0b62dd380319d905

virtiorng.device 1.1 Kickstart / 1.2 disk (beta)

Choose a tag to compare

@derfsss derfsss released this 08 Nov 18:00

virtiorng.device 1.1 / 1.2 (beta): an entropy (random number) device for QEMU's virtio-rng card (virtio-rng-pci), for AmigaOS 4.1 Final Edition running in QEMU. Programs read random bytes from the host with CMD_READ.

In the archive (two builds of the same driver: use one)

  • DEVS/virtiorng.device (1.2): loaded from DEVS: when first opened, unloaded when no longer used. The simplest way in.
  • Kickstart/virtiorng.device (1.1): a Kickstart module, started at boot, with a self-test on the serial output.
  • rngread: checks the device (nine checks: reads, aborts, flushes, recovery after a device reset, an odd-sized read at an odd address).
  • ReadMe: install steps for both builds.

Install

  1. Add -device virtio-rng-pci to your QEMU command line (up to four cards; each is a unit).
  2. Disk build: Copy DEVS/virtiorng.device DEVS: — or the Kickstart build: add Kickstart/virtiorng.device and a MODULE Kickstart/virtiorng.device line to your Kicklayout (see the ReadMe).
  3. Run rngread.

Tested

QEMU 11.0.50 on the AmigaOne, Pegasos II and Sam460ex machines. These builds on QEMU's AmigaOne: Kickstart 1.1 self-test PASSED and rngread 9/9; disk 1.2 rngread 9/9.

virtio exists only in QEMU: this driver is not for real hardware.

SHA-256 of virtiorng-1.2.lha: 78f080f60c19a7a507fd9ff91847699f188d48d3aeea5bd9fb3c9ba8690f0763

virtionet.device 1.1 (beta)

Pre-release

Choose a tag to compare

@derfsss derfsss released this 08 Nov 18:00

virtionet.device 1.1 (beta): a SANA-II network driver for QEMU's virtio-net card (virtio-net-pci), for AmigaOS 4.1 Final Edition running in QEMU. It works with Roadshow like any other network driver and is faster than the emulated rtl8139.

In the archive

  • virtionet.device: copy to DEVS:Networks/
  • VIRTIONET: an example interface file for DEVS:NetInterfaces/
  • ReadMe: how to add the card to QEMU, install, and report results
  • vnetcheck, s2test, netprof, netprof-host.exe: a five-minute self-check (s2test checks the driver directly; netprof measures transfers against netprof-host on the PC)

Install

  1. Add a card to QEMU, e.g. -netdev user,id=vnet -device virtio-net-pci,netdev=vnet.
  2. Copy virtionet.device DEVS:Networks/
  3. Set up the interface with the Network prefs or the VIRTIONET example, and reboot.

Tested

QEMU 11.0.50 on the AmigaOne, Pegasos II and Sam460ex machines, with Roadshow 1.15. This build: s2test 32/32 on QEMU's AmigaOne, with Roadshow running on the driver.

virtio exists only in QEMU: this driver is not for real hardware. Up to four cards (units 0 to 3).

SHA-256 of virtionet-1.1.lha: f31628a608be35ec1336d0912b0bbec34964e3ff3a5cc18bc11f383698346161