Hey guys, this patch set adds support for hotplug add on S390. Apparently it's the first non-x86 platform receiving so much love in Qemu, so I've stumbled over some very basic #if defined(TARGET_I386) cases that just shouldn't be there.
It's trying to make things as generic as possible. I've talked to Markus about this vs blockdev and he's fine with pulling in a "dirty" solution in case the right one takes too long. But we haven't decided on which one is more clean :). Alex Alexander Graf (4): [S390] Add hotplug support Compile device-hotplug on all targets Add generic drive hotplugging Expose drive_add on all architectures Makefile.target | 5 ++++- hmp-commands.hx | 2 -- hw/device-hotplug.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ hw/pci-hotplug.c | 24 ++++-------------------- hw/s390-virtio-bus.c | 24 +++++++++++++++++++----- hw/s390-virtio-bus.h | 5 +++++ sysemu.h | 6 +++++- 7 files changed, 84 insertions(+), 29 deletions(-)