<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kvm on nagg.eu</title><link>https://nagg.eu/tags/kvm/</link><description>Recent content in Kvm on nagg.eu</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 25 Jul 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://nagg.eu/tags/kvm/index.xml" rel="self" type="application/rss+xml"/><item><title>Debian QEMU/KVM bridged networking and VLAN</title><link>https://nagg.eu/debian-qemu-kvm-bridged-networking-and-vlan/</link><pubDate>Sun, 25 Jul 2021 00:00:00 +0000</pubDate><guid>https://nagg.eu/debian-qemu-kvm-bridged-networking-and-vlan/</guid><description>&lt;p&gt;By default on every Linux distro after installing &lt;code&gt;QEMU&lt;/code&gt; and &lt;code&gt;libvirt&lt;/code&gt; two
kinds of networking are available:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;NAT: VM sits behind a NAT.&lt;/li&gt;
&lt;li&gt;MACVTAP: without going into much details it acts more or less like a
bridged network, except not really. One of the most annoying limitations is
that host to guest communication and vice versa are not really working well.
Other important things might be broken as well, like for example VRRP.
This mode is good for quick and dirty testing but not really for a stable
environment.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;BRIDGED networking is also supported by &lt;code&gt;libvirt&lt;/code&gt; but requires some manual
work.&lt;br&gt;
A possible networking schema could be the following:&lt;/p&gt;</description></item><item><title>FreeBSD network performance on KVM/Qemu</title><link>https://nagg.eu/freebsd-network-performance-on-kvm-qemu/</link><pubDate>Tue, 13 Nov 2018 00:00:00 +0000</pubDate><guid>https://nagg.eu/freebsd-network-performance-on-kvm-qemu/</guid><description>&lt;p&gt;Today I red an article that was comparing Fedora 29 and FreeBSD 11.2 network
performance in a KVM/Qemu environment.&lt;br&gt;
Since I use KVM/Qemu and also Fedora and Freebsd I powered on a couple of vm
and did my own tests.&lt;br&gt;
Results are quite interesting, I expected FreeBSD to be faster but it turns out
Fedora 29 actually is.&lt;br&gt;
Host system configuration:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;
CPU: Ryzen 7 1700x @4 GHz
Motherboard: Gigabyte X370 K7 - BIOS F23d
RAM: 2x16 GB DDR4 @3133 MHz CAS 16
HDD: Some Samsung SSD

Operating systems
Host: Fedora 29 x86_64
Fedora VM0: Fedora 29 X86_64
Fedora VM1: Fedora 29 X86_64
FreeBSD VM0: FreeBSD 11.2 x86_64
FreeBSD VM1: FreeBSD 11.2 x86_64

Virtualization techonology: Qemu+KVM
Linux kernel version: 4.18.17-300.fc29.x86_64
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;What I did was setup 2 hidentical Fedora 29 virtual machines and 2 hidentical
FreeBSD 11.2 virtual machines, every one of them had &lt;code&gt;iperf3&lt;/code&gt; installed on it.&lt;/p&gt;</description></item><item><title>CentOS 6.4, QEMU+KVM</title><link>https://nagg.eu/centos-6-4-qemukvm/</link><pubDate>Mon, 19 Aug 2013 22:54:50 +0000</pubDate><guid>https://nagg.eu/centos-6-4-qemukvm/</guid><description>&lt;p&gt;It&amp;rsquo;s summer, it&amp;rsquo;s hot as hell, I am back home from mountains and I&amp;rsquo;ve &lt;em&gt;plenty&lt;/em&gt; of free time.&lt;br&gt;
Between a barbecue and the next one I spend my time playing with and learning new stuff: this week new stuff is called QEMU-KVM.&lt;br&gt;
Yesterday I also tried XenServer but to be honest I wasn&amp;rsquo;t impressed, it just look like to be an old version of CentOS minimal install with some custom repos and a fancy GUI.&lt;br&gt;
I played with it for just a bunch of hours, but the thing that just performing an installation on a software RAID-1 turned out to be a PITA to say the least is a clear sign that it&amp;rsquo;s not the best tool for &lt;em&gt;my&lt;/em&gt; needs.&lt;br&gt;
I swapped a couple of HDDs and in 2 minutes I went back to the already installed CentOS 6.4 with QEMU+KVM.&lt;br&gt;
The client machine, for what it matters, is my Fedora 19 x86_64 workstation, virsh and virt-manager the tools I use for remote administration tasks.&lt;br&gt;
Installing QEMU-KVM is just a matter of typing &lt;code&gt;yum install libvirtd qemu-kvm bla bla bla&lt;/code&gt;, &lt;code&gt;chkconfig libvirtd on&lt;/code&gt; and doing a system reboot (better safe than sorry).&lt;br&gt;
The tricky part &lt;em&gt;at least for me&lt;/em&gt; was setting up a damn bridged network interface, luckily I found &lt;!-- raw HTML omitted --&gt;this&lt;!-- raw HTML omitted --&gt; great writeup.&lt;br&gt;
I am going to report here what I did to setup a couple of bridged network interfaces on my setup.&lt;/p&gt;</description></item></channel></rss>