All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Missing vhost=on support on -netdev bridge.
@ 2013-12-22 19:59 Piotr Karbowski
  2014-01-08  4:29 ` Stefan Hajnoczi
  0 siblings, 1 reply; 6+ messages in thread
From: Piotr Karbowski @ 2013-12-22 19:59 UTC (permalink / raw)
  To: qemu-devel

Hi,

Looks like netdev bridge have no support for vhost=on switch. Would be 
ince if that could be added.

-- Piotr.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] Missing vhost=on support on -netdev bridge.
  2013-12-22 19:59 [Qemu-devel] Missing vhost=on support on -netdev bridge Piotr Karbowski
@ 2014-01-08  4:29 ` Stefan Hajnoczi
  2014-01-09 16:20   ` Piotr Karbowski
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Hajnoczi @ 2014-01-08  4:29 UTC (permalink / raw)
  To: Piotr Karbowski; +Cc: qemu-devel

On Sun, Dec 22, 2013 at 08:59:56PM +0100, Piotr Karbowski wrote:
> Looks like netdev bridge have no support for vhost=on switch. Would
> be ince if that could be added.

Try -netdev tap,helper=/path/to/qemu-bridge-helper,vhost=on,...

Stefan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] Missing vhost=on support on -netdev bridge.
  2014-01-08  4:29 ` Stefan Hajnoczi
@ 2014-01-09 16:20   ` Piotr Karbowski
  2014-01-09 17:09     ` Corey Bryant
  0 siblings, 1 reply; 6+ messages in thread
From: Piotr Karbowski @ 2014-01-09 16:20 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel

Hi

On 01/08/2014 05:29 AM, Stefan Hajnoczi wrote:
> On Sun, Dec 22, 2013 at 08:59:56PM +0100, Piotr Karbowski wrote:
>> Looks like netdev bridge have no support for vhost=on switch. Would
>> be ince if that could be added.
>
> Try -netdev tap,helper=/path/to/qemu-bridge-helper,vhost=on,...

Sadly, -netdev tap does not support br= so I can't specify the bridge 
for helper.

And I can't pass the '--use-br=' argument for helper= tap's option so no 
workaround here.

-- Piotr.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] Missing vhost=on support on -netdev bridge.
  2014-01-09 16:20   ` Piotr Karbowski
@ 2014-01-09 17:09     ` Corey Bryant
  2014-01-09 21:33       ` Piotr Karbowski
  0 siblings, 1 reply; 6+ messages in thread
From: Corey Bryant @ 2014-01-09 17:09 UTC (permalink / raw)
  To: Piotr Karbowski, Stefan Hajnoczi; +Cc: qemu-devel



On 01/09/2014 11:20 AM, Piotr Karbowski wrote:
> Hi
>
> On 01/08/2014 05:29 AM, Stefan Hajnoczi wrote:
>> On Sun, Dec 22, 2013 at 08:59:56PM +0100, Piotr Karbowski wrote:
>>> Looks like netdev bridge have no support for vhost=on switch. Would
>>> be ince if that could be added.
>>
>> Try -netdev tap,helper=/path/to/qemu-bridge-helper,vhost=on,...
>
> Sadly, -netdev tap does not support br= so I can't specify the bridge
> for helper.
>
> And I can't pass the '--use-br=' argument for helper= tap's option so no
> workaround here.
>
> -- Piotr.
>
>
>

You should be able to pass a command line like this:

   -net tap,helper="/usr/local/libexec/qemu-bridge-helper --br=br0"

-- 
Regards,
Corey Bryant

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] Missing vhost=on support on -netdev bridge.
  2014-01-09 17:09     ` Corey Bryant
@ 2014-01-09 21:33       ` Piotr Karbowski
  2014-01-09 21:41         ` Piotr Karbowski
  0 siblings, 1 reply; 6+ messages in thread
From: Piotr Karbowski @ 2014-01-09 21:33 UTC (permalink / raw)
  To: Corey Bryant, Stefan Hajnoczi; +Cc: qemu-devel

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

-- Piotr.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] Missing vhost=on support on -netdev bridge.
  2014-01-09 21:33       ` Piotr Karbowski
@ 2014-01-09 21:41         ` Piotr Karbowski
  0 siblings, 0 replies; 6+ messages in thread
From: Piotr Karbowski @ 2014-01-09 21:41 UTC (permalink / raw)
  To: Piotr Karbowski, Corey Bryant, Stefan Hajnoczi; +Cc: qemu-devel

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-09 21:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-22 19:59 [Qemu-devel] Missing vhost=on support on -netdev bridge Piotr Karbowski
2014-01-08  4:29 ` Stefan Hajnoczi
2014-01-09 16:20   ` Piotr Karbowski
2014-01-09 17:09     ` Corey Bryant
2014-01-09 21:33       ` Piotr Karbowski
2014-01-09 21:41         ` Piotr Karbowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.