Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- sync && tee /proc/sys/vm/drop_caches <<<1
- xl mem-set 0 680
- sync && tee /proc/sys/vm/drop_caches <<<1
- sleep 5
- for i in 00:02.0 00:14.0 00:03.0 00:1b.0; do
- xl pci-assignable-add $i &>/dev/null
- done
- for i in i915 xhci_pci snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel snd; do
- modprobe -rf $i &>/dev/null;
- rmmod -f $i &>/dev/null;
- done
- xl create $1 -F
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement