diff options
| author | Klaus Jensen <k.jensen@samsung.com> | 2020-03-30 22:22:38 +0200 |
|---|---|---|
| committer | Klaus Jensen <k.jensen@samsung.com> | 2020-09-02 08:48:50 +0200 |
| commit | 904248a53f3506fc41d30c6ef63d3ee7692d76d5 (patch) | |
| tree | 3067796f5019e5a7c7bfe6faafea729c5c2b05f5 /util/qemu-timer.c | |
| parent | a80b2ce68251cf5b11c450173128f29223045b9c (diff) | |
| download | focaccia-qemu-904248a53f3506fc41d30c6ef63d3ee7692d76d5.tar.gz focaccia-qemu-904248a53f3506fc41d30c6ef63d3ee7692d76d5.zip | |
hw/block/nvme: replace dma_acct with blk_acct equivalent
The QSG isn't always initialized, so accounting could be wrong. Issue a call to blk_acct_start instead with the size taken from the QSG or IOV depending on the kind of I/O. Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Diffstat (limited to 'util/qemu-timer.c')
0 files changed, 0 insertions, 0 deletions