mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-28 20:41:52 -06:00
migration: remove PostcopyDiscardState from typedefs.h
It is defined and referred to exclusively from a .c file. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
13d1109448
commit
a0d645100e
2 changed files with 2 additions and 3 deletions
|
@ -96,7 +96,6 @@ typedef struct PCIExpressDevice PCIExpressDevice;
|
||||||
typedef struct PCIExpressHost PCIExpressHost;
|
typedef struct PCIExpressHost PCIExpressHost;
|
||||||
typedef struct PCIHostDeviceAddress PCIHostDeviceAddress;
|
typedef struct PCIHostDeviceAddress PCIHostDeviceAddress;
|
||||||
typedef struct PCIHostState PCIHostState;
|
typedef struct PCIHostState PCIHostState;
|
||||||
typedef struct PostcopyDiscardState PostcopyDiscardState;
|
|
||||||
typedef struct Property Property;
|
typedef struct Property Property;
|
||||||
typedef struct PropertyInfo PropertyInfo;
|
typedef struct PropertyInfo PropertyInfo;
|
||||||
typedef struct QBool QBool;
|
typedef struct QBool QBool;
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
*/
|
*/
|
||||||
#define MAX_DISCARDS_PER_COMMAND 12
|
#define MAX_DISCARDS_PER_COMMAND 12
|
||||||
|
|
||||||
struct PostcopyDiscardState {
|
typedef struct PostcopyDiscardState {
|
||||||
const char *ramblock_name;
|
const char *ramblock_name;
|
||||||
uint16_t cur_entry;
|
uint16_t cur_entry;
|
||||||
/*
|
/*
|
||||||
|
@ -54,7 +54,7 @@ struct PostcopyDiscardState {
|
||||||
uint64_t length_list[MAX_DISCARDS_PER_COMMAND];
|
uint64_t length_list[MAX_DISCARDS_PER_COMMAND];
|
||||||
unsigned int nsentwords;
|
unsigned int nsentwords;
|
||||||
unsigned int nsentcmds;
|
unsigned int nsentcmds;
|
||||||
};
|
} PostcopyDiscardState;
|
||||||
|
|
||||||
static NotifierWithReturnList postcopy_notifier_list;
|
static NotifierWithReturnList postcopy_notifier_list;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue