vl: separate qemu_resolve_machine_memdev
commitb24986e7845594f4ce394403d2b5c15e89ce04f8
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Oct 2020 15:16:18 +0000 (27 11:16 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Dec 2020 17:15:14 +0000 (10 12:15 -0500)
tree53982210bdf1282686859c18d637bfb5e0368b47
parent7a84268dc9be3456e8d7d2fcc5ad0e3dec50899d
vl: separate qemu_resolve_machine_memdev

This is a bit nasty: the machine is storing a string and later
resolving it.  We probably want to remove the memdev property
and instead make this a memory-set command.  "-M memdev" can be
handled a legacy option that is special cased by
machine_set_property.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu/vl.c