Missing vhost=on support on -netdev bridge.
Hi,
Looks like netdev bridge have no support for vhost=on switch. Would be ince if that could be added.
-- Piotr.
Quoted 2 lines · Piotr Karbowski
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
Hi
Quoted 5 lines · Stefan Hajnoczi
Quoted 2 lines · Piotr Karbowski
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.
Quoted 9 lines · Piotr Karbowski
Hi
Quoted 5 lines · Stefan Hajnoczi
Quoted 2 lines · Piotr Karbowski
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,...
Quoted 10 lines
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"
Signature · 2 lines
Regards, Corey Bryant
Quoted 4 lines · Corey Bryant
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.
Quoted 6 lines · Piotr Karbowski
Quoted 4 lines · Corey Bryant
You should be able to pass a command line like this:
-net tap,helper="/usr/local/libexec/qemu-bridge-helper --br=br0"
Quoted 7 lines
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.