This is current sate of the patch series for people to comment on.
I dropped ioport double reservation checking from isa-bus and added
bus_id field for IDE bus since as Markus pointed out unit has different
meaning there.
This patch series produce names like:
address@hidden,03f7/address@hidden
address@hidden,03f7/address@hidden
address@hidden:00:01.1/address@hidden:0
address@hidden:00:01.1/address@hidden:1
address@hidden:00:03.0/address@hidden
address@hidden:00:04.0/address@hidden
They will be passed to BIOS to determine boot order.
Gleb Natapov (5):
Keep track of ISA ports ISA device is using in qdev.
Add get_dev_path callback to ISA bus in qdev.
Store IDE bus id in IDEBus structure for easy access.
Add get_dev_path callback to IDE bus.
Add bootindex parameter to net/block/fd device
block_int.h | 4 ++-
hw/cs4231a.c | 1 +
hw/fdc.c | 39 ++++++++++++++++++++++++++++++++
hw/gus.c | 4 +++
hw/ide/cmd646.c | 4 +-
hw/ide/internal.h | 3 +-
hw/ide/isa.c | 4 ++-
hw/ide/piix.c | 4 +-
hw/ide/qdev.c | 40 ++++++++++++++++++++++++++++++++-
hw/ide/via.c | 4 +-
hw/isa-bus.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++
hw/isa.h | 4 +++
hw/m48t59.c | 1 +
hw/mc146818rtc.c | 1 +
hw/ne2000-isa.c | 3 ++
hw/parallel.c | 5 ++++
hw/pckbd.c | 3 ++
hw/sb16.c | 4 +++
hw/serial.c | 1 +
hw/virtio-blk.c | 20 ++++++++++++++++
hw/virtio-net.c | 20 ++++++++++++++++
net.h | 4 ++-
sysemu.h | 9 +++++++
vl.c | 24 +++++++++++++++++++
24 files changed, 259 insertions(+), 11 deletions(-)