]> Git Repo - qemu.git/blobdiff - tests/megasas-test.c
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
[qemu.git] / tests / megasas-test.c
index 33aa97042c448e1cb7e3c58d617899de459b5b6f..1111d331d33f03bf4fe98cf17092fa2d4dddb151 100644 (file)
@@ -66,7 +66,7 @@ static void megasas_pd_get_info_fuzz(void *obj, void *data, QGuestAllocator *all
     context[7] = cpu_to_le32(0);
 
     context_pa = guest_alloc(alloc, sizeof(context));
-    memwrite(context_pa, context, sizeof(context));
+    qtest_memwrite(dev->bus->qts, context_pa, context, sizeof(context));
     qpci_io_writel(dev, bar, 0x40, context_pa);
 }
 
This page took 0.023415 seconds and 4 git commands to generate.