Add way to restart looking glass, update XML

merge-requests/2/head
Cole Deck 4 years ago
parent 7f09610aa6
commit 43705a276a

6
vm

@ -15,7 +15,11 @@ echo "Starting Looking Glass"
#looking-glass-client -s no -d yes -g egl -a -M no egl:vsync yes &
looking-glass-client -s -d -g egl -a -M -K 120 &
while [ "$command" != "stop" ]; do
read command
if jobs | grep looking | grep Running; then
read command
else
looking-glass-client -s -d -g egl -a -M -K 120 &
fi
done
sudo whoami
echo "Stopping VM..."

@ -83,6 +83,7 @@ or other application using the libvirt API.
<topology sockets='1' dies='1' cores='8' threads='2'/>
<cache mode='passthrough'/>
<feature policy='require' name='topoext'/>
<feature policy='disable' name='amd-stibp'/>
</cpu>
<clock offset='localtime'>
<timer name='rtc' tickpolicy='catchup'/>
@ -218,9 +219,6 @@ or other application using the libvirt API.
<target type='virtio' name='com.redhat.spice.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='tablet' bus='usb'>
<address type='usb' bus='0' port='1'/>
</input>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='spice' autoport='yes'>

Loading…
Cancel
Save