Re: [Qemu-devel] [PATCH v2 05/14] pc: Simplify pc_memory_init() signature

2015-12-15 Thread Marcel Apfelbaum
On 12/11/2015 08:42 PM, Eduardo Habkost wrote: We can get the PcGuestInfo struct directly from PCMachineState, and the return value is not needed at all. Signed-off-by: Eduardo Habkost --- hw/i386/pc.c | 11 +-- hw/i386/pc_piix.c| 2 +- hw/i386/pc_q35.c | 2 +- in

[Qemu-devel] [PATCH v2 05/14] pc: Simplify pc_memory_init() signature

2015-12-11 Thread Eduardo Habkost
We can get the PcGuestInfo struct directly from PCMachineState, and the return value is not needed at all. Signed-off-by: Eduardo Habkost --- hw/i386/pc.c | 11 +-- hw/i386/pc_piix.c| 2 +- hw/i386/pc_q35.c | 2 +- include/hw/i386/pc.h | 9 - 4 files changed, 1