Home
last modified time | relevance | path

Searched refs:bootindex (Results 1 – 25 of 67) sorted by relevance

123

/openbmc/qemu/system/
H A Dbootdevice.c38 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 Dbootindex.rst1 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 Dindex.rst34 bootindex
/openbmc/qemu/docs/system/s390x/
H A Dbootdevices.rst4 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 Dsysemu.h54 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 Dam6_init.c97 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 Dide-dev.c133 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 Ddev-storage-classic.c93 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 Dne2000-isa.c106 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 Dlance.c135 device_add_bootindex_property(obj, &s->conf.bootindex, in lance_instance_init()
H A Dne2000-pci.c94 device_add_bootindex_property(obj, &s->c.bootindex, in ne2000_instance_init()
H A Dlasi_i82596.c156 device_add_bootindex_property(obj, &s->conf.bootindex, in lasi_82596_instance_init()
/openbmc/qemu/include/hw/virtio/
H A Dvhost-user-fs.h42 int32_t bootindex; member
H A Dvhost-user-blk.h33 int32_t bootindex; member
H A Dvdpa-dev.h30 int32_t bootindex; member
H A Dvhost-scsi-common.h32 int32_t bootindex; member
/openbmc/qemu/include/hw/s390x/
H A Ds390-ccw.h29 int32_t bootindex; member
/openbmc/qemu/tests/qemu-iotests/
H A D20071 -device scsi-hd,drive=drive_sysdisk,bus=scsi0.0,id=sysdisk,bootindex=0
/openbmc/qemu/include/hw/
H A Dloader.h272 hwaddr addr, int32_t bootindex,
354 ssize_t rom_add_option(const char *file, int32_t bootindex);
/openbmc/qemu/docs/devel/
H A Dwriting-monitor-commands.rst385 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 Dvirtio-backends.rst144 object_property_add_alias(obj, "bootindex", OBJECT(&dev->vdev),
145 "bootindex");
/openbmc/qemu/docs/system/ppc/
H A Dpowernv.rst91 -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 Dblock.h27 int32_t bootindex; member
/openbmc/qemu/docs/config/
H A Dq35-virtio-serial.cfg161 bootindex = "1"
172 bootindex = "2"
/openbmc/qemu/hw/nvme/
H A Dns.c849 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()

123