Latest Posts

How to share folder between host and guest VM

Today, I had to quickly share some files between my guest VM and host OS1 to troubleshoot a problem1. Because I’m using the virt-manager GUI, the instructions on these pages were enough to accomplish the task. I’m documenting steps2 here for future self who definitely will have forgotten all this: 1) Create 9pvirtio filesystem device in VM configuration Option A: qemu-kvm CLI I didn’t use this option. See 9p virtio doc for more details. Read more...

Adding a CDN and HTTPS

I was on this site the other day, and was curious to see how fast the site loaded on a regular 3G network. I first did some research on perf tools, but decided it was easier to get the metrics I wanted through WebPageTest. I ran a “Simple Test” simulating a mobile device on “Regular 3G” network: While 1.6s isn’t exactly bad, a faster load time leads to a much better user experience. Read more...

Virt Manager: Where is VM machine state saved?

I’ve been using Virt-manager to manage my VMs, and found it to be simple to use so far. One useful functionality from using VMs is the ability to save the state of the guest machine. This allows us to quickly resume running a machine, without going through the hassle of shutdown and startup. Unfortunately, because of a lack of foresight, I’ve partitioned a meager amount of disk space on my host machine. Read more...

Minimal Ubuntu and i3 Setup

Here are notes I wrote down for setting up a minimal Ubuntu installation on a laptop, with i3 as the tiling window manager. Why Ubuntu? There are a plethora of linux distributions. Initially I wanted to use Debian because of its stability. The primarily purpose of this installation is to act as a host OS for multiple guest VMs. However, I decided to go with Ubuntu because of the vast community support and resources available online. Read more...

Towards a Cleaner, Leaner Website

I found some time in the past few weeks to work on my website, and am excited to finally get this up. After reading a lot of resources about page bloat such as this and that, I wanted to reduce the heavy bloat in my current website. I decided its easier to just build a new site than to remove old code. Here are a few of the goals I wanted to achieve: Read more...