[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 14/16] virtio: make virtio_should_notify static
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PULL 14/16] virtio: make virtio_should_notify static |
Date: |
Wed, 25 Jan 2017 00:37:04 +0200 |
From: Paolo Bonzini <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
---
include/hw/virtio/virtio.h | 1 -
hw/virtio/virtio.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
index 6523bac..525da24 100644
--- a/include/hw/virtio/virtio.h
+++ b/include/hw/virtio/virtio.h
@@ -182,7 +182,6 @@ void virtqueue_get_avail_bytes(VirtQueue *vq, unsigned int
*in_bytes,
unsigned int *out_bytes,
unsigned max_in_bytes, unsigned max_out_bytes);
-bool virtio_should_notify(VirtIODevice *vdev, VirtQueue *vq);
void virtio_notify_irqfd(VirtIODevice *vdev, VirtQueue *vq);
void virtio_notify(VirtIODevice *vdev, VirtQueue *vq);
diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
index cc17b97..b1c5563 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;
--
MST
- [Qemu-devel] [PULL 04/16] ARRAY_SIZE: check that argument is an array, (continued)
- [Qemu-devel] [PULL 04/16] ARRAY_SIZE: check that argument is an array, Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 05/16] pci: mark ROMs read-only, Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 07/16] hw/pcie: Introduce a base class for PCI Express Root Ports, Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 06/16] intel_iommu: fix and simplify size calculation in process_device_iotlb_desc(), Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 08/16] hw/ioh3420: derive from PCI Express Root Port base class, Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 09/16] hw/pcie: Introduce Generic PCI Express Root Port, Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 10/16] hw/i386: check if nvdimm is enabled before plugging, Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 11/16] msix: Follow CODING_STYLE, Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 12/16] hcd-xhci: check & correct param before using it, Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 15/16] vhost: skip ROM sections, Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 14/16] virtio: make virtio_should_notify static,
Michael S. Tsirkin <=
- [Qemu-devel] [PULL 13/16] pci: Convert msix_init() to Error and fix callers, Michael S. Tsirkin, 2017/01/24
- [Qemu-devel] [PULL 16/16] vhost-user: delete chardev on cleanup, Michael S. Tsirkin, 2017/01/24
- Re: [Qemu-devel] [PULL 00/16] virtio, vhost, pci: fixes, features, Peter Maydell, 2017/01/25
- Re: [Qemu-devel] [PULL 00/16] virtio, vhost, pci: fixes, features, Marcel Apfelbaum, 2017/01/25
- Re: [Qemu-devel] [PULL 00/16] virtio, vhost, pci: fixes, features, Peter Maydell, 2017/01/25
- Re: [Qemu-devel] [PULL 00/16] virtio, vhost, pci: fixes, features, Marcel Apfelbaum, 2017/01/25
- Re: [Qemu-devel] [PULL 00/16] virtio, vhost, pci: fixes, features, Peter Maydell, 2017/01/25
- Re: [Qemu-devel] [PULL 00/16] virtio, vhost, pci: fixes, features, Michael S. Tsirkin, 2017/01/25