| /openbmc/qemu/system/ |
| H A D | bootdevice.c | 38 int32_t bootindex; member 123 void check_boot_index(int32_t bootindex, Error **errp) in check_boot_index() argument 127 if (bootindex >= 0) { in check_boot_index() 129 if (i->bootindex == bootindex) { in check_boot_index() 131 bootindex); in check_boot_index() 158 void add_boot_device_path(int32_t bootindex, DeviceState *dev, in add_boot_device_path() argument 163 if (bootindex < 0) { in add_boot_device_path() 173 node->bootindex = bootindex; in add_boot_device_path() 178 if (i->bootindex == bootindex) { in add_boot_device_path() 179 error_report("Two devices with same boot index %d", bootindex); in add_boot_device_path() [all …]
|
| /openbmc/qemu/docs/system/ |
| H A D | bootindex.rst | 1 Managing device boot order with bootindex properties 7 but you can also do this more flexibly, by setting a ``bootindex`` 11 The ``bootindex`` properties are used to determine the order in which 13 ``bootindex`` property is not set for a device, it gets the lowest 15 ``bootindex`` property set will be considered for booting, but they 20 use ``bootindex`` properties. 22 There is no way to set a ``bootindex`` property if you are using 24 ``bootindex`` properties you will need to expand out those options 36 -device ide-hd,drive=disk1,bootindex=4 \\ 38 -device virtio-blk-pci,drive=disk2,bootindex=3 \\ [all …]
|
| H A D | index.rst | 34 bootindex
|
| /openbmc/qemu/docs/system/s390x/ |
| H A D | bootdevices.rst | 4 Booting with bootindex parameter 12 device where you want to boot from with the ``bootindex`` property, for 16 -device virtio-blk,drive=dr1,bootindex=1 18 Multiple devices may have a bootindex. The lowest bootindex is assigned to the 20 lowest bootindex will be tried and so on until IPL is successful or there are no 29 -device scsi-cd,drive=c1,bootindex=1 31 Note that you really have to use the ``bootindex`` property to select the 36 Booting without bootindex parameter 41 not specify a boot device with the ``bootindex`` property, there is still a 46 ``bootindex`` property instead. [all …]
|
| /openbmc/u-boot/arch/arm/mach-k3/ |
| H A D | am6_init.c | 97 u32 bootindex = readl(K3_BOOT_PARAM_TABLE_INDEX_VAL); in spl_boot_mode() local 103 if (bootindex == K3_PRIMARY_BOOTMODE && in spl_boot_mode() 173 u32 bootindex = readl(K3_BOOT_PARAM_TABLE_INDEX_VAL); in spl_boot_device() local 175 if (bootindex == K3_PRIMARY_BOOTMODE) in spl_boot_device()
|
| /openbmc/qemu/hw/ide/ |
| H A D | ide-dev.c | 132 add_boot_device_path(dev->conf.bootindex, &dev->qdev, in ide_dev_initfn() 146 visit_type_int32(v, name, &d->conf.bootindex, errp); in ide_dev_get_bootindex() 165 d->conf.bootindex = boot_index; in ide_dev_set_bootindex() 168 add_boot_device_path(d->conf.bootindex, &d->qdev, in ide_dev_set_bootindex()
|
| /openbmc/qemu/hw/usb/ |
| H A D | dev-storage-classic.c | 92 visit_type_int32(v, name, &s->conf.bootindex, errp); in usb_msd_get_bootindex() 112 s->conf.bootindex = boot_index; in usb_msd_set_bootindex()
|
| /openbmc/qemu/include/hw/virtio/ |
| H A D | vdpa-dev.h | 30 int32_t bootindex; member
|
| H A D | vhost-scsi-common.h | 32 int32_t bootindex; member
|
| /openbmc/qemu/hw/net/ |
| H A D | ne2000-isa.c | 105 visit_type_int32(v, name, &s->c.bootindex, errp); in isa_ne2000_get_bootindex() 126 s->c.bootindex = boot_index; in isa_ne2000_set_bootindex()
|
| H A D | ne2000-pci.c | 94 device_add_bootindex_property(obj, &s->c.bootindex, in ne2000_instance_init()
|
| H A D | lance.c | 135 device_add_bootindex_property(obj, &s->conf.bootindex, in lance_instance_init()
|
| H A D | pcnet-pci.c | 250 device_add_bootindex_property(obj, &s->conf.bootindex, in pcnet_instance_init()
|
| /openbmc/qemu/include/hw/s390x/ |
| H A D | s390-ccw.h | 29 int32_t bootindex; member
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 200 | 71 -device scsi-hd,drive=drive_sysdisk,bus=scsi0.0,id=sysdisk,bootindex=0
|
| /openbmc/qemu/docs/devel/ |
| H A D | writing-monitor-commands.rst | 385 ROM image's file name, and its bootindex, if any. We need to create a 393 # @bootindex: option ROM's bootindex 398 'data': { 'filename': 'str', '*bootindex': 'int' } } 402 "filename" and "bootindex". The latter is optional. 436 info->has_bootindex = option_rom[i].bootindex >= 0; 438 info->bootindex = option_rom[i].bootindex; 460 6. Remember that "bootindex" is optional? As a non-pointer optional 497 monitor_printf(mon, " %" PRId64, info->bootindex);
|
| H A D | virtio-backends.rst | 143 object_property_add_alias(obj, "bootindex", OBJECT(&dev->vdev), 144 "bootindex");
|
| /openbmc/qemu/docs/config/ |
| H A D | q35-virtio-serial.cfg | 161 bootindex = "1" 172 bootindex = "2"
|
| H A D | q35-virtio-graphical.cfg | 156 bootindex = "1" 167 bootindex = "2"
|
| H A D | mach-virt-serial.cfg | 211 bootindex = "1" 222 bootindex = "2"
|
| H A D | mach-virt-graphical.cfg | 205 bootindex = "1" 216 bootindex = "2"
|
| H A D | q35-emulated.cfg | 145 bootindex = "1" 156 bootindex = "2"
|
| /openbmc/qemu/hw/s390x/ |
| H A D | s390-ccw.c | 174 device_add_bootindex_property(obj, &dev->bootindex, "bootindex", in s390_ccw_instance_init()
|
| /openbmc/qemu/hw/net/rocker/ |
| H A D | rocker_fp.c | 241 port->conf.bootindex = -1; in fp_port_alloc()
|
| /openbmc/qemu/hw/virtio/ |
| H A D | vhost-user-fs.c | 422 device_add_bootindex_property(obj, &fs->bootindex, "bootindex", in vuf_instance_init()
|