Skip to content

Instantly share code, notes, and snippets.

View qzhuyan's full-sized avatar
🎯
Focusing

William Yang qzhuyan

🎯
Focusing
View GitHub Profile
@qzhuyan
qzhuyan / mount_qcow2.md
Created October 9, 2024 15:07 — forked from shamil/mount_qcow2.md
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
@qzhuyan
qzhuyan / noroaming.patch
Last active May 19, 2017 18:55 — forked from trustin/noroaming.patch
broadcom-wl patch that fixes the crash on multi-AP environment
--- a/src/wl/sys/wl_cfg80211_hybrid.c 2017-05-19 20:39:02.140010833 +0200
+++ b/src/wl/sys/wl_cfg80211_hybrid.c 2017-05-19 20:40:19.216011777 +0200
@@ -2153,8 +2153,12 @@
WL_DBG(("\n"));
if (status == WLC_E_STATUS_SUCCESS) {
- err = wl_bss_roaming_done(wl, ndev, e, data);
+ if (!wl_bss_roaming_done(wl, ndev, e, data)) {
wl->profile->active = true;
+ } else {