This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c | |
index b09bad0..9606ec6 100644 | |
--- a/accel/kvm/kvm-all.c | |
+++ b/accel/kvm/kvm-all.c | |
@@ -2523,7 +2523,7 @@ int kvm_has_intx_set_mask(void) | |
bool kvm_arm_supports_user_irq(void) | |
{ | |
- return kvm_check_extension(kvm_state, KVM_CAP_ARM_USER_IRQ); | |
+ return true; //kvm_check_extension(kvm_state, KVM_CAP_ARM_USER_IRQ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $# -lt 2 ]; then | |
echo usage $0 path exe [args] | |
exit 1 | |
fi | |
p=$1 | |
f=$p/run | |
shift | |
echo mkdir -p $p | |
echo echo \#!/bin/sh \> $f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $# != 2 ]; then | |
echo usage $0 BINARY FOLDER | |
exit 1 | |
fi | |
if [ ! -f $1 ]; then | |
echo file $1 not found | |
exit | |
fi | |
echo mkdir -p $2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<'EOF' > /lib/systemd/system-sleep/custom-xhci_hcd | |
#!/bin/bash | |
# Original script was using /bin/sh but shellcheck reporting warnings. | |
# NAME: custom-xhci_hcd | |
# PATH: /lib/systemd/system-sleep | |
# CALL: Called from SystemD automatically | |
# DESC: Suspend broken for USB3.0 as of Oct 25/2018 various kernels all at once |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install python3-click python3-requests | |
curl -O https://raw.githubusercontent.com/foxlet/macOS-Simple-KVM/master/tools/FetchMacOS/fetch-macos.py | |
curl -O -L https://github.com/foxlet/macOS-Simple-KVM/raw/master/tools/dmg2img | |
chmod +x dmg2img | |
python3 fetch-macos.py -l -c PublicRelease14 | |
./dmg2img BaseSystem/BaseSystem.dmg BaseSystem.img | |
# qemu-img convert -c -O qcow2 BaseSystem.img BaseSystem.img.qcow2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 9d0992d35ddd1532b9be9defbe201316e6b93b13 Mon Sep 17 00:00:00 2001 | |
From: Stephen Warren <[email protected]> | |
Date: Mon, 16 Oct 2017 12:04:05 -0600 | |
Subject: [PATCH] kconfig: implement overlays | |
Kernel overlays allow the kernel source tree to be sharded into separate | |
directories, referred to as overlays, which are combined into a single | |
kernel image during the build process. The overlays can be used e.g. to | |
house different sets of IP that are released on different schedules. This | |
approach doesn't require the base kernel Kconfig files and Makefiles to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifeq ($(KERNEL_OVERLAYS),) | |
KERNEL_OVERLAYS := | |
KERNEL_OVERLAYS += $(CURDIR)/../nvidia | |
KERNEL_OVERLAYS += $(CURDIR)/../nvgpu | |
KERNEL_OVERLAYS += $(CURDIR)/../nvgpu-next | |
KERNEL_OVERLAYS += $(CURDIR)/../nvidia-t23x | |
else | |
override KERNEL_OVERLAYS := $(subst :, ,$(KERNEL_OVERLAYS)) | |
endif | |
override KERNEL_OVERLAYS := $(abspath $(KERNEL_OVERLAYS)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0000.126] [TegraBoot] (version 00.00.2018.01-l4t-33e7fa82) | |
[0000.131] Processing in cold boot mode Bootloader 2 | |
[0000.135] A02 Bootrom Patch rev = 1023 | |
[0000.139] Power-up reason: pmc por | |
[0000.142] No Battery Present | |
[0000.145] pmic max77620 reset reason | |
[0000.148] pmic max77620 NVERC : 0x40 | |
[0000.152] RamCode = 0 | |
[0000.154] Platform has DDR4 type RAM | |
[0000.157] max77620 disabling SD1 Remote Sense |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd /c sc config audiosrv start=auto | |
net start audiosrv | |
Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\" -Name fDenyTSConnections -Value 0 | |
Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\" -Name UserAuthentication -Value 0 | |
Enable-NetFirewallRule -DisplayGroup "Remote Desktop" | |
net user ... /add | |
net localgroup "Remote Desktop Users" xxxx /add | |
; note about "name='xxxx'" | |
WMIC USERACCOUNT WHERE "Name='xxxx'" SET PasswordExpires=FALSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client] | |
"fClientDisableUDP"=dword:00000001 |