From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: exporting a single partition? Date: Mon, 07 Jul 2008 15:47:33 -0500 Message-ID: <487280E5.9000904@codemonkey.ws> References: <20080701153808.GC31844@bitfolk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Andy Smith Return-path: Received: from el-out-1112.google.com ([209.85.162.181]:45792 "EHLO el-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756191AbYGGUsB (ORCPT ); Mon, 7 Jul 2008 16:48:01 -0400 Received: by el-out-1112.google.com with SMTP id z25so249987ele.1 for ; Mon, 07 Jul 2008 13:48:00 -0700 (PDT) In-Reply-To: <20080701153808.GC31844@bitfolk.com> Sender: kvm-owner@vger.kernel.org List-ID: Andy Smith wrote: > Hi, > > Is it possible at the moment to export a single partition to a kvm > guest as a virtio block device, like you can with Xen? e.g. with > LVM on the host, /dev/somevg/somelv -> /dev/vda1 ? > > As far as I can see at the moment this is possible but it would have > to be the whole of /dev/vda and therefore contain a partition > table.. > No, because you can always use /dev/vda when you would normally use /dev/vda1. For instance, "root=/dev/vda" will do the Right Thing. Regards, Anthony Liguori > Cheers, > Andy >