qemu-patch-raspberry4/hw/ide
Gonglei d2b186f96d ide: add calling add_boot_device_patch in bootindex setter function
On this way, we can assure the new bootindex take effect
during vm rebooting. Meanwhile set the initial value of
bootindex to -1.

Because ide devcies's unit property maybe
do not initialize when set_bootindex function is called,
so that we don't know its suffix. So we have to save the
call add_boot_device_path() on ide realize/init function.
When we want to change bootindex during vm rebooting, we
can call it in setter function.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2014-10-15 10:45:51 +02:00
..
ahci.c q35/ahci: Pick up -cdrom and -hda options 2014-10-03 10:30:33 +01:00
ahci.h q35/ahci: Pick up -cdrom and -hda options 2014-10-03 10:30:33 +01:00
atapi.c ide/atapi: Mark non-data commands as complete 2014-09-22 11:38:44 +01:00
cmd646.c SCSI changes that enable sending vendor-specific commands via virtio-scsi. 2014-08-19 13:00:57 +01:00
core.c ide: Update ide_drive_get to be HBA agnostic 2014-10-03 10:30:33 +01:00
ich.c ahci: MSI capability should be at 0x80, not 0x50. 2014-09-22 11:39:39 +01:00
internal.h ide: make all commands go through cmd_done 2014-08-15 18:03:12 +01:00
isa.c savevm: Remove all the unneeded version_minimum_id_old (x86) 2014-06-16 04:55:26 +02:00
macio.c block: Make the block accounting functions operate on BlockAcctStats 2014-09-10 10:41:29 +02:00
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
microdrive.c block: Drop some superfluous casts from void * 2014-08-20 11:51:28 +02:00
mmio.c IDE: MMIO IDE device control should be little endian 2014-09-10 10:41:29 +02:00
pci.c ide: move retry constants out of BM_STATUS_* namespace 2014-08-15 18:03:12 +01:00
pci.h ide: move BM_STATUS bits to pci.[ch] 2014-08-15 18:03:12 +01:00
piix.c xen: Drop redundant bdrv_close() from pci_piix3_xen_ide_unplug() 2014-09-10 10:41:29 +02:00
qdev.c ide: add calling add_boot_device_patch in bootindex setter function 2014-10-15 10:45:51 +02:00
via.c memory: remove memory_region_destroy 2014-08-18 12:06:21 +02:00