mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
qemu: Hide internals of qemuMigrationParams struct
All users of migration parameters are supposed to use APIs provided by qemu_migration_params.c without having to worry about the internals. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4bac1879ce
commit
7b559ad373
@ -30,6 +30,7 @@
|
||||
#include "qemu_hotplug.h"
|
||||
#include "qemu_migration.h"
|
||||
#include "qemu_migration_params.h"
|
||||
#include "qemu_monitor.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_QEMU
|
||||
|
||||
@ -37,6 +38,10 @@ VIR_LOG_INIT("qemu.qemu_migration_params");
|
||||
|
||||
#define QEMU_MIGRATION_TLS_ALIAS_BASE "libvirt_migrate"
|
||||
|
||||
struct _qemuMigrationParams {
|
||||
qemuMonitorMigrationParams params;
|
||||
};
|
||||
|
||||
|
||||
qemuMigrationParamsPtr
|
||||
qemuMigrationParamsNew(void)
|
||||
|
@ -49,9 +49,6 @@ struct _qemuMigrationCompression {
|
||||
|
||||
typedef struct _qemuMigrationParams qemuMigrationParams;
|
||||
typedef qemuMigrationParams *qemuMigrationParamsPtr;
|
||||
struct _qemuMigrationParams {
|
||||
qemuMonitorMigrationParams params;
|
||||
};
|
||||
|
||||
|
||||
qemuMigrationParamsPtr
|
||||
|
Loading…
x
Reference in New Issue
Block a user