[Qemu-devel] [Bug 770173] Re: /etc/qemu-ifup is not executed

2011-04-25 Thread Carlos Eduardo Moreira dos Santos
/etc/qemu-ifup is read if qemu is launched with sudo (in spite of errors like "TUNSETIFF: Device or resource busy", it works). Shouldn't qemu execute it when run by a normal user with enough privileges? -- You received this bug notification because you are a member of qemu- devel-ml, which is sub

[Qemu-devel] [Bug 770173] Re: /etc/qemu-ifup is not executed

2011-04-25 Thread Carlos Eduardo Moreira dos Santos
That's not what is written in documentation. http://www.linux- kvm.org/page/Networking) makes clear that /etc/qemu-ifup is executed by qemu to create a tap interface. My script /etc/qemu-ifup-sudo is based on the doc's one and my user has the ability to create tap devices using sudo. In fact, a dev

[Qemu-devel] [Bug 770173] [NEW] /etc/qemu-ifup is not executed

2011-04-25 Thread Carlos Eduardo Moreira dos Santos
Public bug reported: The following does not work: $ qemu -m 512 -drive file=arch_min.qcow2,if=virtio,boot=on -nographic -net nic,model=virtio -net tap,script=/etc/qemu-ifup warning: could not configure /dev/net/tun: no virtual network emulation However, this works: $ /etc/qemu-ifup tap0 $ kvm -m