public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <levinsasha928@gmail.com>
To: Avi Kivity <avi@redhat.com>
Cc: penberg@kernel.org, kvm@vger.kernel.org, mingo@elte.hu,
	asias.hejun@gmail.com, gorcunov@gmail.com
Subject: Re: [PATCH] kvm tools: Improve init within a custom filesystem
Date: Wed, 24 Aug 2011 20:41:15 +0300	[thread overview]
Message-ID: <1314207675.3459.9.camel@lappy> (raw)
In-Reply-To: <4E55351D.9020805@redhat.com>

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.


  reply	other threads:[~2011-08-24 17:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24 16:19 [PATCH] kvm tools: Improve init within a custom filesystem Sasha Levin
2011-08-24 17:30 ` Avi Kivity
2011-08-24 17:41   ` Sasha Levin [this message]
2011-08-24 18:17     ` Pekka Enberg
2011-08-24 18:51     ` Avi Kivity
2011-08-24 18:59       ` Pekka Enberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1314207675.3459.9.camel@lappy \
    --to=levinsasha928@gmail.com \
    --cc=asias.hejun@gmail.com \
    --cc=avi@redhat.com \
    --cc=gorcunov@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=penberg@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox