diff options
author | Bandan Das <bsd@redhat.com> | 2014-01-15 10:11:52 -0700 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2014-01-15 10:11:52 -0700 |
commit | e638073c569e801ce9def2016a84f955cbbca779 (patch) | |
tree | 0d02ee6f884d2fac77ce56db8b56f8fa9e6f804a /vmstate.c | |
parent | d20b43dfea1587b561aae17e4fa0f7407779d253 (diff) | |
download | qemu-e638073c569e801ce9def2016a84f955cbbca779.tar.gz |
vfio: Do not reattempt a failed rom read
During lazy rom loading, if rom read fails, and the
guest attempts a read again, vfio will again attempt it.
Add a boolean to prevent this. There could be a case where
a failed rom read might succeed the next time because of
a device reset or such, but it's best to exclude unpredictable
behavior
Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'vmstate.c')
0 files changed, 0 insertions, 0 deletions