Jeff Cody 3412f7b1bd block: vhdx - add .bdrv_create() support
This adds support for VHDX image creation, for images of type "Fixed"
and "Dynamic".  "Differencing" types (i.e., VHDX images with backing
files) are currently not supported.

Options for image creation include:
    * log size:
        The size of the journaling log for VHDX.  Minimum is 1MB,
        and it must be a multiple of 1MB. Invalid log sizes will be
        silently fixed by rounding up to the nearest MB.

        Default is 1MB.

    * block size:
        This is the size of a payload block.  The range is 1MB to 256MB,
        inclusive, and must be a multiple of 1MB as well.  Invalid sizes
        and multiples will be silently fixed.  If '0' is passed, then
        a sane size is chosen (depending on virtual image size).

        Default is 0 (Auto-select).

    * subformat:
        - "dynamic"
            An image without data pre-allocated.
        - "fixed"
            An image with data pre-allocated.

        Default is "dynamic"

When creating the image file, the lettered sections are created:

-----------------------------------------------------------------.
|   (A)    |   (B)    |    (C)    |     (D)       |     (E)
|  File ID |  Header1 |  Header 2 |  Region Tbl 1 |  Region Tbl 2
|          |          |           |               |
.-----------------------------------------------------------------.
0         64KB      128KB       192KB           256KB          320KB

.---- ~ ----------- ~ ------------ ~ ---------------- ~ -----------.
|     (F)     |     (G)       |    (H)    |
| Journal Log |  BAT / Bitmap |  Metadata |  .... data ......
|             |               |           |
.---- ~ ----------- ~ ------------ ~ ---------------- ~ -----------.
1MB         (var.)          (var.)      (var.)

Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-11-07 13:58:59 +01:00
2013-11-05 08:40:36 -08:00
2013-11-05 19:57:47 -08:00
2013-10-31 16:58:32 +01:00
2013-10-25 23:25:45 +02:00
2013-10-31 16:58:32 +01:00
2013-10-12 16:19:20 -07:00
2013-10-17 17:30:55 +02:00
2013-10-26 13:01:57 +04:00
2013-10-11 09:34:56 -07:00
2013-10-11 10:52:54 +02:00
2013-10-11 09:34:56 -07:00
2013-11-06 21:47:05 -08:00
2013-11-04 15:38:49 +02:00
2013-11-04 15:39:41 +02:00
2013-10-17 10:10:14 +02:00
2013-10-11 16:50:01 +02:00
2013-10-31 16:58:32 +01:00
2013-10-11 09:34:56 -07:00
2013-10-11 09:34:56 -07:00
2013-11-06 21:49:39 -08:00
2013-10-11 09:34:56 -07:00
2013-11-04 15:39:41 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%