- Subject: Re: [PATCH v3] kvm tools: Make raw block device work
- From: Pekka Enberg <penberg@xxxxxxxxxx>
- Date: Sun, 15 Apr 2012 19:01:25 +0300 (EEST)
- Cc: Sasha Levin <levinsasha928@xxxxxxxxx>, Cyrill Gorcunov <gorcunov@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, kvm@xxxxxxxxxxxxxxx
- In-reply-to: <1334274584-30640-1-git-send-email-asias.hejun@gmail.com>
- References: <1334274584-30640-1-git-send-email-asias.hejun@gmail.com>
- User-agent: Alpine 2.02 (LFD 1266 2009-07-14)
On Fri, 13 Apr 2012, 'Asias He wrote:
> From: Asias He <asias.hejun@xxxxxxxxx>
>
> 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@xxxxxxxxx>
Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[KVM ARM]
[KVM ia64]
[KVM ppc]
[Spice Development]
[Libvirt]
[Libvirt Users]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Linux Kernel]
[Linux SCSI]
[XFree86]