aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pci.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/pci.c b/lib/pci.c
index 1cb0c62..4875b25 100644
--- a/lib/pci.c
+++ b/lib/pci.c
@@ -233,6 +233,11 @@ pci_hdr_write(vfu_ctx_t *vfu_ctx, const char *buf, loff_t offset)
cfg_space->hdr.intr.iline = buf[0];
vfu_log(vfu_ctx, LOG_DEBUG, "ILINE=%0x", cfg_space->hdr.intr.iline);
break;
+ case PCI_CACHE_LINE_SIZE:
+ cfg_space->hdr.cls = (uint8_t)buf[0];
+ vfu_log(vfu_ctx, LOG_DEBUG, "cache line size set to %#hhx",
+ cfg_space->hdr.cls);
+ break;
case PCI_LATENCY_TIMER:
cfg_space->hdr.mlt = (uint8_t)buf[0];
vfu_log(vfu_ctx, LOG_INFO, "set to latency timer to %hhx",