Skip to content

Commit

Permalink
Fix virtIO MMIO QueueNotify field
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermbrown authored and Ivan-Velickovic committed Jan 30, 2024
1 parent 9b8afc8 commit aa2d3b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/virtio/mmio.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ static bool handle_virtio_mmio_reg_write(virtio_device_t *dev, size_t vcpu_id, s
}
break;
case REG_RANGE(REG_VIRTIO_MMIO_QUEUE_NOTIFY, REG_VIRTIO_MMIO_INTERRUPT_STATUS):
dev->data.QueueNotify = (uint32_t)data;
success = dev->funs->queue_notify(dev);
break;
case REG_RANGE(REG_VIRTIO_MMIO_INTERRUPT_ACK, REG_VIRTIO_MMIO_STATUS):
Expand Down

0 comments on commit aa2d3b3

Please sign in to comment.