Skip to content

Instantly share code, notes, and snippets.

@ljmccarthy
Created November 28, 2015 18:31
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ljmccarthy/2648e55a717196880e88 to your computer and use it in GitHub Desktop.
Save ljmccarthy/2648e55a717196880e88 to your computer and use it in GitHub Desktop.
QEMU command line for Windows XP
#!/bin/sh
exec qemu-system-i386 -enable-kvm -cpu host -m 1024 -vga std -soundhw ac97 -net nic,model=rtl8139 \
-net user -drive file=winxp.img,format=raw -drive file=/usr/share/virtio/virtio-win.iso,media=cdrom
@DovgaNik
Copy link

Hey, could you please explain what is virtio-win.iso for?

@ljmccarthy
Copy link
Author

It is for the VirtIO KVM drivers for Windows, see: https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md

@ljmccarthy
Copy link
Author

The path was the installed path for the virtio-win AUR package in Arch Linux: https://aur.archlinux.org/packages/virtio-win

@DovgaNik
Copy link

DovgaNik commented May 9, 2022

Oh thank you

@dani814
Copy link

dani814 commented Dec 3, 2022

got it working without virtio drivers thanks

@pftmclub
Copy link

Hello is there any guide for Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment