[CentOS] qemu

Ross Walker rswwalker at gmail.com
Wed Sep 29 18:15:38 EDT 2010

On Sep 29, 2010, at 7:23 AM, "mattias" <mj at mjw.se> wrote:

> I have it work now a ip from my isps  dhcp server
> But verry slow
> Xen are much faster
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Eduardo Grosclaude
> Sent: Wednesday, September 29, 2010 1:20 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] qemu
> On Wed, Sep 29, 2010 at 5:39 AM, mattias <mj at mjw.se> wrote:
>> No i can start qemu but no network
>> I have a bridge br0 with ta0 on it
>> My start line
>> qemu debian.5-0.x86.20100901.qcow --curses -net nic -net 
>> tap,ifname=tap0,script=no
> I have something running along these lines, maybe it can help - There
> are several things to check up when it comes to qemu networking
> /usr/sbin/brctl addbr br0
> /sbin/ifconfig eth0
> /usr/sbin/brctl addif br0 eth0
> /sbin/ifconfig br0 netmask up /sbin/route add
> -net netmask br0 /sbin/route add default gw
> br0 /usr/sbin/tunctl -b -u $USER /sbin/ifconfig tap0 up
> /usr/sbin/brctl addif br0 tap0 /sbin/iptables -I RH-Firewall-1-INPUT -i
> br0 -j ACCEPT /usr/bin/qemu -hda $DISK -no-acpi -m 2000 \
>        -nographic -daemonize \
>        -net nic,macaddr=52:54:00:11:22:33 \
>                -net tap,ifname=tap0,script=no &

Look for the kqemu kernel module.

Even with that kvm and xen are much faster.

I'd only use qemu if I needed to emulate a different architecture like PPC and even then only to test endianness.


More information about the CentOS mailing list