All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v3] kvm tools: Make raw block device work
       [not found] <1334274584-30640-1-git-send-email-asias.hejun@gmail.com>
@ 2012-04-15 16:01 ` Pekka Enberg
  0 siblings, 0 replies; only message in thread
From: Pekka Enberg @ 2012-04-15 16:01 UTC (permalink / raw)
  To: Asias He; +Cc: Sasha Levin, Cyrill Gorcunov, Ingo Molnar, kvm

On Fri, 13 Apr 2012, 'Asias He wrote:
> From: Asias He <asias.hejun@gmail.com>
> 
> Previously, we use mmaped host root partition as guest's root
> filesystem. As virtio-9p based root filesystem is supported,
> mmaped host root partition approach is not used anymore.
> 
> It is useful to use raw block device as guest's disk backend for some
> user. e.g. bypass host's fs layer.
> 
> This patch makes raw block device work as disk image, user can do
> read/write on raw block device, by using DISK_IMAGE_REGULAR instead of
> DISK_IMAGE_MMAP for block device
> 
> Changes in v3:
>  - Add fclose.
> 
> Changes in v2:
>  - Check whether the block device is mounted before use it.
> 
> Signed-off-by: Asias He <asias.hejun@gmail.com>

Applied, thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-15 16:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1334274584-30640-1-git-send-email-asias.hejun@gmail.com>
2012-04-15 16:01 ` [PATCH v3] kvm tools: Make raw block device work Pekka Enberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.