]> Git Repo - qemu.git/blobdiff - hw/s390x/s390-virtio.c
Switch non-CPU callers from ld/st*_phys to address_space_ld/st*
[qemu.git] / hw / s390x / s390-virtio.c
index bdb538859f5fee3a8a49b4d00a4cb517a7aa24ad..3a1b9ee2d07cee7bd6137d0f4d51f1387c1ef697 100644 (file)
@@ -97,7 +97,9 @@ static int s390_virtio_hcall_reset(const uint64_t *args)
         return -EINVAL;
     }
     virtio_reset(dev->vdev);
-    stb_phys(&address_space_memory, dev->dev_offs + VIRTIO_DEV_OFFS_STATUS, 0);
+    address_space_stb(&address_space_memory,
+                      dev->dev_offs + VIRTIO_DEV_OFFS_STATUS, 0,
+                      MEMTXATTRS_UNSPECIFIED, NULL);
     s390_virtio_device_sync(dev);
     s390_virtio_reset_idx(dev);
 
This page took 0.022835 seconds and 4 git commands to generate.