Re: [Qemu-devel] [PATCH v2 06/14] pc: Simplify xen_load_linux() 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 | 5 ++--- hw/i386/pc_piix.c| 2 +- include/hw/i386/pc.h | 3 +-- 3 files ch

[Qemu-devel] [PATCH v2 06/14] pc: Simplify xen_load_linux() 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 | 5 ++--- hw/i386/pc_piix.c| 2 +- include/hw/i386/pc.h | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/