Revision df32fd1c hw/scsi/vmw_pvscsi.c
b/hw/scsi/vmw_pvscsi.c | ||
---|---|---|
617 | 617 |
{ |
618 | 618 |
PCIDevice *d = PCI_DEVICE(s); |
619 | 619 |
|
620 |
qemu_sglist_init(&r->sgl, 1, pci_dma_context(d));
|
|
620 |
pci_dma_sglist_init(&r->sgl, d, 1);
|
|
621 | 621 |
if (r->req.flags & PVSCSI_FLAG_CMD_WITH_SG_LIST) { |
622 | 622 |
pvscsi_convert_sglist(r); |
623 | 623 |
} else { |
Also available in: Unified diff