Spaces:
Paused

File size: 401 Bytes
a520d93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# Start the Windows VM in the background
# -accel tcg is the key here; it replaces KVM with software translation
qemu-system-x86_64 \
    -m 4G \
    -smp 2 \
    -drive file=/storage/data.qcow2,if=virtio \
    -vga std \
    -display vnc=:0 \
    -accel tcg \
    -daemonize

# Start the noVNC proxy to talk to HF port 7860
/opt/novnc/utils/novnc_proxy --vnc localhost:5900 --listen 7860