From Fedora Project Wiki

< FWN‎ | Beats

()
Line 33: Line 33:
 
pointed<ref>http://www.redhat.com/archives/fedora-virt/2009-September/msg00014.html</ref>
 
pointed<ref>http://www.redhat.com/archives/fedora-virt/2009-September/msg00014.html</ref>
 
out that the recommended<ref>http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging</ref>
 
out that the recommended<ref>http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging</ref>
configuration for configuring iptables on the host to allow traffic to pass to
+
means of configuring iptables on the host to allow traffic to pass to
a bridged guest to disable netfilter on the bridge altogether.
+
a bridged guest is to disable netfilter on the bridge altogether.
  
 
<pre>
 
<pre>

Revision as of 04:07, 7 September 2009


Virtualization

In this section, we cover discussion of Fedora virtualization technologies on the @fedora-virt, @fedora-xen-list, @libguestfs, @libvirt-list, and @virt-tools-list lists.

Contributing Writer: Dale Bewley

Fedora Virtualization List

This section contains the discussion happening on the fedora-virt list.

KSM Tuning Service

A new feature for Fedora 12, Kernel Samepage Merging[1], enables KVM guest virtual machines to share identical memory pages. This is especially useful when running multiple guests from the same or similar base operating system image. Because memory is shared, the combined memory usage of the guests is reduced. KSM works by scanning memory, looking for identical pages.

Dan Kenigsberg posted[2] a KSM control daemon in a "simple script that controls whether (and with what vigor) should ksm search duplicated memory pages."

"An unattended host running a variable number of qemu-kvm's needs to tune ksm automatically, since when memory is tight, it's better to spend more cpu on merging pages. In more relaxed cases, it's just a waste of time."

Host Iptables Settings for Bridged Guests

Mark McLoughlin pointed[1] out that the recommended[2] means of configuring iptables on the host to allow traffic to pass to a bridged guest is to disable netfilter on the bridge altogether.

 # cat >> /etc/sysctl.conf <<EOF
 net.bridge.bridge-nf-call-ip6tables = 0
 net.bridge.bridge-nf-call-iptables = 0
 net.bridge.bridge-nf-call-arptables = 0
 EOF
 # sysctl -p /etc/sysctl.conf

This "will be the default with Fedora 12."

Fedora Xen List

This section contains the discussion happening on the fedora-xen list.

Xen Domain0 Kernels

Until support for pv_ops[1] is added to the upstream kernel (F13?), it takes some twiddling to host Xen guests on Fedora. More adventurous users are reporting some success with experimental kernels and running a Xen dom0.[2] [3] [4]

Current dom0 kernel options include building[5] one from Jeremy Fitzhardinge's git repository or installing[6] Brian Young's RPM.

Virtualization Tools List

This section contains the discussion happening on the virt-tools-list list.


Libguestfs List

This section contains the discussion happening on the libguestfs list.


Libvirt List

This section contains the discussion happening on the libvir-list.