]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc_piix.c
pc: Generate init functions with a macro
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 15 May 2015 17:19:01 +0000 (14:19 -0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 31 May 2015 14:26:42 +0000 (16:26 +0200)
commit99fbeafee8b568e796863980365080abdb8d675e
tree74117cb2f532ae82c436ee4aec6e1fe1477dcc2b
parent211b5b1d0a31f2f7593d6858a0b10487fb7b7fac
pc: Generate init functions with a macro

All pc-i440fx and pc-q35 init functions simply call the corresponding
compat function and then call the main init function. Use a macro to
generate that code.

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>
hw/i386/pc_piix.c
hw/i386/pc_q35.c