<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Libvirt on Ivon's Blog</title><link>https://ivonblog.com/en-us/tags/libvirt/</link><description>Recent content in Libvirt on Ivon's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</managingEditor><webMaster>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</webMaster><copyright>You are welcome to share articles of Ivon's Blog (ivonblog.com). Please include the original URL when citing articles, and abide by CC BY-NC-ND 4.0 license. For commercial use, please write an e-mail to me.</copyright><lastBuildDate>Mon, 08 Jul 2024 22:00:00 +0800</lastBuildDate><atom:link href="https://ivonblog.com/en-us/tags/libvirt/index.xml" rel="self" type="application/rss+xml"/><item><title>Why I Like Using Virt Manager + QEMU/KVM, Starting From Baked Spaghetti</title><link>https://ivonblog.com/en-us/posts/the-path-of-learning-qemu-kvm/</link><pubDate>Mon, 08 Jul 2024 22:00:00 +0800</pubDate><author>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</author><guid>https://ivonblog.com/en-us/posts/the-path-of-learning-qemu-kvm/</guid><description>&lt;!-- Co-translated by ChatGPT --&gt;
&lt;p&gt;A side story not mentioned in &lt;a href="https://ivonblog.com/posts/en-us/linux-learning-history-2th-year/" target="_blank" rel="noreferrer"&gt;Linux Leraning History&lt;/a&gt;! The QEMU/KVM skill tree.&lt;/p&gt;
&lt;p&gt;As of now, common virtualization software on GNU/Linux systems includes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;QEMU/KVM, managed with Virt Manager or GNOME Boxes&lt;/li&gt;
&lt;li&gt;Oracle VirtualBox&lt;/li&gt;
&lt;li&gt;VMware&lt;/li&gt;
&lt;li&gt;Xen&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Why do the articles in this site&amp;rsquo;s &amp;ldquo;Virtual Machines and Container Technologies&amp;rdquo; category almost all discuss QEMU/KVM as the virtual machine software? (At least up to now.) This has to start with my obsession with QEMU/KVM.&lt;/p&gt;
&lt;p&gt;I am not talented; my understanding of Linux virtualization is only like taking one ladle of water from the river.&lt;/p&gt;

&lt;h2 class="relative group"&gt;1. Baked Spaghetti and QEMU/KVM
 &lt;div id="1-baked-spaghetti-and-qemukvm" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#1-baked-spaghetti-and-qemukvm" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;The reason I have been enthusiastic about studying QEMU/KVM virtual machines to this day is that, at first, I wanted to migrate to Linux, but was worried about losing access to Windows functionality.&lt;/p&gt;
&lt;p&gt;Before 2022, I had not yet come into contact with the cult-like free software ideology, so naturally I could not let go of Windows. Even though I knew Wine existed, I still hoped to have a virtual machine that could quickly create a Windows environment, so that I could run software when necessary.&lt;/p&gt;
&lt;p&gt;(In hindsight: I did not expect that two years later I would go to the computer science department to learn C# programming. The virtual machine saved my life, letting me install Visual Studio and finish assignments.)&lt;/p&gt;
&lt;p&gt;I already had some experience operating virtual machines before this, but I did not really understand the principles behind them. I only felt that VirtualBox and VMware were intuitive and easy to use! Systems could be installed whoosh, just like that. QEMU/KVM was unknown territory to me.&lt;/p&gt;
&lt;p&gt;I vaguely understood that the greatest weak point of virtual machines was graphics processing capability, so starting in my sophomore year (2020), I began researching GPU passthrough technology.&lt;/p&gt;
&lt;p&gt;At the school cafeteria attached to the National Pingtung University dormitory, I ordered baked spaghetti, sat down, took out my phone, and read articles written by &amp;ldquo;For Possible Sounds&amp;rdquo;, &amp;ldquo;CT Wang&amp;rdquo;, &amp;ldquo;How to Play LOL on Linux&amp;rdquo;, &amp;ldquo;Bird Brother&amp;rdquo;, and others, beginning my study of how to do GPU passthrough.&lt;/p&gt;
&lt;p&gt;During the same period, I tried installing Hackintosh on bare metal. I read articles, went back to the dorm to test it, and actually succeeded! Ah, but I could not handle the audio card kext, so I gave up very quickly.&lt;/p&gt;
&lt;p&gt;The shop served the meal in a small bowl. The spaghetti was wrapped in aluminum foil, with a hot baked crust covering the top. When I pierced it with a fork and rolled up tomato noodles with stringy cheese and crust, the crispy, sweet-and-sour feeling in my mouth was truly delicious.&lt;/p&gt;
&lt;p&gt;Mamma mia, I simply could not understand what those online articles were writing. What IOMMU, VFIO, nouveau blacklist, what the heck!? Why does everyone introduce GPU passthrough like they are writing a thesis? While reading, I finished the noodles too, so I quit and went to sleep!&lt;/p&gt;
&lt;p&gt;Slowly, by 2022, I successfully tried GPU passthrough on Ubuntu for the first time. It was not some sudden enlightenment, but success through repeated trial and error. After all, that was a time when I did not even know how to use vim.&lt;/p&gt;</description></item></channel></rss>