crypto.c (7e0019a7196ebed177c95824875cf852e1a6f667) | crypto.c (e24d813b29d3a478a9309078487efc8ce8599f22) |
---|---|
1/* 2 * QEMU block full disk encryption 3 * 4 * Copyright (c) 2015-2016 Red Hat, Inc. 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 562 unchanged lines hidden (view full) --- 571 int ret; 572 573 ret = bdrv_get_info(bs->file->bs, &subbdi); 574 if (ret != 0) { 575 return ret; 576 } 577 578 bdi->unallocated_blocks_are_zero = false; | 1/* 2 * QEMU block full disk encryption 3 * 4 * Copyright (c) 2015-2016 Red Hat, Inc. 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 562 unchanged lines hidden (view full) --- 571 int ret; 572 573 ret = bdrv_get_info(bs->file->bs, &subbdi); 574 if (ret != 0) { 575 return ret; 576 } 577 578 bdi->unallocated_blocks_are_zero = false; |
579 bdi->can_write_zeroes_with_unmap = false; | |
580 bdi->cluster_size = subbdi.cluster_size; 581 582 return 0; 583} 584 585static ImageInfoSpecific * 586block_crypto_get_specific_info_luks(BlockDriverState *bs) 587{ --- 51 unchanged lines hidden --- | 579 bdi->cluster_size = subbdi.cluster_size; 580 581 return 0; 582} 583 584static ImageInfoSpecific * 585block_crypto_get_specific_info_luks(BlockDriverState *bs) 586{ --- 51 unchanged lines hidden --- |