diff options
Diffstat (limited to 'src/dev/virtio/base.cc')
-rw-r--r-- | src/dev/virtio/base.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dev/virtio/base.cc b/src/dev/virtio/base.cc index 44cce65c4..06c6e3452 100644 --- a/src/dev/virtio/base.cc +++ b/src/dev/virtio/base.cc @@ -422,7 +422,6 @@ void VirtIODeviceBase::readConfigBlob(PacketPtr pkt, Addr cfgOffset, const uint8_t *cfg) { const unsigned size(pkt->getSize()); - pkt->allocate(); if (cfgOffset + size > configSize) panic("Config read out of bounds.\n"); @@ -434,7 +433,6 @@ void VirtIODeviceBase::writeConfigBlob(PacketPtr pkt, Addr cfgOffset, uint8_t *cfg) { const unsigned size(pkt->getSize()); - pkt->allocate(); if (cfgOffset + size > configSize) panic("Config write out of bounds.\n"); |