From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1NLl-0005Uf-NU for qemu-devel@nongnu.org; Thu, 09 Jan 2014 16:41:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1NLd-0008UQ-8X for qemu-devel@nongnu.org; Thu, 09 Jan 2014 16:41:13 -0500 Received: from mail-ea0-x22b.google.com ([2a00:1450:4013:c01::22b]:49843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1NLc-0008UM-VD for qemu-devel@nongnu.org; Thu, 09 Jan 2014 16:41:05 -0500 Received: by mail-ea0-f171.google.com with SMTP id h10so1742365eak.30 for ; Thu, 09 Jan 2014 13:41:03 -0800 (PST) Message-ID: <52CF176C.6050105@gmail.com> Date: Thu, 09 Jan 2014 22:41:00 +0100 From: Piotr Karbowski MIME-Version: 1.0 References: <52B744BC.60605@gmail.com> <20140108042935.GE30570@stefanha-thinkpad.redhat.com> <52CECC62.5060504@gmail.com> <52CED7D9.5010507@linux.vnet.ibm.com> <52CF15AD.3020800@gmail.com> In-Reply-To: <52CF15AD.3020800@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Missing vhost=on support on -netdev bridge. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Piotr Karbowski , Corey Bryant , Stefan Hajnoczi Cc: qemu-devel@nongnu.org On 01/09/2014 10:33 PM, Piotr Karbowski wrote: > On 01/09/2014 06:09 PM, Corey Bryant wrote: >> You should be able to pass a command line like this: >> >> -net tap,helper="/usr/local/libexec/qemu-bridge-helper --br=br0" >> > > Qemu treat it as one, single command as a whole. :< > > sh: /usr/libexec/qemu-bridge-helper --br=lebridge0: not found > failed to launch bridge helper > qemu-system-x86_64: -netdev > tap,id=if0,helper="/usr/libexec/qemu-bridge-helper --br=lebridge0": > Device 'tap' could not be initialized Nah, it does work. I just failed a bit while doing exec() in perl so I passed double quotes to qemu instead of just telling /bin/sh to treat it as single argument. Thank you guys. -- Piotr.