]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
virtio-blk: dataplane: notify guest as a batch
authorMing Lei <tom.leiming@gmail.com>
Sat, 12 Jul 2014 04:08:53 +0000 (12:08 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 15 Jul 2014 13:34:13 +0000 (15:34 +0200)
commit5b2ffbe4d99843fd8305c573a100047a8c962327
treebeb91143f9df9c61e1746e1aceb3d349072d7367
parente926d9b8c52d5ddf413617df4b341a3114642b14
virtio-blk: dataplane: notify guest as a batch

Now requests are submitted as a batch, so it is natural
to notify guest as a batch too.

This may suppress interrupt notification to VM a lot:

        - in my test, decreased by ~13K/sec

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/block/dataplane/virtio-blk.c