This is current sate of the patch series for people to comment on. I tried to use open firmware naming scheme to specify device path names.
The patch series produce names like these: for pci machine: /p...@i0cf8/pci-isa-bri...@1/f...@03f1/flo...@0 /p...@i0cf8/pci-isa-bri...@1/f...@03f1/flo...@1 /p...@i0cf8/a...@1,1/ata-d...@1:0 /p...@i0cf8/a...@1,1/ata-d...@1:1 /p...@i0cf8/virtio-...@3/virtio-d...@0 /p...@i0cf8/ether...@4/ethernet-...@0 /p...@i0cf8/ether...@5/ethernet-...@0 for isa machine: adding '/isa/f...@03f1/flo...@0' at index 2 adding '/isa/f...@03f1/flo...@1' at index 1 adding '/isa/a...@0170/ata-d...@0:0' at index 0 adding '/isa/a...@0170/ata-d...@0:1' at index 3 Gleb Natapov (8): Introduce deriver_name field to DeviceInfo structure. 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 get_dev_path callback for system bus. Change pci bus get_dev_path callback to print only slot and func Add bootindex parameter to net/block/fd device block_int.h | 4 +++- hw/cs4231a.c | 1 + hw/e1000.c | 7 +++++++ hw/fdc.c | 17 +++++++++++++++++ hw/gus.c | 4 ++++ hw/ide/cmd646.c | 4 ++-- hw/ide/internal.h | 3 ++- hw/ide/isa.c | 5 ++++- hw/ide/piix.c | 5 +++-- hw/ide/qdev.c | 24 +++++++++++++++++++++++- hw/ide/via.c | 4 ++-- hw/isa-bus.c | 41 +++++++++++++++++++++++++++++++++++++++++ hw/isa.h | 4 ++++ hw/m48t59.c | 1 + hw/mc146818rtc.c | 1 + hw/ne2000-isa.c | 3 +++ hw/parallel.c | 5 +++++ hw/pci.c | 11 ++++++----- hw/pci_host.c | 2 ++ hw/pckbd.c | 3 +++ hw/piix_pci.c | 2 ++ hw/qdev.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/qdev.h | 9 +++++++++ hw/sb16.c | 4 ++++ hw/serial.c | 1 + hw/sysbus.c | 30 ++++++++++++++++++++++++++++++ hw/sysbus.h | 4 ++++ hw/virtio-blk.c | 4 ++++ hw/virtio-net.c | 4 ++++ hw/virtio-pci.c | 2 ++ net.h | 4 +++- sysemu.h | 9 +++++++++ vl.c | 24 ++++++++++++++++++++++++ 33 files changed, 282 insertions(+), 16 deletions(-)