diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-16 16:59:00 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-16 16:59:33 +0000 |
| commit | 9aba81d8eb048db908c94a3c40c25a5fde0caee6 (patch) | |
| tree | b765e7fb5e9a3c2143c68b0414e0055adb70e785 /results/classifier/118/none/1862110 | |
| parent | b89a938452613061c0f1f23e710281cf5c83cb29 (diff) | |
| download | qemu-analysis-9aba81d8eb048db908c94a3c40c25a5fde0caee6.tar.gz qemu-analysis-9aba81d8eb048db908c94a3c40c25a5fde0caee6.zip | |
add 18th iteration of classifier
Diffstat (limited to 'results/classifier/118/none/1862110')
| -rw-r--r-- | results/classifier/118/none/1862110 | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/results/classifier/118/none/1862110 b/results/classifier/118/none/1862110 new file mode 100644 index 000000000..f7c7270ed --- /dev/null +++ b/results/classifier/118/none/1862110 @@ -0,0 +1,128 @@ +boot: 0.765 +user-level: 0.685 +network: 0.650 +device: 0.648 +ppc: 0.645 +arm: 0.638 +mistranslation: 0.634 +permissions: 0.629 +risc-v: 0.617 +TCG: 0.608 +semantic: 0.599 +performance: 0.595 +hypervisor: 0.594 +socket: 0.593 +graphic: 0.592 +PID: 0.587 +x86: 0.561 +KVM: 0.559 +peripherals: 0.552 +vnc: 0.539 +kernel: 0.535 +virtual: 0.512 +VMM: 0.510 +architecture: 0.509 +register: 0.506 +debug: 0.498 +i386: 0.496 +assembly: 0.446 +files: 0.440 + +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 + +EDIT: The backslash under the ovmf setting was commented + +Your script is broken, you cannot mix continued lines, blank lines, and comments. Take for instance this example: + +--- +#!/bin/bash + +echo Hello \ +World + +echo Hello \ + +World + +echo Hello \ + +# Earth + +World +--- + +Which results in: + +$ ./hello.sh +Hello World +Hello +./hello.sh: line 8: World: command not found +Hello +./hello.sh: line 14: World: command not found + + |