]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
pc: Simplify xen_load_linux() signature
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 11 Dec 2015 18:42:25 +0000 (16:42 -0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 6 Feb 2016 18:44:09 +0000 (20:44 +0200)
commit7bc35e0f20a1e6f1b00edc85618437a495873bbd
tree4782ddb1de8dec0c238e1856632d76791cce9bce
parent5934e2169a383cdb059f8ccd83f7e1c4d410c9b3
pc: Simplify xen_load_linux() 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
include/hw/i386/pc.h