[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 00/21] nbd: add qemu-nbd --list
From: |
Richard W.M. Jones |
Subject: |
Re: [Qemu-devel] [PATCH v4 00/21] nbd: add qemu-nbd --list |
Date: |
Sat, 19 Jan 2019 08:07:12 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Jan 18, 2019 at 04:47:42PM -0600, Eric Blake wrote:
> It matches the code, but I just learned the code is buggy for anything
> larger than 5. According to
> http://tldp.org/HOWTO/Large-Disk-HOWTO-13.html, MBR Extended/Logical
> partitions form a linked-list, something like:
>
> MBR: EBR1 EBR2
> +----------+ +----------+ +----------+
> + Part 1 + |->+ Part 5 + |->+ Part 6 +
> + Part 2 + | + Next --------| + 0 +
> + Part 3 + | + 0 + + 0 +
> + Part 4 ------- + 0 + + 0 +
> +----------+ +----------+ +----------+
Wikipedia's description is a bit better:
https://en.wikipedia.org/wiki/Extended_boot_record
In fact it's not strictly a linked list because the start record of
each entry is relative to the extended partition start. It's all a
bit weird.
But you're right, nbdkit can neither read (nbdkit-partition-filter)
nor write (nbdkit-partitioning-plugin) MBR logical partitions so we
can't test interop or tell people to use nbdkit for this corner case.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
- [Qemu-devel] [PATCH v4 14/21] nbd/client: Split handshake into two functions, (continued)
- [Qemu-devel] [PATCH v4 14/21] nbd/client: Split handshake into two functions, Eric Blake, 2019/01/17
- [Qemu-devel] [PATCH v4 19/21] qemu-nbd: Add --list option, Eric Blake, 2019/01/17
- [Qemu-devel] [PATCH v4 12/21] nbd/client: Split out nbd_receive_one_meta_context(), Eric Blake, 2019/01/17
- [Qemu-devel] [PATCH v4 13/21] nbd/client: Refactor return of nbd_receive_negotiate(), Eric Blake, 2019/01/17
- [Qemu-devel] [PATCH v4 21/21] iotests: Enhance 223, 233 to cover 'qemu-nbd --list', Eric Blake, 2019/01/17
- Re: [Qemu-devel] [PATCH v4 00/21] nbd: add qemu-nbd --list, Vladimir Sementsov-Ogievskiy, 2019/01/18
- Re: [Qemu-devel] [PATCH v4 00/21] nbd: add qemu-nbd --list, Eric Blake, 2019/01/18