diff options
author | Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com> | 2023-02-21 12:31:08 +0100 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-03 15:18:54 +0300 |
commit | 7dc0d72ab800c9d65d44cc3ba41f2bc3083c1d48 (patch) | |
tree | 46392f562520e0508389bbae30c609c0e10853e1 /virtio_loopback.c | |
parent | 9a58d030b9d4d7db297ed0b5d716580526058f78 (diff) |
Update virtio-loopback-adapter Delta release:
- Remove static build
- Correct the configuration exchange
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
Diffstat (limited to 'virtio_loopback.c')
-rw-r--r-- | virtio_loopback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtio_loopback.c b/virtio_loopback.c index 1e40136..0eaac50 100644 --- a/virtio_loopback.c +++ b/virtio_loopback.c @@ -1415,7 +1415,7 @@ uint32_t virtio_config_readw(VirtIODevice *vdev, uint32_t addr) k->get_config(vdev, vdev->config); - memcpy(&val, (uint16_t *)(vdev->config + addr), sizeof(uint64_t)); + memcpy(&val, (uint16_t *)(vdev->config + addr), sizeof(uint16_t)); return val; } |