On 2013-02-26 10:21, Stefan Hajnoczi wrote:
> On Mon, Feb 25, 2013 at 11:38 PM,  <clow...@clownix.net> 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.

That's pointless. -netdev socket is still broken, only -net works.

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

Reply via email to