diff options
| author | Eduardo Habkost | 2015-08-07 21:55:49 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-08-13 13:08:27 +0200 |
| commit | 23d3040704e8e2a10f3e21e2c6594b3a8c7b20db (patch) | |
| tree | ee6721f62896cb9a809b58c07ab696d2f7aa53fa /tests/qapi-schema/data-array-empty.json | |
| parent | pc: Eliminate pc_default_machine_options() (diff) | |
| download | qemu-23d3040704e8e2a10f3e21e2c6594b3a8c7b20db.tar.gz qemu-23d3040704e8e2a10f3e21e2c6594b3a8c7b20db.tar.xz qemu-23d3040704e8e2a10f3e21e2c6594b3a8c7b20db.zip | |
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>
Diffstat (limited to 'tests/qapi-schema/data-array-empty.json')
0 files changed, 0 insertions, 0 deletions
