mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
1a8e2aaa3f
commit
75422b0d38
4 changed files with 9 additions and 6 deletions
3
net.h
3
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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue