UTM-based Linux kernel development environment on Macbook Pro

I got a Macbook Pro. I was wondering if I can do kernel development on it since I recently learned that modern small computers are fast enough to be used for frequent kernel builds. I also heard a few of my previous colleague kernel developers use their Macbook for kernel builds. Unfortunately I cannot install Linux kernel on the laptop at the moment, though. I hence created a Debian13 VM on it using UTM and ran the kernel compile benchmark....

November 1, 2025 · 2 min · 276 words · Me

A mini desktop as a local kernel hacking machine

A few weeks ago I heard modern normal computers can build kernel faster than I expected. My 10 years old personal laptop (Thinkpad X1) used to build a kernel per a couple of hours. The last time I built kernel on the laptop was about 8 years ago. Since then, I was always using only workstation or server level machines for building kernels. So I wanted to know how good modern normal desktop-level machines are, by myself....

October 31, 2025 · 3 min · 542 words · Me

Build, Install, and Use QEMU on Ubuntu

This post describes how you can build, install, and use QEMU on an Ubuntu machine. I basically refererenced http://wiki.qemu.org/Hosts/Linux. The test has proceeded on an Ubuntu 18.04 server machine. QEMU Build sudo apt install libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev \ libgtk-3-dev git clone git://git.qemu-project.org/qemu.git cd qemu git checkout v4.2.0 mkdir -p $HOME/qemu.sandbox/bin cd $HOME/qemu.sandbox/bin ../../qemu/configure --enable-debug --enable-gtk time make -j143 ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios Guest OS Install Get an Ubuntu server install image:...

December 12, 2019 · 6 min · 1227 words · Me

Ubuntu 환경에서 QEMU 빌드 / 설치 / 사용하는 법

Ubuntu 에서 QEMU 를 빌드, 설치, 사용하는 법을 설명합니다. 기본적으로 http://wiki.qemu.org/Hosts/Linux 문서를 참고했습니다. 테스트는 Ubuntu 18.04 머신 위에서 진행되었습니다. QEMU Build sudo apt install libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev \ libgtk-3-dev git clone git://git.qemu-project.org/qemu.git cd qemu git checkout v4.2.0 mkdir -p $HOME/qemu.sandbox/bin cd $HOME/qemu.sandbox/bin ../../qemu/configure --enable-debug --enable-gtk time make -j143 ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios Guest OS Install Ubuntu 서버 이미지를 가져오고, $ wget http://releases.ubuntu.com/18.04/ubuntu-18.04.3-live-server-amd64.iso qcow2 포맷으로 스토리지를 만들고, cd .. $ ./bin/qemu-img create -f qcow2 qc2img 32G Formatting 'qc2img', fmt=qcow2 size=34359738368 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 $ ls -alh total 830M drwxrwxr-x 3 sjpark sjpark 4....

December 12, 2019 · 5 min · 1060 words · Me