]> git.proxmox.com Git - qemu.git/blobdiff - memory.c
virtio: Remove unneeded memcpy
[qemu.git] / memory.c
index 886f8389511641a9820893cf2f4e6739c5dbe8ee..5a10fd0bde229f8d1a7cea5a7158259131cdd16d 100644 (file)
--- a/memory.c
+++ b/memory.c
@@ -872,7 +872,7 @@ static uint64_t unassigned_mem_read(void *opaque, hwaddr addr,
     if (current_cpu != NULL) {
         cpu_unassigned_access(current_cpu, addr, false, false, 0, size);
     }
-    return -1ULL;
+    return 0;
 }
 
 static void unassigned_mem_write(void *opaque, hwaddr addr,