From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Enberg Subject: Re: [PATCH 2/2] kvm tools: Use host's resolv.conf within the guest Date: Thu, 15 Sep 2011 08:44:20 +0300 Message-ID: <4E7190B4.1060306@cs.helsinki.fi> References: <1316017706-12348-1-git-send-email-levinsasha928@gmail.com> <1316017706-12348-2-git-send-email-levinsasha928@gmail.com> <1316065006.3743.0.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com To: Sasha Levin Return-path: Received: from courier.cs.helsinki.fi ([128.214.9.1]:35544 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754509Ab1IOFoW (ORCPT ); Thu, 15 Sep 2011 01:44:22 -0400 In-Reply-To: <1316065006.3743.0.camel@lappy> Sender: kvm-owner@vger.kernel.org List-ID: On 9/15/11 8:36 AM, Sasha Levin wrote: > On Thu, 2011-09-15 at 08:29 +0300, Pekka Enberg wrote: >> On Wed, Sep 14, 2011 at 7:28 PM, Sasha Levin wrote: >>> 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 >> >> Wouldn't a symlink to /host/etc/resolv.conf be more appropriate? >> Remember, we're supposed to only need to setup the shared rootfs once. > > It would mean the guest can screw up with the host's networking. How? You're not supposed to run the tool. Pekka