]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Use host's resolv.conf within the guest
authorSasha Levin <levinsasha928@gmail.com>
Wed, 14 Sep 2011 16:28:26 +0000 (19:28 +0300)
committerSasha Levin <levinsasha928@gmail.com>
Fri, 16 Sep 2011 08:53:06 +0000 (11:53 +0300)
commit8ffadadca39b0adf8d11311d9de922d78016361f
treed91af25ce02ce7e0886b3b7826d569c2a7805a7e
parent98ee903fd414366fbc1f72ed787b189a51f15c38
kvm tools: Use host's resolv.conf within the guest

Since kernel IP autoconfiguration doesn't set up /etc/resolv.conf, we'll
use the one located within the host, since this was anyway what we simulated
within the DHCP offer packets.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
tools/kvm/builtin-run.c
tools/kvm/builtin-setup.c
tools/kvm/include/kvm/builtin-setup.h