vfio: Correction in vfio_rom_read when attempting rom loading
commitdb01eedb6d883a1fed5b4079f8a6ff048b9c1217
authorBandan Das <bsd@redhat.com>
Tue, 25 Mar 2014 14:24:20 +0000 (25 08:24 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 25 Mar 2014 14:24:20 +0000 (25 08:24 -0600)
treed46cacad80490d6683c34485c575b2538f596cd9
parent839a5547574e57cce62f49bfc50fe1f04b00589a
vfio: Correction in vfio_rom_read when attempting rom loading

commit e638073c569e801ce9de added a flag to track whether
a previous rom read had failed. Accidentally, the code
ended up adding vfio_load_option_rom twice. (Thanks to Alex
for spotting it)

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/misc/vfio.c