We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef1f4e commit cb49dfcCopy full SHA for cb49dfc
util/vfio-helpers.c
@@ -660,13 +660,13 @@ static bool qemu_vfio_verify_mappings(QEMUVFIOState *s)
660
if (QEMU_VFIO_DEBUG) {
661
for (i = 0; i < s->nr_mappings - 1; ++i) {
662
if (!(s->mappings[i].host < s->mappings[i + 1].host)) {
663
- fprintf(stderr, "item %d not sorted!\n", i);
+ error_report("item %d not sorted!", i);
664
qemu_vfio_dump_mappings(s);
665
return false;
666
}
667
if (!(s->mappings[i].host + s->mappings[i].size <=
668
s->mappings[i + 1].host)) {
669
- fprintf(stderr, "item %d overlap with next!\n", i);
+ error_report("item %d overlap with next!", i);
670
671
672
0 commit comments