<?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 Lau&#39;s Lounge</title>
    <link>https://chaselau.me/tags/libvirt/</link>
    <description>Recent content in Libvirt on Lau&#39;s Lounge</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 03 Dec 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://chaselau.me/tags/libvirt/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Memory backings in Linux Virtualization</title>
      <link>https://chaselau.me/post/virt-memory/</link>
      <pubDate>Tue, 03 Dec 2019 00:00:00 +0000</pubDate>
      <guid>https://chaselau.me/post/virt-memory/</guid>
      <description>&lt;h1 id=&#34;background&#34;&gt;Background&lt;/h1&gt;&#xA;&lt;p&gt;When diving into high-performance virtualization, memory is often an area of focus. In this article, I will attempt to explain simply &lt;em&gt;why&lt;/em&gt; memory is a concern, and the various ways that are available to you to fix it. This way, you may pick which solution fits your needs.&lt;/p&gt;&#xA;&lt;p&gt;Memory management is a key responsibility of your operating system (OS). Your OS takes the memory in your system and divides it up into &lt;a href=&#34;https://en.wikipedia.org/wiki/Page_%28computer_memory%29&#34;&gt;pages&lt;/a&gt;. As programs request memory, your OS assigns pages to said programs.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Libvirt Parameters</title>
      <link>https://chaselau.me/post/libvirt-parameters/</link>
      <pubDate>Sat, 02 Nov 2019 00:00:00 +0000</pubDate>
      <guid>https://chaselau.me/post/libvirt-parameters/</guid>
      <description>&lt;p&gt;When browsing through other peoples&amp;rsquo; setups, you&amp;rsquo;ll find a huge range of flags people set. Here&amp;rsquo;s a list of what I find important, along with what they do. The table on contents will be organized by levels to represent where each config option should go. Note that there are many more flags to explore, should you be so inclined&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;h1 id=&#34;domain&#34;&gt;domain&lt;/h1&gt;&#xA;&lt;h2 id=&#34;memory&#34;&gt;memory&lt;/h2&gt;&#xA;&lt;h2 id=&#34;currentmemory&#34;&gt;currentMemory&lt;/h2&gt;&#xA;&lt;h2 id=&#34;memorybacking&#34;&gt;memoryBacking&lt;/h2&gt;&#xA;&lt;h3 id=&#34;hugepages&#34;&gt;hugepages&lt;/h3&gt;&#xA;&lt;p&gt;Specifying huge pages&lt;/p&gt;&#xA;&lt;h2 id=&#34;cputune&#34;&gt;cputune&lt;/h2&gt;&#xA;&lt;h2 id=&#34;os&#34;&gt;os&lt;/h2&gt;&#xA;&lt;h2 id=&#34;features&#34;&gt;features&lt;/h2&gt;&#xA;&lt;h3 id=&#34;acpi&#34;&gt;acpi&lt;/h3&gt;&#xA;&lt;h3 id=&#34;apic&#34;&gt;apic&lt;/h3&gt;&#xA;&lt;h3 id=&#34;hyperv&#34;&gt;hyperv&lt;/h3&gt;&#xA;&lt;h4 id=&#34;relaxed&#34;&gt;relaxed&lt;/h4&gt;&#xA;&lt;h4 id=&#34;vapic&#34;&gt;vapic&lt;/h4&gt;&#xA;&lt;h4 id=&#34;spinlocks&#34;&gt;spinlocks&lt;/h4&gt;&#xA;&lt;h4 id=&#34;vpindex&#34;&gt;vpindex&lt;/h4&gt;&#xA;&lt;h4 id=&#34;runtime&#34;&gt;runtime&lt;/h4&gt;&#xA;&lt;h4 id=&#34;synic&#34;&gt;synic&lt;/h4&gt;&#xA;&lt;h4 id=&#34;stimer&#34;&gt;stimer&lt;/h4&gt;&#xA;&lt;h4 id=&#34;reset&#34;&gt;reset&lt;/h4&gt;&#xA;&lt;h4 id=&#34;vendor_id&#34;&gt;vendor_id&lt;/h4&gt;&#xA;&lt;h4 id=&#34;frequencies&#34;&gt;frequencies&lt;/h4&gt;&#xA;&lt;h4 id=&#34;reenlightenment&#34;&gt;reenlightenment&lt;/h4&gt;&#xA;&lt;h4 id=&#34;tlbflush&#34;&gt;tlbflush&lt;/h4&gt;&#xA;&lt;h3 id=&#34;kvm&#34;&gt;kvm&lt;/h3&gt;&#xA;&lt;h4 id=&#34;hidden&#34;&gt;hidden&lt;/h4&gt;&#xA;&lt;h3 id=&#34;vmport&#34;&gt;vmport&lt;/h3&gt;&#xA;&lt;h3 id=&#34;ipapic&#34;&gt;ipapic&lt;/h3&gt;&#xA;&lt;h2 id=&#34;cpu&#34;&gt;cpu&lt;/h2&gt;&#xA;&lt;h3 id=&#34;topology&#34;&gt;topology&lt;/h3&gt;&#xA;&lt;h3 id=&#34;feature&#34;&gt;feature&lt;/h3&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://libvirt.org/formatdomain.html&#34;&gt;Here&amp;rsquo;s the libvirt XML reference for some light reading&lt;/a&gt;&amp;#160;&lt;a href=&#34;#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Libvirt/QEMU reference guide</title>
      <link>https://chaselau.me/post/virsh-reference/</link>
      <pubDate>Fri, 01 Nov 2019 00:00:00 +0000</pubDate>
      <guid>https://chaselau.me/post/virsh-reference/</guid>
      <description>&lt;h1 id=&#34;background&#34;&gt;Background&lt;/h1&gt;&#xA;&lt;p&gt;Over the past few months I’ve gotten into experimenting with PCI Passthrough using Linux virtualization. The basic premise is that, instead of dual-booting Linux with Windows for gaming, we can run Windows in a VM and passthrough necessary hardware (storage, graphics card) to achieve near-native performance.&lt;/p&gt;&#xA;&lt;p&gt;I’ve learned a lot from this experimentation. There are lots of helpful people in this community, but there are also a lot of differing configurations and no one place to look all of the various settings up. With this in mind, I aim to pool all of the information I’ve learned, to help people with their virtualization journeys.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
