No description
Find a file
2026-10-09 07:26:37 +00:00
arch fix: typos 2026-09-09 10:18:20 +00:00
debian13 fix: typos 2026-09-09 10:18:20 +00:00
tails fix: typos 2026-09-09 10:18:20 +00:00
w2k16O365 feat(w2k16): O365 2026-09-11 04:19:41 +00:00
w11iotltsc fix(w11iotltsc): increase ram to 8G 2026-09-09 10:57:55 +00:00
.gitignore fix: nftables more secure rules 2026-04-22 05:40:48 +00:00
getip.sh feat: flags -s 'virtiofs' and -b 'bridge' 2026-01-10 22:50:36 +00:00
lib.sh style: make virtiofsd args more consistent 2026-10-09 07:26:37 +00:00
README.md fix: formatting and error handling 2026-09-11 06:38:46 +00:00
startbridge.sh fix: formatting and error handling 2026-09-11 06:38:46 +00:00
stopbridge.sh fix: formatting and error handling 2026-09-11 06:38:46 +00:00

VMs

HOW-TO

To start (or create) a VM, go in the desired folder and run

$ ./${OS}/run.sh [-b] [-s share] -- qemuopts
    -b: create and link a bridge device named as in /etc/qemu/bridge.conf
    -s: create a shared folder `share` between host and guest
        mount using `mount -t virtiofs "${SHARE}" /mnt`
every argument after -- is passed to qemu

You can pass qemu flags (see QEMU(1)) to ./run.sh directly or you can make theses flags permanent by editing run.sh (current VM only) or lib.sh (all VMs).

Headless

For a headless VM, just remove the -vga and -audio flags from lib.sh.
To start the VM in the background: ./run.sh & disown

CPU/RAM limit

By default, use all but 4 available threads. RAM limit is set to sane default in each run.sh and can be overridden with the $RAM variable.

RAM=8G ./run.sh

Port forwarding

To forward host port 2222 to guest port 22:

./run.sh -nic user,hostfwd=tcp::2222-:22

USB passthrough

If you need USB passthrough, uncomment and fill in the corresponding line in run.sh. You may need root privileges.

Windows

Installation

Shift+F10 to open cmd.exe or sendkey shift-f10 in Qemu shell

Warning

The drive letters might be different depending on how you mounted the drives!

E:
drvload amd64\${VERSION}\viostor.inf

diskpart
> sel disk 0

// MBR                             UEFI
> create par primary size=100   // create par efi size=100
> format fs=ntfs quick          // format fs=fat32 quick
> active                        //
> assign letter=Z

> create par primary
> format fs=ntfs quick
> assign letter=C
> exit

D:
cd sources
dism /get-imageinfo /imagefile:install.wim
dism /apply-image /imagefile:install.wim /index:2 /applydir:C:
dism /image:C:\ /add-driver /driver:E:\amd64\${VERSION}\viostor.inf
bcdboot C:\windows /s Z: /f [BIOS|UEFI]

Share prerequisites

  • WinFsp
  • Enable VirtIO-FS Service

See also

https://github.com/quickemu-project/quickemu