aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-02-25 17:24:43 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-08 11:30:09 -0600
commit75422b0d38029d2e098309da4dd7199dc7b2d2a9 (patch)
treeab5c58bc5ee0cf64c0dc43e610f7c8c04b065937 /net.h
parent1a8e2aaa3fb495e7f3d2ace1900fc104151b1b28 (diff)
downloadqemu-75422b0d38029d2e098309da4dd7199dc7b2d2a9.zip
qemu-75422b0d38029d2e098309da4dd7199dc7b2d2a9.tar.gz
qemu-75422b0d38029d2e098309da4dd7199dc7b2d2a9.tar.bz2
qdev: Add a DEV_NVECTORS_UNSPECIFIED enum for unspecified nr of MSI vectors
net.c used a constant to signify no MSI vectors were specified. Extend that to all qdev devices. Signed-off-by: Amit Shah <amit.shah@redhat.com> Reported-by: "Michael S. Tsirkin" <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
-rw-r--r--net.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/net.h b/net.h
index 33a1eaf..16f19c5 100644
--- a/net.h
+++ b/net.h
@@ -123,9 +123,6 @@ void do_set_link(Monitor *mon, const QDict *qdict);
/* NIC info */
#define MAX_NICS 8
-enum {
- NIC_NVECTORS_UNSPECIFIED = -1
-};
struct NICInfo {
uint8_t macaddr[6];