mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
pci-assign: assignment should fail if we can't read config space
assigned_initfn() get_real_device() read() Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
42ee4194f2
commit
f3455d4704
1 changed files with 1 additions and 0 deletions
|
@ -576,6 +576,7 @@ again:
|
||||||
goto again;
|
goto again;
|
||||||
}
|
}
|
||||||
error_report("%s: read failed, errno = %d", __func__, errno);
|
error_report("%s: read failed, errno = %d", __func__, errno);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Restore or clear multifunction, this is always controlled by qemu */
|
/* Restore or clear multifunction, this is always controlled by qemu */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue