From a2ad2d2d93ab1e4060c83705fe747f4f91f707f9 Mon Sep 17 00:00:00 2001 From: Luke Farnell Date: Tue, 23 Aug 2016 17:53:56 -0400 Subject: [PATCH] providing documentation for solving issue #3586 (#3702) * providing documentation for solving issue #3586 * fixed docs to include the env var needing to be set * typo for env var --- website/source/docs/builders/qemu.html.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/website/source/docs/builders/qemu.html.md b/website/source/docs/builders/qemu.html.md index e5aee5ce1..32ddacdf3 100644 --- a/website/source/docs/builders/qemu.html.md +++ b/website/source/docs/builders/qemu.html.md @@ -262,6 +262,15 @@ builder and not otherwise conflicting with the qemuargs): qemu-system-x86 -m 1024m --no-acpi -netdev user,id=mynet0,hostfwd=hostip:hostport-guestip:guestport -device virtio-net,netdev=mynet0" +\~> **Windows Users:** [QEMU for Windows](https://qemu.weilnetz.de/) builds are available though an environmental variable does need +to be set for QEMU for Windows to redirect stdout to the console instead of stdout.txt. + +The following shows the environment variable that needs to be set for Windows QEMU support: + +```json + setx SDL_STDIO_REDIRECT=0 +``` + You can also use the `SSHHostPort` template variable to produce a packer template that can be invoked by `make` in parallel: