aboutsummaryrefslogtreecommitdiff
path: root/hw/msix.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-06-04 16:56:01 +0200
committerMichael S. Tsirkin <mst@robin.(none)>2012-06-18 10:21:04 +0300
commit393a98924eb00df76231384b86652e1d5f964d67 (patch)
tree895f71570b4fff16634eb246deb1413b0497128b /hw/msix.h
parent80aa796bf38b7ef21daa42673b4711510c450d8a (diff)
downloadqemu-393a98924eb00df76231384b86652e1d5f964d67.zip
qemu-393a98924eb00df76231384b86652e1d5f964d67.tar.gz
qemu-393a98924eb00df76231384b86652e1d5f964d67.tar.bz2
msix: drop unused msix_bar_size, require valid bar_size
No user in sight for msix_bar_size. bar_size for all users is aligned, let's simply require this instead of trying to fix up invalid input. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/msix.h')
-rw-r--r--hw/msix.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/msix.h b/hw/msix.h
index 50aee82..e5a488d 100644
--- a/hw/msix.h
+++ b/hw/msix.h
@@ -21,8 +21,6 @@ void msix_load(PCIDevice *dev, QEMUFile *f);
int msix_enabled(PCIDevice *dev);
int msix_present(PCIDevice *dev);
-uint32_t msix_bar_size(PCIDevice *dev);
-
int msix_vector_use(PCIDevice *dev, unsigned vector);
void msix_vector_unuse(PCIDevice *dev, unsigned vector);
void msix_unuse_all_vectors(PCIDevice *dev);