/openbmc/qemu/system/ |
H A D | bootdevice.c | 38 int32_t bootindex; member 127 if (bootindex >= 0) { in check_boot_index() 129 if (i->bootindex == bootindex) { in check_boot_index() 131 bootindex); in check_boot_index() 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() 181 } else if (i->bootindex < bootindex) { in add_boot_device_path() 285 int32_t *bootindex; member 314 *prop->bootindex = boot_index; in device_set_bootindex() [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`` 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 \\ 42 -device e1000,netdev=net1,bootindex=1 [all …]
|
H A D | index.rst | 34 bootindex
|
/openbmc/qemu/docs/system/s390x/ |
H A D | bootdevices.rst | 4 Booting with bootindex parameter 14 device where you want to boot from with the ``bootindex`` property, for 18 -device virtio-blk,drive=dr1,bootindex=1 26 -device scsi-cd,drive=c1,bootindex=1 28 Note that you really have to use the ``bootindex`` property to select the 33 Booting without bootindex parameter 38 not specify a boot device with the ``bootindex`` property, there is still a 43 ``bootindex`` property instead. 47 specify the ``bootindex`` with these commands. Note that the convenience 94 If you don't specify the ``bootindex`` property here, the network bootloader [all …]
|
/openbmc/qemu/include/sysemu/ |
H A D | sysemu.h | 54 int32_t bootindex; member 74 void add_boot_device_path(int32_t bootindex, DeviceState *dev, 79 void check_boot_index(int32_t bootindex, Error **errp); 81 void device_add_bootindex_property(Object *obj, int32_t *bootindex,
|
/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 | 133 add_boot_device_path(dev->conf.bootindex, &dev->qdev, in ide_dev_initfn() 147 visit_type_int32(v, name, &d->conf.bootindex, errp); in ide_dev_get_bootindex() 166 d->conf.bootindex = boot_index; in ide_dev_set_bootindex() 169 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 | 93 visit_type_int32(v, name, &s->conf.bootindex, errp); in usb_msd_get_bootindex() 113 s->conf.bootindex = boot_index; in usb_msd_set_bootindex()
|
/openbmc/qemu/hw/net/ |
H A D | ne2000-isa.c | 106 visit_type_int32(v, name, &s->c.bootindex, errp); in isa_ne2000_get_bootindex() 127 s->c.bootindex = boot_index; in isa_ne2000_set_bootindex()
|
H A D | lance.c | 135 device_add_bootindex_property(obj, &s->conf.bootindex, in lance_instance_init()
|
H A D | ne2000-pci.c | 94 device_add_bootindex_property(obj, &s->c.bootindex, in ne2000_instance_init()
|
H A D | lasi_i82596.c | 156 device_add_bootindex_property(obj, &s->conf.bootindex, in lasi_82596_instance_init()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | vhost-user-fs.h | 42 int32_t bootindex; member
|
H A D | vhost-user-blk.h | 33 int32_t bootindex; member
|
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/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/include/hw/ |
H A D | loader.h | 272 hwaddr addr, int32_t bootindex, 354 ssize_t rom_add_option(const char *file, int32_t bootindex);
|
/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 | 144 object_property_add_alias(obj, "bootindex", OBJECT(&dev->vdev), 145 "bootindex");
|
/openbmc/qemu/docs/system/ppc/ |
H A D | powernv.rst | 91 -device ide-hd,bus=sata0.0,unit=0,drive=drive0,id=ide,bootindex=1 \ 107 …ce scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=2 119 … scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=2 \ 125 -device ide-hd,bus=sata0.0,unit=0,drive=drive0,id=ide,bootindex=1 \
|
/openbmc/qemu/include/hw/block/ |
H A D | block.h | 27 int32_t bootindex; member
|
/openbmc/qemu/docs/config/ |
H A D | q35-virtio-serial.cfg | 161 bootindex = "1" 172 bootindex = "2"
|
/openbmc/qemu/hw/nvme/ |
H A D | ns.c | 849 char *bootindex = g_strdup_printf("/namespace@%d,0", ns->params.nsid); in nvme_ns_instance_init() local 851 device_add_bootindex_property(obj, &ns->bootindex, "bootindex", in nvme_ns_instance_init() 852 bootindex, DEVICE(obj)); in nvme_ns_instance_init() 854 g_free(bootindex); in nvme_ns_instance_init()
|