From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH 2/2] kvm tools: Simplify search for root device Date: Sat, 07 May 2011 11:46:23 +0300 Message-ID: <1304757983.10534.19.camel@lappy> References: <1304666795-15251-1-git-send-email-levinsasha928@gmail.com> <1304666795-15251-2-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com, kvm@vger.kernel.org To: Pekka Enberg Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:52308 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753039Ab1EGIqg (ORCPT ); Sat, 7 May 2011 04:46:36 -0400 Received: by wya21 with SMTP id 21so2884014wya.19 for ; Sat, 07 May 2011 01:46:35 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Sat, 2011-05-07 at 11:41 +0300, Pekka Enberg wrote: > On Fri, 6 May 2011, Sasha Levin wrote: > > Use /dev/block to find the block device used for root > > instead of searching through mounts. > > > > Signed-off-by: Sasha Levin > > Weren't there distro differences in this area? Prasad, Asias, does this > work for you? The distro differences were when we tried using /dev/ROOT and found it's optional and doesn't always exist. -- Sasha.