summaryrefslogtreecommitdiffstats
path: root/device-hotplug.c
Commit message (Collapse)AuthorAgeFilesLines
* machine: Remove QEMUMachine indirection from MachineClassMarcel Apfelbaum2014-05-051-1/+1
| | | | | | | | No need to go through qemu_machine field. Use MachineClass fields directly. Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
* hw/boards: Convert current_machine to MachineStateMarcel Apfelbaum2014-03-121-1/+3
| | | | | | | | | | In order to allow attaching machine options to a machine instance, current_machine is converted into MachineState. As a first step of deprecating QEMUMachine, some of the functions were modified to return MachineClass. Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
* hw: move device-hotplug.o to toplevel, compile it oncePaolo Bonzini2013-03-011-0/+79
The situation with device-hotplug.c is similar to qdev-monitor.c. Add a stub for pci_drive_hot_add, so that it can be compiled once, and move it out of hw/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>