bootindex: move calling add_boot_device_patch to bootindex setter function
commitd749e10c4f97a0239180215c6d7d18712361a430
authorGonglei <arei.gonglei@huawei.com>
Tue, 7 Oct 2014 08:00:36 +0000 (7 16:00 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Oct 2014 08:46:01 +0000 (15 10:46 +0200)
tree9772a48a6a203f4e21ab1ad2166f6473bfd053d1
parentd2b186f96d19c1f8a6b7e528ff32c24096d5b204
bootindex: move calling add_boot_device_patch to bootindex setter function

On this way, we can assure the new bootindex take effect
during vm rebooting.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
18 files changed:
bootdevice.c
hw/block/fdc.c
hw/block/virtio-blk.c
hw/i386/kvm/pci-assign.c
hw/misc/vfio.c
hw/net/e1000.c
hw/net/eepro100.c
hw/net/ne2000.c
hw/net/pcnet.c
hw/net/rtl8139.c
hw/net/spapr_llan.c
hw/net/virtio-net.c
hw/net/vmxnet3.c
hw/scsi/scsi-disk.c
hw/scsi/scsi-generic.c
hw/usb/dev-network.c
hw/usb/host-libusb.c
hw/usb/redirect.c