<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Libvirt on Life</title><link>/tags/libvirt/</link><description>Recent content in Libvirt on Life</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 13 Jan 2014 18:36:00 +0530</lastBuildDate><atom:link href="/tags/libvirt/index.xml" rel="self" type="application/rss+xml"/><item><title>Shrinking VMs on virt-manager / KVM</title><link>/post/2014/2014-01-13-shrink-vms-on-virt-manager-kvm/</link><pubDate>Mon, 13 Jan 2014 18:36:00 +0530</pubDate><guid>/post/2014/2014-01-13-shrink-vms-on-virt-manager-kvm/</guid><description>&lt;p&gt;I use &lt;code&gt;rsync&lt;/code&gt; to back up my workstation, including virtual machine disk images. Due to a known issue with sparse file handling during backups, &lt;code&gt;rsync&lt;/code&gt; would expand sparse files, inflating an 11 GB disk image to its full 64 GB provisioned size on the backup server.&lt;/p&gt;
&lt;p&gt;To solve this, I converted the disk images to compressed &lt;code&gt;qcow2&lt;/code&gt; format:&lt;/p&gt;
&lt;h3 id="1-convert-existing-raw-images-to-qcow2"&gt;1. Convert Existing Raw Images to qcow2&lt;/h3&gt;
&lt;p&gt;This also enables live snapshot support in &lt;code&gt;virt-manager&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>Windows 7 on KVM: High Host CPU Usage While Guest Is Idle</title><link>/post/2014/2014-01-12-windows-7-on-kvm-high-cpu-usage-on-host-while-guest-is-idle/</link><pubDate>Sun, 12 Jan 2014 21:00:00 +0530</pubDate><guid>/post/2014/2014-01-12-windows-7-on-kvm-high-cpu-usage-on-host-while-guest-is-idle/</guid><description>&lt;p&gt;If you notice unusually high CPU usage on your KVM host while a Windows 7 virtual machine sits completely idle, remove the virtual USB tablet input device from the VM configuration. Once removed, host CPU utilization drops immediately.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Windows 7 CPU Usage Screenshot" loading="lazy" src="../../post/2014/images/win7-kvm-cpu-usage.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Reference:&lt;/strong&gt; &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672720"&gt;Debian Bug 672720&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>