<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linux-kvm.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Steil</id>
	<title>KVM - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://linux-kvm.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Steil"/>
	<link rel="alternate" type="text/html" href="https://linux-kvm.org/page/Special:Contributions/Steil"/>
	<updated>2026-04-22T01:25:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://linux-kvm.org/index.php?title=Documents&amp;diff=4573</id>
		<title>Documents</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=Documents&amp;diff=4573"/>
		<updated>2012-08-01T06:45:03Z</updated>

		<summary type="html">&lt;p&gt;Steil: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Documents =&lt;br /&gt;
                                                                         &lt;br /&gt;
== User/Admin documentation ==&lt;br /&gt;
* [[HOWTO]]&lt;br /&gt;
* [http://wiki.qemu.org/Qemu-doc.html QEMU user manual]&lt;br /&gt;
* [[Tuning_KVM]]&lt;br /&gt;
* [[Tuning_Kernel]]&lt;br /&gt;
== Presentations ==&lt;br /&gt;
* Presentations on many aspects of KVM were made at [[KVM Forum 2007]] (Aug 2007).&lt;br /&gt;
* Presentations from the [[KVM Forum 2008]] (June 2008)&lt;br /&gt;
* Avi Kivity&#039;s presentation from the [http://ols.108.redhat.com/2007/Reprints/kivity-Reprint.pdf Ottawa Linux Symposium 2007] (Jun 2007).&lt;br /&gt;
* TPR patching [attachment:kvm-tpr-patching.odp overview] (Avi Kivity, Oct 2008)&lt;br /&gt;
* [http://markmc.fedorapeople.org/virtio-code-review/VirtioCodeReview.pdf Virtio code walkthrough], [http://markmc.fedorapeople.org/virtio-code-review/virtio-talk.txt notes], [http://blogs.gnome.org/markmc/2008/05/28/checksums-scatter-gather-io-and-segmentation-offload/ GSO background] (Mark McLoughlin, Oct 2008), and [http://portal.acm.org/citation.cfm?id=1400097.1400108 ACM pdf about virtio by Rusty Russell]&lt;br /&gt;
== White papers: ==&lt;br /&gt;
* Qumranet&#039;s [http://www.qumranet.com/files/white_papers/KVM_Whitepaper.pdf KVM Whitepaper]&lt;br /&gt;
== Books ==&lt;br /&gt;
* [http://www.dpunkt.de/buecher/3519.html Book &amp;quot;KVM Best Practices&amp;quot;, ISBN 978-3-89864-737-3]&lt;br /&gt;
* [http://qemu-buch.de/english/order.php Book &amp;quot;QEMU &amp;amp; KVM&amp;quot;, ISBN 978-3-8370-0876-0]&lt;br /&gt;
* [http://www.seshop.com/product/detail/12214/ Book &amp;quot;KVM tettei nyuumon&amp;quot;, ISBN 4798121401]&lt;br /&gt;
== Magazine Articles ==&lt;br /&gt;
* [http://www.linux-magazine.com/Issues/2008/86/DEEP-VIRTUE Linux Magazine]&lt;br /&gt;
* [http://www.linuxplanet.com/linuxplanet/reports/6490/4/ KVM for Embedded] at Linux Planet&lt;br /&gt;
* [http://www.linuxplanet.com/linuxplanet/reports/6503/1/ Linux as a hypervisor] at Linux Planet&lt;br /&gt;
== Benchmarks ==&lt;br /&gt;
* [http://www.phoronix.com/scan.php?page=article&amp;amp;item=ubuntu_virt_benchmarks&amp;amp;num=1 Phoronix - Ubuntu 8.04 KVM Benchmarks]&lt;br /&gt;
* [http://www.phoronix.com/scan.php?page=article&amp;amp;item=intel_corei7_virt&amp;amp;num=1 Phoronix - Intel Core i7 Virtualization Performance]&lt;br /&gt;
== Documentation ==&lt;br /&gt;
* [[small_look_inside|small look inside(kvm-54)]]&lt;br /&gt;
* [[buildup|qemu kvm buildup]]&lt;br /&gt;
* [[vl_runthrough|qemu-system-x86_64 startup (kvm-57)]]&lt;br /&gt;
* [[initialization|initialization (kvm-57)]]&lt;br /&gt;
* [[file_layout_in_kernel|file layout in kernel (~kvm-58)]]&lt;br /&gt;
* [http://qemu-buch.de/ Wikibook &amp;quot;QEMU &amp;amp; KVM&amp;quot;] &lt;br /&gt;
* [[Memory|How KVM deals with memory]] - a look inside how KVM interacts with the Linux VM.&lt;br /&gt;
* [[perf_events|Counting and tracing KVM events]]&lt;br /&gt;
* [http://blog.stgolabs.net/2012/03/kvm-virtual-x86-mmu-setup.html KVM x86 vMMU setup] - describes how KVM sets up a virtual memory management unit for x86.&lt;br /&gt;
* [http://blog.stgolabs.net/2012/03/kvm-hardware-assisted-paging.html KVM x86 hardware support paging] - a look inside how KVM deals with x86 2D hardware paging.&lt;br /&gt;
* [http://blog.stgolabs.net/2012/05/kvm-intel-associative-tlbs.html KVM Intel VPID implementation] - how KVM supports Intel&#039;s tagged TLBs&lt;br /&gt;
&lt;br /&gt;
== KVM Doxygen Documentation ==&lt;br /&gt;
* [http://doxygen.org/ kvm doxygen documentation tool]&lt;br /&gt;
== Tools ==&lt;br /&gt;
* [[tools|Tools]]&lt;br /&gt;
== Supported cpus ==&lt;br /&gt;
* [[processor_support|cpus]]&lt;/div&gt;</summary>
		<author><name>Steil</name></author>
	</entry>
	<entry>
		<id>https://linux-kvm.org/index.php?title=VirtFS&amp;diff=4572</id>
		<title>VirtFS</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=VirtFS&amp;diff=4572"/>
		<updated>2012-08-01T06:41:03Z</updated>

		<summary type="html">&lt;p&gt;Steil: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= VirtFS =&lt;br /&gt;
&lt;br /&gt;
VirtFS is a new paravirtualized filesystem interface designed for improving passthrough technologies in the KVM environment. It is based on the VirtIO framework and uses the 9P protocol.&lt;br /&gt;
&lt;br /&gt;
== Feature functional description ==&lt;br /&gt;
&lt;br /&gt;
== Detailed ==&lt;br /&gt;
&lt;br /&gt;
=== Why use it? ===&lt;br /&gt;
&lt;br /&gt;
* virtualization aware filesystem &lt;br /&gt;
* offers paravirtualized system services&lt;br /&gt;
* simple passthrough for directories from host to guest&lt;br /&gt;
&lt;br /&gt;
== Backward/forward compatibility issues ==&lt;br /&gt;
&lt;br /&gt;
Virtual Machine Manager integration since version 0.9.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Links &amp;amp; Sources ==&lt;br /&gt;
&lt;br /&gt;
[[9p_virtio]] (Example Sharing A Host Directory With The Guest)&lt;/div&gt;</summary>
		<author><name>Steil</name></author>
	</entry>
	<entry>
		<id>https://linux-kvm.org/index.php?title=VirtFS&amp;diff=4571</id>
		<title>VirtFS</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=VirtFS&amp;diff=4571"/>
		<updated>2012-08-01T06:33:08Z</updated>

		<summary type="html">&lt;p&gt;Steil: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= VirtFS =&lt;br /&gt;
&lt;br /&gt;
VirtFS is a new paravirtualized file system interface designed for improving passthrough technologies in the KVM environment. It is based on the VirtIO framework and uses the 9P protocol.&lt;br /&gt;
&lt;br /&gt;
== Feature functional description ==&lt;br /&gt;
&lt;br /&gt;
== Detailed ==&lt;br /&gt;
=== Why use it? ===&lt;br /&gt;
&lt;br /&gt;
== Backward/forward compatibility issues ==&lt;br /&gt;
&lt;br /&gt;
Virt Manager integration sinc version 0.9.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Links &amp;amp; Sources ==&lt;br /&gt;
&lt;br /&gt;
[[9p_virtio]]&lt;/div&gt;</summary>
		<author><name>Steil</name></author>
	</entry>
	<entry>
		<id>https://linux-kvm.org/index.php?title=9p_virtio&amp;diff=4570</id>
		<title>9p virtio</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=9p_virtio&amp;diff=4570"/>
		<updated>2012-08-01T06:27:18Z</updated>

		<summary type="html">&lt;p&gt;Steil: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Example Sharing Host files with the Guest ==&lt;br /&gt;
&lt;br /&gt;
This example is based on qemu-kvm (0.15.0) as installed in Fedora 15.&lt;br /&gt;
Will first show how to do this manually, and second how to do it using the virt-manager tool.  This HOWTO is documenting 9p virtio as the transport for sharing files.&lt;br /&gt;
&lt;br /&gt;
In both cases we&#039;ll share files in /tmp/share on the host.  In the guest, they&#039;ll show up in /tmp/host_files.&lt;br /&gt;
&lt;br /&gt;
== Manually, using qemu-kvm command line ==&lt;br /&gt;
&lt;br /&gt;
There are a nice set of details on the [http://wiki.qemu.org/Documentation/9psetup QEMU wiki] describing this, so this section will be quite short.  To share host files w/ the guest, we use 9p over virtio in conjunction w/ a filesystem device exporting the portion of the host filesystem that we&#039;d like to share with the guest.&lt;br /&gt;
&lt;br /&gt;
 # /usr/bin/qemu-kvm -m 1024 -name f15 -drive file=/images/f15.img,if=virtio&lt;br /&gt;
 -fsdev local,security_model=passthrough,id=fsdev0,path=/tmp/share -device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare&lt;br /&gt;
&lt;br /&gt;
This tells qemu to create a 9pvirtio device exposing the mount_tag &amp;lt;code&amp;gt;hostshare&amp;lt;/code&amp;gt; (just a name to identify the mount point).  That device is coupled to an fsdev named &amp;lt;code&amp;gt;fsdev0&amp;lt;/code&amp;gt;, which specifies which portion of the host filesystem we are sharing, and in which mode (see [http://wiki.qemu.org/Documentation/9psetup QEMU wiki] for details on the security models).&lt;br /&gt;
&lt;br /&gt;
Now, in the guest we need to mount the 9p filesystem from the host using the virtio transport.  The mount_tag is used to identify the host&#039;s share.&lt;br /&gt;
&lt;br /&gt;
 # mkdir /tmp/host_files&lt;br /&gt;
 # mount -t 9p -o trans=virtio,version=9p2000.L hostshare /tmp/host_files&lt;br /&gt;
&lt;br /&gt;
That&#039;s it...now we can read/write files in that directory from either the host or the guest.&lt;br /&gt;
&lt;br /&gt;
== Managed, using virt-manager ==&lt;br /&gt;
&lt;br /&gt;
This assumes you&#039;ve already installed a guest with virt-manager or virt-install and it&#039;s shut off.&lt;br /&gt;
&lt;br /&gt;
Start virt-manager, and open your VM by double clicking on it.  Click the virtual hardware details (lightbulb).  Click Add Hardware, and choose a Filesystem.  Chose the mode, we chose squash which translates to none (see [http://wiki.qemu.org/Documentation/9psetup QEMU wiki] for details on the security models), the source (we are sharing /tmp/share), and the target (we called this /hostshare).&lt;br /&gt;
&lt;br /&gt;
[[Image:Screenshot-add-filesystem-share.png]]&lt;br /&gt;
&lt;br /&gt;
Now, start the VM.  In the guest we need to mount the  9p filesystem from the host using the virtio transport.  The mount_tag is used to identify the host&#039;s share.&lt;br /&gt;
&lt;br /&gt;
 # mkdir /tmp/host_files&lt;br /&gt;
 # mount -t 9p -o trans=virtio,version=9p2000.L /hostshare /tmp/host_files&lt;br /&gt;
&lt;br /&gt;
That&#039;s it...now we can read/write files in that directory from either the host or the guest.  (Note: likely to hit some issues w/ privileges since Fedora libvirt runs guests unprivileged and with SELinux confinement...careful use of chown, chmod and chcon should get it working).&lt;/div&gt;</summary>
		<author><name>Steil</name></author>
	</entry>
	<entry>
		<id>https://linux-kvm.org/index.php?title=VirtFS&amp;diff=4569</id>
		<title>VirtFS</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=VirtFS&amp;diff=4569"/>
		<updated>2012-08-01T06:06:49Z</updated>

		<summary type="html">&lt;p&gt;Steil: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= VirtFS =&lt;br /&gt;
&lt;br /&gt;
VirtFS is a new paravirtualized file system interface designed for improving passthrough technologies in the KVM environment. It&#039;s based on the VirtIO framework and uses the 9P protocol.&lt;/div&gt;</summary>
		<author><name>Steil</name></author>
	</entry>
	<entry>
		<id>https://linux-kvm.org/index.php?title=VirtFS&amp;diff=4568</id>
		<title>VirtFS</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=VirtFS&amp;diff=4568"/>
		<updated>2012-08-01T06:06:19Z</updated>

		<summary type="html">&lt;p&gt;Steil: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= VirtFS&lt;br /&gt;
&lt;br /&gt;
VirtFS is a new paravirtualized file system interface designed for improving passthrough technologies in the KVM environment. It&#039;s based on the VirtIO framework and uses the 9P protocol.&lt;/div&gt;</summary>
		<author><name>Steil</name></author>
	</entry>
</feed>