[Libguestfs] [PATCH nbdkit v2 1/4] partitioning plugin: Support MBR logical partitions.

Richard W.M. Jones rjones at redhat.com
Tue Jan 22 21:10:32 UTC 2019


On Tue, Jan 22, 2019 at 02:57:33PM -0600, Eric Blake wrote:
> On 1/21/19 12:15 PM, Richard W.M. Jones wrote:
> > ---
> >  .../nbdkit-partitioning-plugin.pod            |  29 ++--
> >  plugins/partitioning/virtual-disk.h           |  12 +-
> >  plugins/partitioning/partition-mbr.c          | 132 +++++++++++++++---
> >  plugins/partitioning/partitioning.c           |  28 ++--
> >  plugins/partitioning/virtual-disk.c           |  42 +++++-
> >  tests/Makefile.am                             |   4 +-
> >  tests/test-partitioning5.sh                   |  96 +++++++++++++
> >  7 files changed, 281 insertions(+), 62 deletions(-)
> 
> LGTM
> 
> Should we, at some point, allow the plugin user to specify the
> advertised filesystem type

Is this different from the mbr-id / type-guid parameters that we
already provide?

> and/or the boot flag

Yes this is missing and it would be a good idea to allow it to be
specified.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list