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 704381b commit dec517eCopy full SHA for dec517e
src/core/remio.c
@@ -449,6 +449,9 @@ void remio_init(void)
449
for (size_t i = 0; i < vm_config->platform.remio_dev_num; i++) {
450
struct remio_dev* dev = &vm_config->platform.remio_devs[i];
451
struct remio_device* device = remio_find_dev_by_id(dev->id);
452
+ if (device == NULL) {
453
+ ERROR("Failed to find Remote I/O device %d", dev->id);
454
+ }
455
if (dev->type == REMIO_DEV_BACKEND) {
456
device->config.backend.vm_id = vm_id;
457
device->config.backend.interrupt = dev->interrupt;
0 commit comments