<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: KVM network scripts</title>
	<atom:link href="http://blog.bodhizazen.net/linux/kvm_network_scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/</link>
	<description>A LAMP in the Samsara</description>
	<lastBuildDate>Thu, 11 Mar 2010 21:41:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: pgreenwood</title>
		<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/comment-page-1/#comment-1470</link>
		<dc:creator>pgreenwood</dc:creator>
		<pubDate>Thu, 04 Feb 2010 00:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=466#comment-1470</guid>
		<description>This seems to be the best resource around for what I&#039;m looking for -- to easily and repeatedly launch a VM in Debian squeeze/sid 2.6.30-2-amd64 with networking and sound. virt-manager consistently provides networking without sound; the command line consistently provides sound without networking. Running this command ~# kvm -m 2048 -no-frame -net tap,script=/etc/kvm/kvm-ifup -soundhw all -hda /home/pat/vista.qcow -- the error I get is: 
device eth2 is already a member of a bridge; can&#039;t enslave it to bridge br0. 
/etc/kvm/kvm-ifdown: could not launch network script.

I&#039;ll be testing-out these scripts and report back.</description>
		<content:encoded><![CDATA[<p>This seems to be the best resource around for what I&#8217;m looking for &#8212; to easily and repeatedly launch a VM in Debian squeeze/sid 2.6.30-2-amd64 with networking and sound. virt-manager consistently provides networking without sound; the command line consistently provides sound without networking. Running this command ~# kvm -m 2048 -no-frame -net tap,script=/etc/kvm/kvm-ifup -soundhw all -hda /home/pat/vista.qcow &#8212; the error I get is:<br />
device eth2 is already a member of a bridge; can&#8217;t enslave it to bridge br0.<br />
/etc/kvm/kvm-ifdown: could not launch network script.</p>
<p>I&#8217;ll be testing-out these scripts and report back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ----kvm----</title>
		<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/comment-page-1/#comment-980</link>
		<dc:creator>----kvm----</dc:creator>
		<pubDate>Sat, 22 Aug 2009 16:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=466#comment-980</guid>
		<description>Great!!!</description>
		<content:encoded><![CDATA[<p>Great!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/comment-page-1/#comment-950</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Mon, 13 Jul 2009 06:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=466#comment-950</guid>
		<description>@Master One - Well, I mis-spoke, not VDE, but VDE functionality.

You are correct in that the term &quot;KVM&quot; is confusing as there are several front ends for KVM from libvirt to virsh to virt-manager to web based interfaces.

Personally I prefer to run KVM directly, from the command line, with a few scripts.

virt-manager is highly variable, IMO, in terms of functionality across distros and versions (virt-manager is not the same on Ubuntu vs Fedora for example).</description>
		<content:encoded><![CDATA[<p>@Master One &#8211; Well, I mis-spoke, not VDE, but VDE functionality.</p>
<p>You are correct in that the term &#8220;KVM&#8221; is confusing as there are several front ends for KVM from libvirt to virsh to virt-manager to web based interfaces.</p>
<p>Personally I prefer to run KVM directly, from the command line, with a few scripts.</p>
<p>virt-manager is highly variable, IMO, in terms of functionality across distros and versions (virt-manager is not the same on Ubuntu vs Fedora for example).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Master One</title>
		<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/comment-page-1/#comment-930</link>
		<dc:creator>Master One</dc:creator>
		<pubDate>Wed, 08 Jul 2009 21:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=466#comment-930</guid>
		<description>bodhi.zazen, the info, that &quot;VDE is built into virt-manager&quot; can&#039;t be right, because virt-manager depends on libvirt, and VDE is still not supported by libvirt.

VDE (to be precisely VDE2) is the superior way to get it all connected, and it is indeed already supported by QEMU/KVM, but unfortunately not by any of the management tools, that rely on libvirt.

There is very little up-to-date info available, and I am just trying to clue all pieces together, seems I have to go for kvm without libvirt, because I really don&#039;t want to miss VDE (and during my tests I didn&#039;t like it, when libvirt messed around with my iptables setup).

If anybody has some more info on that topic, or links to up-to-date tutorials, please tell.</description>
		<content:encoded><![CDATA[<p>bodhi.zazen, the info, that &#8220;VDE is built into virt-manager&#8221; can&#8217;t be right, because virt-manager depends on libvirt, and VDE is still not supported by libvirt.</p>
<p>VDE (to be precisely VDE2) is the superior way to get it all connected, and it is indeed already supported by QEMU/KVM, but unfortunately not by any of the management tools, that rely on libvirt.</p>
<p>There is very little up-to-date info available, and I am just trying to clue all pieces together, seems I have to go for kvm without libvirt, because I really don&#8217;t want to miss VDE (and during my tests I didn&#8217;t like it, when libvirt messed around with my iptables setup).</p>
<p>If anybody has some more info on that topic, or links to up-to-date tutorials, please tell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/comment-page-1/#comment-922</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 03 Jul 2009 13:36:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=466#comment-922</guid>
		<description>Thanks for sharing this info.
Unfortunately the error message keeps coming. The rest seems to work very well. That&#039;s the most important for me. Thanks for this blog.
Redirecting the error message to /dev/null and all problems seems to be solved :-)</description>
		<content:encoded><![CDATA[<p>Thanks for sharing this info.<br />
Unfortunately the error message keeps coming. The rest seems to work very well. That&#8217;s the most important for me. Thanks for this blog.<br />
Redirecting the error message to /dev/null and all problems seems to be solved <img src='http://blog.bodhizazen.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/comment-page-1/#comment-915</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Thu, 02 Jul 2009 21:50:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=466#comment-915</guid>
		<description>1. Try removing the &quot;-g kvm&quot;

from the /etc/qemu-ifup script, line 

&quot;/usr/bin/sudo /usr/sbin/tunctl -u user -g kvm -t $1&quot;

/usr/bin/sudo /usr/sbin/tunctl -u user -t $1

2. Make sure on the same line, &quot;-u user&quot; is your user name (and not &quot;user&quot;).</description>
		<content:encoded><![CDATA[<p>1. Try removing the &#8220;-g kvm&#8221;</p>
<p>from the /etc/qemu-ifup script, line </p>
<p>&#8220;/usr/bin/sudo /usr/sbin/tunctl -u user -g kvm -t $1&#8243;</p>
<p>/usr/bin/sudo /usr/sbin/tunctl -u user -t $1</p>
<p>2. Make sure on the same line, &#8220;-u user&#8221; is your user name (and not &#8220;user&#8221;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/comment-page-1/#comment-913</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 02 Jul 2009 21:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=466#comment-913</guid>
		<description>all seems to work now (also as normal user) except for the TUNSETIFF: Device or resource busy message.

Michael</description>
		<content:encoded><![CDATA[<p>all seems to work now (also as normal user) except for the TUNSETIFF: Device or resource busy message.</p>
<p>Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/comment-page-1/#comment-912</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 02 Jul 2009 19:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=466#comment-912</guid>
		<description>Extra Inf:
As root I got the same error, but the VM seems to run without problems, network is bridged.
What me surprise is that the bridge module NOT is loaded when you execute the
lsmod&#124;grep bridge command.
Output gives:
bridge                 41488  0 
stp                     1944  1 bridge
llc                     4780  2 bridge,stp
Only the stp and llc seems to be loaded.

This is also this when using bridge networking with virt-manager
Also with virt-manager I have a perfect working bridge network (without the bridge module loaded).</description>
		<content:encoded><![CDATA[<p>Extra Inf:<br />
As root I got the same error, but the VM seems to run without problems, network is bridged.<br />
What me surprise is that the bridge module NOT is loaded when you execute the<br />
lsmod|grep bridge command.<br />
Output gives:<br />
bridge                 41488  0<br />
stp                     1944  1 bridge<br />
llc                     4780  2 bridge,stp<br />
Only the stp and llc seems to be loaded.</p>
<p>This is also this when using bridge networking with virt-manager<br />
Also with virt-manager I have a perfect working bridge network (without the bridge module loaded).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/comment-page-1/#comment-911</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 02 Jul 2009 17:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=466#comment-911</guid>
		<description>Unfortunately under Fedora 11 I keep getting the error:
TUNSETIFF: Device or resource busy

$kvm-bridge -m 512 -drive file=/var/lib/libvirt/images/Ubuntu.img
Bringing up interface tap5 with mac address DE:AD:BE:EF:10:14
+ &#039;[&#039; -n tap5 &#039;]&#039;
+ /usr/bin/sudo /usr/sbin/tunctl -u michael -g kvm -t tap5
TUNSETIFF: Device or resource busy
+ /usr/bin/sudo /sbin/ip link set tap5 up
+ sleep 0.5s
+ /usr/bin/sudo /usr/sbin/brctl addif br0 tap5
+ exit 0
qemu: could not open disk image /var/lib/libvirt/images/Ubuntu.img

Any ideas?
(
my username is michael

groups output give:
michael ecryptfs vboxusers kvm

stat /dev/kvm
  File: ‘/dev/kvm’
  Size: 0         	Blocks: 0          IO Block: 4096   byte-apparaat
Device: fh/15d	Inode: 7974        Links: 1     Device type: a,e8
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (  503/     kvm)
Access: 2009-07-02 19:15:44.443862986 +0200
Modify: 2009-07-02 19:15:44.443862986 +0200
Change: 2009-07-02 19:26:22.007465932 +0200

)</description>
		<content:encoded><![CDATA[<p>Unfortunately under Fedora 11 I keep getting the error:<br />
TUNSETIFF: Device or resource busy</p>
<p>$kvm-bridge -m 512 -drive file=/var/lib/libvirt/images/Ubuntu.img<br />
Bringing up interface tap5 with mac address DE:AD:BE:EF:10:14<br />
+ &#8216;[' -n tap5 ']&#8216;<br />
+ /usr/bin/sudo /usr/sbin/tunctl -u michael -g kvm -t tap5<br />
TUNSETIFF: Device or resource busy<br />
+ /usr/bin/sudo /sbin/ip link set tap5 up<br />
+ sleep 0.5s<br />
+ /usr/bin/sudo /usr/sbin/brctl addif br0 tap5<br />
+ exit 0<br />
qemu: could not open disk image /var/lib/libvirt/images/Ubuntu.img</p>
<p>Any ideas?<br />
(<br />
my username is michael</p>
<p>groups output give:<br />
michael ecryptfs vboxusers kvm</p>
<p>stat /dev/kvm<br />
  File: ‘/dev/kvm’<br />
  Size: 0         	Blocks: 0          IO Block: 4096   byte-apparaat<br />
Device: fh/15d	Inode: 7974        Links: 1     Device type: a,e8<br />
Access: (0660/crw-rw&#8212;-)  Uid: (    0/    root)   Gid: (  503/     kvm)<br />
Access: 2009-07-02 19:15:44.443862986 +0200<br />
Modify: 2009-07-02 19:15:44.443862986 +0200<br />
Change: 2009-07-02 19:26:22.007465932 +0200</p>
<p>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shadows of epiphany » Blog Archive » KVM network scripts &#124; networking-the.info</title>
		<link>http://blog.bodhizazen.net/linux/kvm_network_scripts/comment-page-1/#comment-887</link>
		<dc:creator>Shadows of epiphany » Blog Archive » KVM network scripts &#124; networking-the.info</dc:creator>
		<pubDate>Tue, 23 Jun 2009 22:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=466#comment-887</guid>
		<description>[...] Originally posted here: Shadows of epiphany » Blog Archive » KVM network scripts [...]</description>
		<content:encoded><![CDATA[<p>[...] Originally posted here: Shadows of epiphany » Blog Archive » KVM network scripts [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.084 seconds -->
