]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Get domain name and nameserver from host
authorAsias He <asias.hejun@gmail.com>
Sun, 17 Jul 2011 08:56:53 +0000 (16:56 +0800)
committerPekka Enberg <penberg@kernel.org>
Mon, 18 Jul 2011 10:16:40 +0000 (13:16 +0300)
commitb808fed8a668878d4849cf0227e63dc4331e8655
tree5c514153bdc7abf94be286eb4ee4acc8f4aac674
parent898c648b71e713f64b5912c070fb362932c1b561
kvm tools: Get domain name and nameserver from host

This patch get domain name and nameserver information from host config
file /etc/resolv.conf.

Guest can obtain DNS information through DHCP.

Signed-off-by: Asias He <asias.hejun@gmail.com>
[ penberg@kernel.org: check fscanf() for errors ]
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/uip.h
tools/kvm/net/uip/dhcp.c