Skip to content

Instantly share code, notes, and snippets.

View RealityAnomaly's full-sized avatar

Vertex X7-53 RealityAnomaly

  • Thames Republic
View GitHub Profile
@RealityAnomaly
RealityAnomaly / imessage.txt
Created January 1, 2024 15:11
imessage.txt
APKTIDb9QuTtosrfTl377XkBTM6MgMcYUnqTuyG7wQ1j4my76wsg
@RealityAnomaly
RealityAnomaly / esxcli-software-patched.py
Last active January 4, 2024 10:55
esxcli-software-patched.py
import shutil
import subprocess
import tempfile
import sys
# example use: python3 ./patch.py vib.install -v /vmfs/volumes/65790f67-650d4902-c890-d0431e4ede0e/BCM_bootbank_dell-shared-perc8_06.806.92.00-1OEM.700.1.0.15843807.vib -f --dryrun
patch_data = '''
# start of patch area
import inspect
From 635c50aee963c81c7c17342049b6afb8bbc8ab00 Mon Sep 17 00:00:00 2001
From: Vertex X7-53 <[email protected]>
Date: Sun, 17 Aug 2025 01:34:00 +0100
Subject: [PATCH] xen/pciback: Improve runtime power management
An important part of S0ix runtime power management is the control of PCI device D-states.
Without both the device and any applicable PCI bridges in D3cold, the PMC will
keep power applied to the bus, and in most cases this will prevent the CPU from reaching states lower than Package C2.
The vast majority of devices depend on PME (Power Management Events) to
From 997148331011406a54157ad225ace20510eacc56 Mon Sep 17 00:00:00 2001
From: Vertex X7-53 <[email protected]>
Date: Sun, 17 Aug 2025 11:00:09 +0100
Subject: [PATCH] Xen PT power management support, including PME passthrough
---
hw/xen/xen_pt.c | 1 +
hw/xen/xen_pt.h | 1 +
hw/xen/xen_pt_config_init.c | 61 +++++++++++++++++++++++++++++++++++--
3 files changed, 61 insertions(+), 2 deletions(-)