qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 0/2] finish qemu-nbd --partition deprecation


From: Eric Blake
Subject: Re: [PATCH v2 0/2] finish qemu-nbd --partition deprecation
Date: Wed, 19 Feb 2020 07:31:07 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 2/19/20 4:53 AM, Max Reitz wrote:
On 31.01.20 18:11, Eric Blake wrote:
ping

Do you want further review or is Ján’s sufficient for you?

Commit 0bc16997 has already landed, so no further review will show in git history. But you're always welcome to raise issues that might result in follow-up patches.


Also, I wonder whether it would make a good GSoC/Outreachy/... project
to add partition reading support to the raw block driver, or whether
that’s a bad idea. O:-)

Personally, I think that since nbdkit already provides a good partition filter [1], any other implementation of a partition filter is duplicated effort. The only reason to teach qemu how to access an arbitrary partition is if it makes serving that arbitrary partition to a guest more efficient than what is currently possible by pointing qemu at an NBD server run by nbdkit with its partition filter. But in general, you are more likely to want qemu to serve an entire disk image file to the guest (and let the guest interpret partitions embedded within that file) than to have qemu serve a single partition to a guest (and have the guest treat that partition as a bare disk), so I don't see it as something that would be frequently used or needed in qemu.

[1] http://libguestfs.org/nbdkit-partition-filter.1.html

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]