commit | 23d3040704e8e2a10f3e21e2c6594b3a8c7b20db | [log] [tgz] |
---|---|---|
author | Eduardo Habkost <ehabkost@redhat.com> | Fri Aug 07 16:55:49 2015 -0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Aug 13 14:08:27 2015 +0300 |
tree | ee6721f62896cb9a809b58c07ab696d2f7aa53fa | |
parent | 4458fb3a7993249f466662b18ccae75f1a313200 [diff] |
pc: Use PCMachineState for pc_cmos_init() argument pc_cmos_init() already expects a PCMachineState object, there's no point in upcasting it to MachineState before calling the function. While doing it, reorder the arguments so PCMachineState is the first function argument. 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>