mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
ppc/spapr: remove deprecated machine pseries-2.9
Commit 1392617d35
intended to tag pseries-2.1 - 2.11 machines as
deprecated with reasons mentioned in its commit log.
Removing pseries-2.9 specific code with this patch for now.
While at it, also remove the pre-2.10 migration hacks which now become
obsolete.
Suggested-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
This commit is contained in:
parent
4ca656075d
commit
24ee9229fe
7 changed files with 1 additions and 144 deletions
|
@ -860,25 +860,6 @@ static void vmstate_check(const VMStateDescription *vmsd)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* See comment in hw/intc/xics.c:icp_realize()
|
||||
*
|
||||
* This function can be removed when
|
||||
* pre_2_10_vmstate_register_dummy_icp() is removed.
|
||||
*/
|
||||
int vmstate_replace_hack_for_ppc(VMStateIf *obj, int instance_id,
|
||||
const VMStateDescription *vmsd,
|
||||
void *opaque)
|
||||
{
|
||||
SaveStateEntry *se = find_se(vmsd->name, instance_id);
|
||||
|
||||
if (se) {
|
||||
savevm_state_handler_remove(se);
|
||||
g_free(se->compat);
|
||||
g_free(se);
|
||||
}
|
||||
return vmstate_register(obj, instance_id, vmsd, opaque);
|
||||
}
|
||||
|
||||
int vmstate_register_with_alias_id(VMStateIf *obj, uint32_t instance_id,
|
||||
const VMStateDescription *vmsd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue