mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
remote: Implement virDomainMigrate*CompressionCache
This commit is contained in:
parent
4802d59e6a
commit
be80186732
@ -6236,6 +6236,8 @@ static virDriver remote_driver = {
|
||||
.domainGetJobStats = remoteDomainGetJobStats, /* 1.0.3 */
|
||||
.domainAbortJob = remoteDomainAbortJob, /* 0.7.7 */
|
||||
.domainMigrateSetMaxDowntime = remoteDomainMigrateSetMaxDowntime, /* 0.8.0 */
|
||||
.domainMigrateGetCompressionCache = remoteDomainMigrateGetCompressionCache, /* 1.0.3 */
|
||||
.domainMigrateSetCompressionCache = remoteDomainMigrateSetCompressionCache, /* 1.0.3 */
|
||||
.domainMigrateSetMaxSpeed = remoteDomainMigrateSetMaxSpeed, /* 0.9.0 */
|
||||
.domainMigrateGetMaxSpeed = remoteDomainMigrateGetMaxSpeed, /* 0.9.5 */
|
||||
.domainEventRegisterAny = remoteDomainEventRegisterAny, /* 0.8.0 */
|
||||
|
@ -2178,6 +2178,21 @@ struct remote_domain_migrate_set_max_downtime_args {
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
struct remote_domain_migrate_get_compression_cache_args {
|
||||
remote_nonnull_domain dom;
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
struct remote_domain_migrate_get_compression_cache_ret {
|
||||
unsigned hyper cacheSize; /* insert@1 */
|
||||
};
|
||||
|
||||
struct remote_domain_migrate_set_compression_cache_args {
|
||||
remote_nonnull_domain dom;
|
||||
unsigned hyper cacheSize;
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
struct remote_domain_migrate_set_max_speed_args {
|
||||
remote_nonnull_domain dom;
|
||||
unsigned hyper bandwidth;
|
||||
@ -3072,7 +3087,9 @@ enum remote_procedure {
|
||||
REMOTE_PROC_DOMAIN_SEND_PROCESS_SIGNAL = 295, /* autogen autogen */
|
||||
REMOTE_PROC_DOMAIN_OPEN_CHANNEL = 296, /* autogen autogen | readstream@2 */
|
||||
REMOTE_PROC_NODE_DEVICE_LOOKUP_SCSI_HOST_BY_WWN = 297, /* autogen autogen priority:high */
|
||||
REMOTE_PROC_DOMAIN_GET_JOB_STATS = 298 /* skipgen skipgen */
|
||||
REMOTE_PROC_DOMAIN_GET_JOB_STATS = 298, /* skipgen skipgen */
|
||||
REMOTE_PROC_DOMAIN_MIGRATE_GET_COMPRESSION_CACHE = 299, /* autogen autogen */
|
||||
REMOTE_PROC_DOMAIN_MIGRATE_SET_COMPRESSION_CACHE = 300 /* autogen autogen */
|
||||
|
||||
/*
|
||||
* Notice how the entries are grouped in sets of 10 ?
|
||||
|
@ -1653,6 +1653,18 @@ struct remote_domain_migrate_set_max_downtime_args {
|
||||
uint64_t downtime;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_migrate_get_compression_cache_args {
|
||||
remote_nonnull_domain dom;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_migrate_get_compression_cache_ret {
|
||||
uint64_t cacheSize;
|
||||
};
|
||||
struct remote_domain_migrate_set_compression_cache_args {
|
||||
remote_nonnull_domain dom;
|
||||
uint64_t cacheSize;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_migrate_set_max_speed_args {
|
||||
remote_nonnull_domain dom;
|
||||
uint64_t bandwidth;
|
||||
@ -2474,4 +2486,6 @@ enum remote_procedure {
|
||||
REMOTE_PROC_DOMAIN_OPEN_CHANNEL = 296,
|
||||
REMOTE_PROC_NODE_DEVICE_LOOKUP_SCSI_HOST_BY_WWN = 297,
|
||||
REMOTE_PROC_DOMAIN_GET_JOB_STATS = 298,
|
||||
REMOTE_PROC_DOMAIN_MIGRATE_GET_COMPRESSION_CACHE = 299,
|
||||
REMOTE_PROC_DOMAIN_MIGRATE_SET_COMPRESSION_CACHE = 300,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user