public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Andy Smith <andy@lug.org.uk>
Cc: kvm@vger.kernel.org
Subject: Re: exporting a single partition?
Date: Mon, 07 Jul 2008 15:47:33 -0500	[thread overview]
Message-ID: <487280E5.9000904@codemonkey.ws> (raw)
In-Reply-To: <20080701153808.GC31844@bitfolk.com>

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
>   


      parent reply	other threads:[~2008-07-07 20:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01 15:38 exporting a single partition? Andy Smith
2008-07-01 16:10 ` Javier Guerra
2008-07-07 20:47 ` Anthony Liguori [this message]

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=487280E5.9000904@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=andy@lug.org.uk \
    --cc=kvm@vger.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