[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Fwd: qemu tx stop in cloonix]
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [Fwd: qemu tx stop in cloonix] |
Date: |
Tue, 26 Feb 2013 10:21:04 +0100 |
On Mon, Feb 25, 2013 at 11:38 PM, <address@hidden> wrote:
> I coded a socket-based cable between 2 vanilla kvm, here are the commands
> to do:
Please try:
kvm \
-nodefaults \
-nographic \
-serial stdio \
-drive file=guest1,media=disk,if=virtio \
-netdev socket,id=socket0,connect=127.0.0.1:47654 \
-device virtio-net-pci,tx=bh,netdev=socket0,mac=02:01:01:01:01:01
kvm \
-nodefaults \
-nographic \
-serial stdio \
-drive file=guest2,media=disk,if=virtio \
-netdev socket,id=socket0,connect=127.0.0.1:47655 \
-device virtio-net-pci,tx=bh,netdev=socket0,mac=02:02:02:02:02:02
Notice that -netdev socket is used instead of -net socket,vlan=1.
Luigi Rizzo recently fixed a bug where traffic could stall when using
the QEMU "vlan" feature:
http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg00679.html
If you want to try this fix, use the
git://github.com/stefanha/qemu.git net branch.
Stefan