]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
pc: Simplify pc_memory_init() signature
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 11 Dec 2015 18:42:24 +0000 (16:42 -0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 6 Feb 2016 18:44:09 +0000 (20:44 +0200)
commit5934e2169a383cdb059f8ccd83f7e1c4d410c9b3
treef8c05fcbfd5d42eec4da90678396271dff36367b
parent9ebeed0c1efe4994c7c129e8469a797bcde9f81a
pc: Simplify pc_memory_init() signature

We can get the PcGuestInfo struct directly from PCMachineState,
and the return value is not needed at all.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h