Revision 84a69356 dma-helpers.c

b/dma-helpers.c
235 235
{
236 236
    return dma_buf_rw(ptr, len, sg, 1);
237 237
}
238

  
239
void dma_acct_start(BlockDriverState *bs, BlockAcctCookie *cookie,
240
                    QEMUSGList *sg, enum BlockAcctType type)
241
{
242
    bdrv_acct_start(bs, cookie, sg->size, type);
243
}

Also available in: Unified diff