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
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <!-- | |
| This overrides what's in /etc/fonts/conf.d/90-synthetic.conf for | |
| "faking" bold fonts, but only for monospace fonts. | |
| --> | |
| <fontconfig> | |
| <match target="font"> | |
| <test name="spacing" compare="eq"> |
| #include "stdafx.h" | |
| #include <wrl/module.h> | |
| #include "ToastNotificationActivationCallback.h" | |
| #include "DesktopToastsSample.h" | |
| // This is taken from: http://blogs.msdn.com/b/tiles_and_toasts/archive/2015/10/16/quickstart-handling-toast-activations-from-win32-apps-in-windows-10.aspx | |
| DWORD g_allLocks; | |
| // Main function |