diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-01-20 18:07:51 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-02-01 03:37:18 +0200 |
commit | c25d97c4ff37d48aeda395cb5bfb8182b786f0e1 (patch) | |
tree | abb99019fdd02f3cc24dfc9e9852aa9b7f21f2de /hw/virtio | |
parent | ee640c625e190a0c0e6b8966adc0e4720fb75200 (diff) | |
download | qemu-c25d97c4ff37d48aeda395cb5bfb8182b786f0e1.zip qemu-c25d97c4ff37d48aeda395cb5bfb8182b786f0e1.tar.gz qemu-c25d97c4ff37d48aeda395cb5bfb8182b786f0e1.tar.bz2 |
virtio: make virtio_should_notify static
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/virtio')
-rw-r--r-- | hw/virtio/virtio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index f292a53..6365706 100644 --- a/hw/virtio/virtio.c +++ b/hw/virtio/virtio.c @@ -1383,7 +1383,7 @@ static void virtio_set_isr(VirtIODevice *vdev, int value) } } -bool virtio_should_notify(VirtIODevice *vdev, VirtQueue *vq) +static bool virtio_should_notify(VirtIODevice *vdev, VirtQueue *vq) { uint16_t old, new; bool v; |