diff options
author | Edgar E. Iglesias | 2013-12-17 06:29:06 +0100 |
---|---|---|
committer | Edgar E. Iglesias | 2014-02-11 13:57:38 +0100 |
commit | db3be60deb01af6ee72edc7fa13f0ff820029831 (patch) | |
tree | df36af25ce0bc97942c572f2e81d77c495704353 /hw/s390x/s390-virtio.c | |
parent | exec: Make stw_*_phys input an AddressSpace (diff) | |
download | qemu-db3be60deb01af6ee72edc7fa13f0ff820029831.tar.gz qemu-db3be60deb01af6ee72edc7fa13f0ff820029831.tar.xz qemu-db3be60deb01af6ee72edc7fa13f0ff820029831.zip |
exec: Make stb_phys input an AddressSpace
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'hw/s390x/s390-virtio.c')
-rw-r--r-- | hw/s390x/s390-virtio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/s390-virtio.c b/hw/s390x/s390-virtio.c index 7adf92af51..9eeda97920 100644 --- a/hw/s390x/s390-virtio.c +++ b/hw/s390x/s390-virtio.c @@ -91,7 +91,7 @@ static int s390_virtio_hcall_reset(const uint64_t *args) return -EINVAL; } virtio_reset(dev->vdev); - stb_phys(dev->dev_offs + VIRTIO_DEV_OFFS_STATUS, 0); + stb_phys(&address_space_memory, dev->dev_offs + VIRTIO_DEV_OFFS_STATUS, 0); s390_virtio_device_sync(dev); s390_virtio_reset_idx(dev); |