mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
vmstate: remove const from pre_save() functions
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
e59fb3741b
commit
d4bfa4d7c6
5 changed files with 10 additions and 10 deletions
4
exec.c
4
exec.c
|
@ -513,9 +513,9 @@ void cpu_exec_init_all(unsigned long tb_size)
|
|||
|
||||
#if defined(CPU_SAVE_VERSION) && !defined(CONFIG_USER_ONLY)
|
||||
|
||||
static void cpu_common_pre_save(const void *opaque)
|
||||
static void cpu_common_pre_save(void *opaque)
|
||||
{
|
||||
CPUState *env = (void *)opaque;
|
||||
CPUState *env = opaque;
|
||||
|
||||
cpu_synchronize_state(env);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue