I put the next three line into /etc/qemu-ifup. #!/bin/sh echo $* >> /tmp/qemu-ifup.$$ sudo /sbin/ifconfig ${1##/*/} 0.0.0.0 promisc up sudo /usr/sbin/brctl addif bridge ${1##/*/}
I think when the qemu run, it will make a file in /tmp, but actually, when I use root the run qemu, it work ok, when I user a user, the script isn't run. Why? Is the same with the option "-n script", when I use root to run qemu, the script I assign will run, but in a normal user, it won't work. Thank you! Best Regard Zheng SW _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel