[PATCHv2 0/8 RFC] boot order specification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
/pci@i0cf8/pci-isa-bridge@1/fdc@03f1/floppy@0
/pci@i0cf8/pci-isa-bridge@1/fdc@03f1/floppy@1
/pci@i0cf8/ata@1,1/ata-disk@1:0
/pci@i0cf8/ata@1,1/ata-disk@1:1
/pci@i0cf8/virtio-blk@3/virtio-disk@0
/pci@i0cf8/ethernet@4/ethernet-phy@0
/pci@i0cf8/ethernet@5/ethernet-phy@0

for isa machine:
adding '/isa/fdc@03f1/floppy@0' at index 2
adding '/isa/fdc@03f1/floppy@1' at index 1
adding '/isa/ata@0170/ata-disk@0:0' at index 0
adding '/isa/ata@0170/ata-disk@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(-)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux