diff options
Diffstat (limited to 'src/dev/virtio/base.cc')
-rw-r--r-- | src/dev/virtio/base.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dev/virtio/base.cc b/src/dev/virtio/base.cc index 06c6e3452..a65fe7fa4 100644 --- a/src/dev/virtio/base.cc +++ b/src/dev/virtio/base.cc @@ -426,6 +426,7 @@ VirtIODeviceBase::readConfigBlob(PacketPtr pkt, Addr cfgOffset, const uint8_t *c if (cfgOffset + size > configSize) panic("Config read out of bounds.\n"); + pkt->makeResponse(); pkt->setData(const_cast<uint8_t *>(cfg) + cfgOffset); } @@ -437,6 +438,7 @@ VirtIODeviceBase::writeConfigBlob(PacketPtr pkt, Addr cfgOffset, uint8_t *cfg) if (cfgOffset + size > configSize) panic("Config write out of bounds.\n"); + pkt->makeResponse(); pkt->writeData((uint8_t *)cfg + cfgOffset); } |