aboutsummaryrefslogtreecommitdiff
path: root/toolchains/i386_qemu.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'toolchains/i386_qemu.bzl')
-rw-r--r--toolchains/i386_qemu.bzl8
1 files changed, 8 insertions, 0 deletions
diff --git a/toolchains/i386_qemu.bzl b/toolchains/i386_qemu.bzl
new file mode 100644
index 0000000..c9f8535
--- /dev/null
+++ b/toolchains/i386_qemu.bzl
@@ -0,0 +1,8 @@
+_wrapper_template = """\
+#!/bin/bash
+qemu-system-i386 -accel kvm -machine pc -d cpu_reset -display gtk,zoom-to-fit=on -cdrom {cdrom}
+"""
+
+def qemu_wrapper():
+ return _wrapper_template
+