History log of /fuchsia/zircon/system/ulib/fvm/fvm.cpp
Revision Date Author Comments
# f177f3e0 16-Jun-2018 Sean Klein <smklein@google.com>

[fvm][zxcrypt] Refactor libraries to avoid fdio dependency

ZX-2266 #done

Test: Refactor; relying on exitant library/driver tests.

Change-Id: Ia54acac0fb8056c91b26c097a8efae22dd0c5b3a


# 4b759878 08-Jun-2018 Sean Klein <smklein@google.com>

[fvm] Avoid using bitfield in on-disk structures.

Additionally, add documentation, and distinguish
between PSLICE_UNALLOCATED and FVM_SLICE_ENTRY_FREE
more clearly.

Change-Id: If36baf7383f10712d4ca47107392e5a18f82d9b9


# 379f22fa 06-Jun-2018 Adam Barth <abarth@google.com>

[fdio] Move headers into lib/fdio/...

Change-Id: Ie8d74e716da913bf6e2672c4acf8cd67b4962b7f


# ea26e9e5 09-May-2018 Sean Klein <smklein@google.com>

[fvm] Rename partition allocation/destruction ioctls

The name "fvm_destroy" was misleading; this ioctl
freed a single partition, not the entire FVM, and
was also overloaded with a helper in the fvm ulib
having the same name.

Update "fvm_alloc"'s name as well for symmetry.

Change-Id: I5052da5287406e1399912b7d55e2e126bb821188


# b5f3f7da 21-Mar-2018 Tricia Landers <planders@google.com>

[blobfs] Improve cleanup of unit test

At the beginning of each blobfs test run, search for any existing
partitions that match the unique test GUIDs and eradicate them.

Also ensure that allocated resources are cleaned up at the end
of each test, regardless of whether the test passed or failed.

ZX-1878 #done

Change-Id: I3f52aa9edb62d221475f5d72f03cace6b995c378


# e0d70dec 16-Mar-2018 James Robinson <jamesr@google.com>

[zx] Move public zx headers to match naming convention

The zx library provides headers intended for general use, so the
include path should be spelled <lib/zx/foo.h> as per
https://fuchsia.googlesource.com/docs/+/master/development/languages/c-cpp/naming.md.
This moves the headers into the proper location and updates includes to
match.

Change-Id: I6fc9b2a491b5f8b0d270c4dfc77fa4be5739071b


# b5a2b685 14-Mar-2018 Sean Klein <smklein@google.com>

[fvm] Fix path-based buffer overflow

... and while I'm there, fix an fd leak.

ZX-1808 #done

Change-Id: Ieb8a1ab6825916eb7b15e46de0657f2b2b628416


# 16e16ded 19-Jan-2018 Aaron Green <aarongreen@google.com>

[crypto][fdio][zxcrypt] Improve debug output

This CL improves fdio/debug's xprintf with location info.

Change-Id: Idd05c0439258ed3fe160086bcce05575eddbc38b


# 2dc3df0b 10-Jan-2018 Sean Klein <smklein@google.com>

[block] Larger-than-device requests should fail, not truncate

ZX-1545 #comment In Progress

Change-Id: I456c71c1b093791d1e21855849d566726a4c0544


# ce4d06f1 03-Oct-2017 Sean Klein <smklein@google.com>

[fvm] Provide target-side functionality for streaming sparse FVM to disk

- If a "--fvm" file is provided to the bootserver, it will be
transferred to the target device and paved onto disk. Similarly, if an
"--efi" provided to the bootserver, it will be paved onto a GPT
partition (separately from the first partition in the GPT, to avoid
dual-booting issues).
- Netsvc has been augmented so the tftp protocol can interpret
FVM and EFI files separately from netboot files, and appropriately
stream them to the FVM installer as they arrive.
- "install-disk-image" is a new application, capable of reading from
stdin (which is supplied from netsvc as a pipe) which parses the
images, and writes them to disk.

ZX-1194 #done

Change-Id: Idd6b05d7b4ff8cff81635747cc90e724f2e342d1


# 2a99114a 04-Oct-2017 Sean Klein <smklein@google.com>

[fvm] Add support for atomically upgrading between VPartitions

ZX-1194 #comment In Progress

Change-Id: I3f0d6eb8cbd78c4e7d2920803483a1d0d8046a9a


# 7f676b56 19-Sep-2017 Tricia Landers <planders@google.com>

[fvm] Add host-side tool

Example usage:
truncate --size=1g blobfs.bin;
./build-zircon-pc-x86-64/tools/blobstore blobfs.bin create
./build-zircon-pc-x86-64/tools/fvm sparse.bin sparse --blobstore blobfs.bin

Change-Id: Ifc44ea30d0cf68e3914d4e8591fa8c65998ba9ce


# fefeb616 26-Sep-2017 Tricia Landers <planders@google.com>

[fvm] Add test support for real block device

Change-Id: I917b2e8593d381f46ca6604222806ebe31eb5e85


# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 59e644b1 07-Sep-2017 George Kulakowski <kulakowski@google.com>

[zircon][mxtl->fbl] Rename mxtl to fbl

Change-Id: Ie21b6498e1bfb0a7fa0315e40b9e5c3ee78646be


# e044f48d 21-Aug-2017 Tricia Landers <planders@google.com>

[blobstore] Make blobstore mountable on FVM

Also update the blobstore tests accordingly

Change-Id: I1e697c8db1c1fa2b1a07aaff898e5ddce81e0e64


# 4db8f482 25-Jul-2017 Sean Klein <smklein@google.com>

[fvm] Extract FVM allocation helpers out of tests, into ulib

Change-Id: I18d157019c3d99e12aa563050d45cc3bb5459dcd


# c23ff708 05-Jul-2017 Sean Klein <smklein@google.com>

[fvm] Add support for runtime-dynamic slice size

Change-Id: I76ae3f943e9fd26dd2cdd47f014e67985eb287b1


# 935f329d 06-Jun-2017 Sean Klein <smklein@google.com>

[fvm] Initial commit of Fuchsia VPartition Manager

Change-Id: I1dd488889dd440814277629ffbcfd6d57cf30f47