From 413af6c8889b355590a6bf3c463308ed9d4b8729 Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Mon, 21 Mar 2022 22:58:13 +0100 Subject: [PATCH] Initial commit --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0f662bf --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +# Emulator for x86 and PowerPC augmented with a power of VirGL + +> this repository is inspired by and based on +> https://github.com/knazarov/homebrew-qemu-virgl +> thank you for your work, @knazarov + +## Installation + +### Usage - Intel Macs + +assume you already have `rootfs.qcow2` image + +```sh +qemu-system-x86_64 \ + -machine q35,accel=hvf \ + -cpu host \ + -smp 2 \ + -m 4G \ + -netdev vmnet-shared,id=vmnet0 \ + -device virtio-net-pci,netdev=vmnet0 \ + -device virtio-vga-gl \ + -device virtio-keyboard-pci \ + -device virtio-tablet-pci \ + -display cocoa,gl=es \ + -chardev qemu-vdagent,id=spice,name=vdagent,clipboard=on \ + -device virtio-serial-pci \ + -device virtserialport,chardev=spice,name=com.redhat.spice.0 \ + -virtfs local,path=/Users,mount_tag=Users,id=vfs0,security_model=none \ + -hda rootfs.qcow2 \ + -full-screen + +```