Add way to restart looking glass, update XML
This commit is contained in:
parent
7f09610aa6
commit
43705a276a
4
vm
4
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 no -d yes -g egl -a -M no egl:vsync yes &
|
||||||
looking-glass-client -s -d -g egl -a -M -K 120 &
|
looking-glass-client -s -d -g egl -a -M -K 120 &
|
||||||
while [ "$command" != "stop" ]; do
|
while [ "$command" != "stop" ]; do
|
||||||
|
if jobs | grep looking | grep Running; then
|
||||||
read command
|
read command
|
||||||
|
else
|
||||||
|
looking-glass-client -s -d -g egl -a -M -K 120 &
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
sudo whoami
|
sudo whoami
|
||||||
echo "Stopping VM..."
|
echo "Stopping VM..."
|
||||||
|
@ -83,6 +83,7 @@ or other application using the libvirt API.
|
|||||||
<topology sockets='1' dies='1' cores='8' threads='2'/>
|
<topology sockets='1' dies='1' cores='8' threads='2'/>
|
||||||
<cache mode='passthrough'/>
|
<cache mode='passthrough'/>
|
||||||
<feature policy='require' name='topoext'/>
|
<feature policy='require' name='topoext'/>
|
||||||
|
<feature policy='disable' name='amd-stibp'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
<clock offset='localtime'>
|
<clock offset='localtime'>
|
||||||
<timer name='rtc' tickpolicy='catchup'/>
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
@ -218,9 +219,6 @@ or other application using the libvirt API.
|
|||||||
<target type='virtio' name='com.redhat.spice.0'/>
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
</channel>
|
</channel>
|
||||||
<input type='tablet' bus='usb'>
|
|
||||||
<address type='usb' bus='0' port='1'/>
|
|
||||||
</input>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<input type='keyboard' bus='ps2'/>
|
<input type='keyboard' bus='ps2'/>
|
||||||
<graphics type='spice' autoport='yes'>
|
<graphics type='spice' autoport='yes'>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user