John Ferlan
b7d44f450c
storage: Fix capacity value for LUKS encrypted volumes
...
https://bugzilla.redhat.com/show_bug.cgi?id=1371892
The 'capacity' value (e.g. guest logical size) for a LUKS volume is
smaller than the 'physical' value of the file in the file system, so
we need to account for that.
When peeking at the encryption information about the volume add a fetch
of the payload_offset which is described as the offset to the start of
the volume data (in 512 byte sectors) in QEMU's QCryptoBlockLUKSHeader.
Then adjust the ->capacity appropriately when we determine that the
volume target encryption has a payload_offset value.
2017-04-03 16:15:29 -04:00
..
2016-05-19 15:17:03 -04:00
2017-02-23 10:11:16 +00:00
2016-05-19 16:30:04 -04:00
2015-09-14 11:32:44 +02:00
2016-06-16 06:17:58 -04:00
2012-09-20 16:30:55 -06:00
2017-03-22 13:49:59 -04:00
2017-03-22 13:49:59 -04:00
2017-03-27 09:29:57 +02:00
2017-03-27 09:29:57 +02:00
2017-01-09 14:27:34 +00:00
2017-01-09 12:46:52 +00:00
2017-02-03 19:38:39 -05:00
2017-02-20 15:12:07 +01:00
2016-11-25 13:54:05 +01:00
2016-09-06 13:08:30 +01:00
2016-11-25 13:54:05 +01:00
2016-07-18 15:49:57 +02:00
2016-11-23 12:08:15 -05:00
2016-05-20 11:09:05 -04:00
2016-11-23 12:08:15 -05:00
2016-02-11 11:35:02 +01:00
2016-07-13 13:49:03 +03:00
2016-07-13 13:49:03 +03:00
2016-06-24 13:23:02 -04:00
2016-11-15 15:50:51 +01:00
2015-07-10 11:47:13 +02:00
2015-10-15 19:50:58 -04:00
2016-06-16 13:09:19 -04:00
2017-01-25 09:18:49 +01:00
2017-03-27 13:13:29 +02:00
2017-03-27 13:13:29 +02:00
2017-03-27 13:13:29 +02:00
2017-03-27 13:13:29 +02:00
2017-01-04 11:14:56 +01:00
2017-01-04 12:47:01 +01:00
2016-11-25 13:54:05 +01:00
2016-06-13 14:13:16 -06:00
2016-04-14 13:22:40 -04:00
2016-04-14 13:22:40 -04:00
2016-02-16 14:58:58 +01:00
2016-04-20 12:46:48 +02:00
2016-02-17 12:46:34 +01:00
2016-02-17 12:46:34 +01:00
2016-05-11 09:06:32 +02:00
2016-08-02 14:20:31 +02:00
2016-08-02 14:20:31 +02:00
2017-03-27 17:34:59 +02:00
2017-03-27 17:34:59 +02:00
2017-03-27 13:13:29 +02:00
2017-03-27 10:21:35 -04:00
2017-03-27 12:41:24 -04:00
2016-06-09 18:43:18 +01:00
2016-06-09 18:43:18 +01:00
2016-10-13 17:58:56 +08:00
2016-03-18 09:43:45 +01:00
2016-07-28 08:27:13 -04:00
2016-07-28 08:27:13 -04:00
2017-03-27 10:35:19 +02:00
2017-03-27 10:35:19 +02:00
2013-12-24 17:36:47 +01:00
2016-10-05 08:33:59 +02:00
2016-03-18 17:29:53 +01:00
2015-10-09 15:25:08 +02:00
2017-03-31 12:07:07 +02:00
2016-12-15 10:36:23 +01:00
2017-03-24 00:37:01 -04:00
2017-01-02 13:05:34 +01:00
2016-12-06 13:33:18 +01:00
2017-03-27 21:59:39 +04:00
2017-03-27 15:39:35 +02:00
2017-03-27 22:26:21 +02:00
2017-03-27 10:19:42 -04:00
2016-02-05 16:43:19 +01:00
2017-03-22 13:50:00 -04:00
2016-06-02 11:35:29 +02:00
2017-04-03 14:23:15 -04:00
2017-03-22 09:01:33 +01:00
2017-03-27 10:19:04 -04:00
2017-03-22 13:50:00 -04:00
2017-02-09 14:34:08 +01:00
2017-03-22 13:50:00 -04:00
2017-03-22 12:16:51 -04:00
2017-03-22 12:16:51 -04:00
2016-06-26 19:33:07 -04:00
2017-03-22 13:50:00 -04:00
2017-03-22 09:01:32 +01:00
2017-03-22 09:01:32 +01:00
2017-03-27 13:13:29 +02:00
2017-03-27 13:13:29 +02:00
2016-09-14 08:41:41 +02:00
2016-09-14 08:41:41 +02:00
2017-03-25 20:48:24 +04:00
2017-03-24 00:38:21 -04:00
2017-03-07 13:51:05 -05:00
2017-03-07 13:51:05 -05:00
2016-11-25 13:54:05 +01:00
2016-03-01 06:50:16 -05:00
2017-03-28 10:54:49 +02:00
2017-01-11 18:02:35 +01:00
2017-02-24 12:58:48 +01:00
2017-02-24 12:58:48 +01:00
2016-06-07 10:18:36 -04:00
2016-04-06 20:27:09 -04:00
2016-11-23 12:08:15 -05:00
2015-11-30 15:32:47 +01:00
2017-02-19 06:45:09 -05:00
2016-12-15 09:25:16 +01:00
2017-02-19 06:45:09 -05:00
2017-02-19 06:45:09 -05:00
2016-12-15 09:25:16 +01:00
2016-12-15 09:25:16 +01:00
2016-06-23 12:30:28 -04:00
2016-06-23 12:30:28 -04:00
2016-12-19 09:03:29 +01:00
2016-12-19 09:03:29 +01:00
2016-07-11 14:21:01 +02:00
2017-04-03 16:15:29 -04:00
2017-04-03 16:15:29 -04:00
2017-03-27 09:29:57 +02:00
2016-12-06 13:33:18 +01:00
2016-12-06 13:33:18 +01:00
2017-03-27 13:13:29 +02:00
2017-03-27 13:13:29 +02:00
2017-03-27 13:13:29 +02:00
2017-03-07 13:25:03 -05:00
2015-06-18 10:10:26 +02:00
2017-03-07 10:44:26 +01:00
2017-03-06 15:44:33 +01:00
2016-02-05 16:11:50 +01:00
2017-03-06 15:44:33 +01:00
2016-04-18 17:07:46 +02:00
2016-04-18 17:07:46 +02:00
2017-03-16 09:21:39 +01:00
2016-04-15 16:54:28 +01:00
2015-11-17 20:52:13 -05:00
2016-11-23 12:08:15 -05:00
2017-03-22 13:50:00 -04:00
2016-11-25 13:54:05 +01:00
2015-11-30 09:44:28 +01:00
2016-12-15 09:25:16 +01:00
2016-12-15 09:25:16 +01:00
2017-03-15 21:17:47 -04:00
2017-03-15 21:17:47 -04:00
2016-05-03 08:58:30 -04:00
2017-02-19 15:47:27 +01:00
2017-02-19 06:45:09 -05:00
2016-01-11 19:56:06 +03:00
2016-12-06 13:33:18 +01:00
2016-10-20 18:49:22 +08:00