HV: ptdev: convert vectors in msi_info to unsigned integers

Vectors are unsigned integers now. This patch converts the vectors in struct
ptdev_msi_info to uint32_t so that all variables representing interrupt vectors
are aligned.

No other changes needed except the type declarators since the other functions
manipulating vectors already takes/returns uint32_t.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Junjie Mao 2018-06-21 18:57:35 +08:00 committed by lijinxia
parent 3027bfab10
commit f52a25db7e

View File

@ -29,8 +29,8 @@ struct ptdev_msi_info {
uint32_t pmsi_data; /* phys msi_data */
int msix; /* 0-MSI, 1-MSIX */
int msix_entry_index; /* MSI: 0, MSIX: index of vector table*/
int virt_vector;
int phys_vector;
uint32_t virt_vector;
uint32_t phys_vector;
};
/* entry per guest vioapic pin */