qemu-kvm assumes /etc/qemu/qemu-ifup is installed in /etc/qemu-ifup by default. The path needs to be fixed so qemu looks in /etc/qemu/qemu-ifup. This appears to be a regression from the old kvm-88 ebuild which found it by default in the right spot. Reproducible: Always Steps to Reproduce:
Command I'm using: qemu -vga std -m 512 -hda /dev/sda -usb -net nic -net tap,ifname=tap0 -daemonize
In addition, the log mentions /etc/kvm like the old kvm-88 build as opposed to /etc/qemu in the src_install. Perhaps it would have been better to test this before deleting kvm-88 and adding this new version?
So apparently you're either going to have to patch net.h:159:#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" or you're going to have to modify the ebuild so that it puts the up and down files in /etc/ instead of /etc/qemu
Same here, I created a symlink /etc/qemu-ifup -> /etc/qemu/qemu-ifup to circumvent the issue. But even then, qemu-ifup doesn't work on my system anylonger. Paths and awk statement seem to be incorrect. Changing it as follows fixes it for me. #!/bin/sh #n3. removed (wrong) paths from commands and fixed awk expression to extract default routing interface switch=$(/sbin/ip route list | awk '/^default / { print $5 }') ifconfig $1 0.0.0.0 up brctl addif ${switch} $1
not just qemu-kvm, the same for app-emulation/qemu-0.11.1
Since i was told that Ramereth maintains 0.11.x versions of qemu-kvm, reassigning those bugs to him.
qemu-kvm-11.0 was dropped from the tree so I'm closing this bug.