Skip to content

Instantly share code, notes, and snippets.

View khogeland's full-sized avatar
🛠️
inventing new problems to solve

kevin hogeland khogeland

🛠️
inventing new problems to solve
View GitHub Profile
@archerslaw
archerslaw / hotplug-via-QMP.py
Last active September 11, 2018 17:11
hotplug-via-QMP.py
# QEMU Monitor Protocol Python class
#
# Copyright (C) 2009 Red Hat Inc.
#
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
import socket, json, time, commands
from optparse import OptionParser