From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH 5/7] kvm tools: Add help and info messages to 'kvm setup' Date: Thu, 13 Oct 2011 12:08:48 +0200 Message-ID: <1318500528.3527.2.camel@lappy> References: <1318498366-7824-1-git-send-email-levinsasha928@gmail.com> <1318498366-7824-5-git-send-email-levinsasha928@gmail.com> <20111013100046.GA13651@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: penberg@cs.helsinki.fi, kvm@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com To: Ingo Molnar Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:54880 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754571Ab1JMKIy (ORCPT ); Thu, 13 Oct 2011 06:08:54 -0400 Received: by eye27 with SMTP id 27so1659654eye.19 for ; Thu, 13 Oct 2011 03:08:53 -0700 (PDT) In-Reply-To: <20111013100046.GA13651@elte.hu> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2011-10-13 at 12:00 +0200, Ingo Molnar wrote: > * Sasha Levin wrote: > > > + r = do_setup(instance_name); > > + if (r == 0) > > + pr_info("Your new rootfs named %s has been created.\n" > > + "You can now start it by running 'kvm run -d %s'\n", > > + instance_name, instance_name); > > Btw., will 'kvm run' select the last-created rootfs by default? > > The patches look good otherwise. A simple 'kvm run' (creates if needed) and starts a rootfs named 'default'. -- Sasha.