]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Use kernel dhcp for network autoconfiguration
authorSasha Levin <levinsasha928@gmail.com>
Wed, 14 Sep 2011 07:11:09 +0000 (10:11 +0300)
committerPekka Enberg <penberg@kernel.org>
Wed, 14 Sep 2011 15:56:47 +0000 (18:56 +0300)
commit7eeef124e30ca2123f2c5623005e9ef28e6a4df8
treec815bda2cfb564eb18559adf7023dc80c87aad41
parent1100f1e56a0f7b2dbc4ca5f2f232c6f589ef0b8a
kvm tools: Use kernel dhcp for network autoconfiguration

This patch removes the manual/usermode dhcp client configuration and instead
uses the DHCP client built within the kernel.

Since this client is tightly integrated with NFS (if NFS config is set), we
will add a specific NFS root addr in our DHCP offer to point it to a non
existent address so that we won't hang trying to poke it for our root.

Acked-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-run.c
tools/kvm/guest/init.c
tools/kvm/guest/setnet.sh [deleted file]
tools/kvm/include/kvm/uip.h
tools/kvm/net/uip/dhcp.c