On Wed, 2011-08-24 at 20:30 +0300, Avi Kivity wrote: > On 08/24/2011 07:19 PM, Sasha Levin wrote: > > This patch adds the following improvements: > > > > * Automatically start dhcpcd. Since we provide usermode netowrking > > we should make it fully transparent to the user. > > On my hosts, I have dhclient instead of dhcpd. > I was wondering if we should bring our own tiny dhcp client instead of assuming the host has one. Would it be better than assuming the host has it and then trying to figure out which one? > > > > + puts("Running dhcpcd..."); > > + > > + system("dhcpcd -z eth* -A"); > > + > > puts("Starting '/bin/sh'..."); > > > > Better not depend on interface names, instead get the interface names > from the kernel. > Will do. -- Sasha. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html