added sudo to qemu

This commit is contained in:
cvoges12 2021-10-06 16:38:03 +00:00
parent ab42c3d04c
commit 272db67d45
5 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ SPICE_PORT=5930
CHARDEV_ID='spicechannel0' CHARDEV_ID='spicechannel0'
DRIVE='/dev/sdb' # change drive if needed DRIVE='/dev/sdb' # change drive if needed
ISO='winsp.iso' ISO='winsp.iso'
qemu-system-x86_64 \ sudo qemu-system-x86_64 \
-enable-kvm \ -enable-kvm \
-daemonize \ -daemonize \
-cpu host \ -cpu host \

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
qemu-system-x86_64 \ sudo qemu-system-x86_64 \
-enable-kvm \ -enable-kvm \
-cpu host \ -cpu host \
-smp 4 \ -smp 4 \

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
qemu-system-x86_64 \ sudo qemu-system-x86_64 \
-enable-kvm \ -enable-kvm \
-cpu host \ -cpu host \
-smp 4 \ -smp 4 \

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
qemu-system-x86_64 \ sudo qemu-system-x86_64 \
-enable-kvm \ -enable-kvm \
-cpu host \ -cpu host \
-smp 4 \ -smp 4 \

View file

@ -2,7 +2,7 @@
SPICE_PORT=5930 SPICE_PORT=5930
CHARDEV_ID='spicechannel0' CHARDEV_ID='spicechannel0'
qemu-system-x86_64 \ sudo qemu-system-x86_64 \
-enable-kvm \ -enable-kvm \
-daemonize \ -daemonize \
-cpu host \ -cpu host \