Displaying 5 results from an estimated 5 matches for "eptr0".
Did you mean:
ptr0
2019 Jan 21
0
[PATCH nbdkit v2 1/4] partitioning plugin: Support MBR logical partitions.
...i) {
+ const struct region *region = find_file_region (i, &j);
+
+ create_mbr_partition_table_entry (region, i == 0, files[i].mbr_id,
+ &primary[0x1be + 16*i]);
+ }
+ }
+ else {
+ struct region region;
+ const struct region *rptr, *eptr0, *eptr;
+
+ /* The first three primary partitions correspond to the first
+ * three files.
+ */
+ for (i = 0; i < 3; ++i) {
+ rptr = find_file_region (i, &j);
+ create_mbr_partition_table_entry (rptr, i == 0, files[i].mbr_id,
+ &...
2019 Jan 20
1
[PATCH nbdkit] partitioning: Support MBR logical partitions.
An evolution of the patch I posted yesterday to qemu-devel
(https://www.mail-archive.com/qemu-devel@nongnu.org/msg588920.html)
which (a) works and (b) has a test.
Rich.
2019 Jan 21
8
[PATCH nbdkit v2 0/4] Support MBR logical partitions.
This is a revised version of the two series previously posted here:
https://www.redhat.com/archives/libguestfs/2019-January/msg00137.html
https://www.redhat.com/archives/libguestfs/2019-January/msg00139.html
There have been many smaller changes but the highlights are:
- Using SECTOR_SIZE instead of hard-coding 512 everywhere.
- Additional safety checks that the EBR chain doesn't
jump
2020 Apr 15
0
[PATCH nbdkit 4/9] common/regions: Use new vector type to store the list of regions.
...* SECTOR_SIZE;
region.end = end;
diff --git a/plugins/partitioning/partition-mbr.c b/plugins/partitioning/partition-mbr.c
index 971e694f..5c18966c 100644
--- a/plugins/partitioning/partition-mbr.c
+++ b/plugins/partitioning/partition-mbr.c
@@ -90,7 +90,7 @@ create_mbr_layout (void)
*/
eptr0 = find_ebr_region (3, &j);
region.start = eptr0->start;
- region.end = virtual_size (®ions) - 1; /* to end of disk */
+ region.end = virtual_size (&the_regions) - 1; /* to end of disk */
region.len = region.end - region.start + 1;
create_mbr_partition_table_en...
2020 Apr 15
18
[PATCH nbdkit 0/9] Generic vector, and pass $nbdkit_stdio_safe to shell scripts.
This was a rather longer trip around the houses than I anticipated!
The basic purpose of the patch series is to set $nbdkit_stdio_safe to
"0" or "1" in sh and eval plugin scripts.
To do that, I ended up adding a nicer way to manipulate environ lists,
and to do that, I ended up adding a whole generic vector
implementation which is applicable in a lot of different places.