qemu add sm4 in release 9, but the name of sm4 doesn't have the key
length suffix, So set size to 0, construct cipher name without
key length as suffix.
Signed-off-by: luzhipeng
---
docs/formatstorageencryption.rst | 8 +---
src/qemu/qemu_block.c| 10 +++---
2 files changed,
The destination disk's xml contains the ciper info and it check fail, when
snaphot,blockcopy and blockpull vm's disk. So it removes the check about
cipher info.
Signed-off-by: luzhipeng
---
src/conf/domain_validate.c | 12
1 file changed, 12 deletions(-)
diff --git a/src/conf/domai
- parse data-file metadata and init src->dataFileStore struct
- chown data-file to allow qemu to open it
- add data-file path to VM's cgroup and namespace
- add data-file option to QEMU process command line
Signed-off-by: Nikolai Barybin
---
src/qemu/qemu_block.c | 45 +++
Signed-off-by: Nikolai Barybin
---
src/storage_file/storage_file_probe.c | 66 +++
1 file changed, 57 insertions(+), 9 deletions(-)
diff --git a/src/storage_file/storage_file_probe.c
b/src/storage_file/storage_file_probe.c
index 243927d50a..c7ff743c87 100644
--- a/src/st
Signed-off-by: Nikolai Barybin
---
src/conf/storage_source_conf.c | 8
src/conf/storage_source_conf.h | 5 +
2 files changed, 13 insertions(+)
diff --git a/src/conf/storage_source_conf.c b/src/conf/storage_source_conf.c
index 908bc5fab2..d76de058b9 100644
--- a/src/conf/storage_sour
There are use cases when the existing disks (i.e. LVM) are wanted
to be used with advanced features. For this purpose QEMU allows
data-file feature for qcow2 files: metadata is kept in the qcow2
file like usual, but guest data is written to an external file.
These patches enable support for this fe
On Thu, Aug 08, 2024 at 11:25:29AM -0400, Peter Xu wrote:
> On Thu, Aug 08, 2024 at 10:47:28AM -0400, Michael S. Tsirkin wrote:
> > On Thu, Aug 08, 2024 at 10:15:36AM -0400, Peter Xu wrote:
> > > On Thu, Aug 08, 2024 at 07:12:14AM -0400, Michael S. Tsirkin wrote:
> > > > This is too big of a hammer