aboutsummaryrefslogtreecommitdiff
path: root/lib/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pci.c')
-rw-r--r--lib/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pci.c b/lib/pci.c
index 4875b25..bd3b4d2 100644
--- a/lib/pci.c
+++ b/lib/pci.c
@@ -200,6 +200,8 @@ handle_erom_write(vfu_ctx_t *ctx, vfu_pci_config_space_t *pci,
pci->hdr.erom = 0;
} else if (v == (uint32_t)~PCI_ROM_ADDRESS_ENABLE) {
vfu_log(ctx, LOG_INFO, "EROM disable ignored");
+ } else if (v == ~0U) {
+ vfu_log(ctx, LOG_INFO, "EROM not implemented");
} else {
vfu_log(ctx, LOG_ERR, "bad write to EROM 0x%x bytes", v);
return ERROR_INT(EINVAL);