diff options
Diffstat (limited to 'results/scraper/launchpad-without-comments/1862110')
| -rw-r--r-- | results/scraper/launchpad-without-comments/1862110 | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1862110 b/results/scraper/launchpad-without-comments/1862110 new file mode 100644 index 00000000..0c468574 --- /dev/null +++ b/results/scraper/launchpad-without-comments/1862110 @@ -0,0 +1,66 @@ +qemu in script is not parsing properly + +Bug Report: +>>qemu-system-x86_64 --version: QEMU emulator version 4.2.0 +>>Arch-linux version 2020.02.01 +I was following a tutorial on how to make a windows vm and i have encountered and issue in the settings of my script I have listed below. + +The commented code directly above the uncommented qemu instance would boot the Windows screen but the issue arises when I try to reach the same code block under the commented setting lines which takes me to the default SeaBIOS loader. + + +#!/bin/bash + +vmname="windows10vm" + +if ps -ef | grep qemu-system-x86_64 | grep -q multifunction=on; then +echo "A passthrough VM is already running." & +exit 1 + +else + +# use pulseaudio + +export QEMU_AUDIO_DRV=pa +export QEMU_PA_SAMPLES=8192 +export QEMU_AUDIO_TIMER_PERIOD=99 +export QEMU_PA_SERVER=/run/user/1000/pulse/native + +cp /usr/share/ovmf/x64/OVMF_VARS.fd /tmp/my_vars.fd + +#qemu-system-x86_64 \ +#-drive id=disk0,if=virtio,cache=none,format=raw,file=.../IMGs/win.img \ +#-drive file=.../ISOs/Win10_1909_English_x64.iso,index=1,media=cdrom \ + +qemu-system-x86_64 \ + +#-name $vmname,process=$vmname \ +#-machine type=q35,accel=kvm \ +#-cpu host,kvm=off \ +#-smp 4,sockets=1,cores=3,threads=1 \ +#-m 8G \ +#-balloon none \ +#-rtc clock=host,base=localtime \ +#-vga none \ +#-nographic \ +#-serial none \ +#-parallel none \ +#-soundhw hda \ +#-usb \ +#-device usb-host,vendorid=...,productid=... \ +#-device usb-host,vendorid=...,productid=... \ +#-device vfio-pci,host=...,multifunction=on \ +#-device vfio-pci,host=... \ +#-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF_VARS.fd \ +#-drive if=pflash,format=raw,file=/tmp/my_vars.fd \ +#-boot order= dc \ + +-drive id=disk0,if=virtio,cache=none,format=raw,file=.../IMGs/win.img \ +-drive file=.../ISOs/Win10_1909_English_x64.iso,index=1,media=cdrom \ +-drive file=.../ISOs/virtio-0.1.171.iso,index=2,media=cdrom \ + +#-netdev type=tap,id=net0,ifname=vmtap0,vhost=on \ +#-device virtio-net-pci,netdev=net0,mac=... \ + +exit 0 + +fi \ No newline at end of file |