[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] "host_net_add user" not working as expected

From: Peter Münster
Subject: [Qemu-discuss] "host_net_add user" not working as expected
Date: Fri, 12 Jul 2013 11:42:48 +0200
User-agent: Gnus/612.570008 (真 Gnus v0.8) Emacs/24.3 (gnu/linux)


I would like to start qemu without the "user" network, and later add it
when needed using the "host_net_add user" command. But it does not work:
"info network" shows the right thing:

hub 1
 \ user.0: index=0,type=user,net=,restrict=off
 \ virtio-net-pci.1: 
hub 0
 \ tap.0: index=0,type=tap,ifname=tap0,script=,downscript=
 \ virtio-net-pci.0: 

but the guest cannot use the network. (the hub 0 is for my host

But when starting qemu with "-net user,vlan=1" and just after the start
I remove it with "host_net_remove 1 user.0" then it works as expected.

Is this a bug or intention?  Or should this be done in another way?

TIA for any help!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]