mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
multifd: Add multifd-compression parameter
This will store the compression method to use. We start with none. Signed-off-by: Juan Quintela <quintela@redhat.com> Acked-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> --- Rename multifd-method to multifd-compression
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "qapi/qmp/qerror.h"
|
||||
#include "qemu/ctype.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qapi/qapi-types-migration.h"
|
||||
#include "hw/block/block.h"
|
||||
#include "net/hub.h"
|
||||
#include "qapi/visitor.h"
|
||||
@@ -639,6 +640,18 @@ const PropertyInfo qdev_prop_fdc_drive_type = {
|
||||
.set_default_value = set_default_value_enum,
|
||||
};
|
||||
|
||||
/* --- MultiFDCompression --- */
|
||||
|
||||
const PropertyInfo qdev_prop_multifd_compression = {
|
||||
.name = "MultiFDCompression",
|
||||
.description = "multifd_compression values, "
|
||||
"none",
|
||||
.enum_table = &MultiFDCompression_lookup,
|
||||
.get = get_enum,
|
||||
.set = set_enum,
|
||||
.set_default_value = set_default_value_enum,
|
||||
};
|
||||
|
||||
/* --- pci address --- */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user