wok diff qemu/stuff/cloop.u @ rev 23737

updated workerfm (2.19.6 -> 4.1.0)
author Hans-G?nter Theisgen
date Fri May 01 10:15:49 2020 +0100 (2020-05-01)
parents 6c4f7dff6b20
children cea6e929d21e
line diff
     1.1 --- a/qemu/stuff/cloop.u	Sun Apr 26 16:28:39 2020 +0000
     1.2 +++ b/qemu/stuff/cloop.u	Fri May 01 10:15:49 2020 +0100
     1.3 @@ -215,6 +215,15 @@
     1.4       }
     1.5       return 0;
     1.6   }
     1.7 +@@ -60,7 +233,7 @@
     1.8 +                       Error **errp)
     1.9 + {
    1.10 +     BDRVCloopState *s = bs->opaque;
    1.11 +-    uint32_t offsets_size, max_compressed_block_size = 1, i;
    1.12 ++    uint32_t offsets_size, max_compressed_block_size = 1;
    1.13 +     int ret;
    1.14 + 
    1.15 +     bs->read_only = 1;
    1.16  @@ -91,79 +264,92 @@
    1.17                      MAX_BLOCK_SIZE / (1024 * 1024));
    1.18           return -EINVAL;