mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
hv: ptdev: simplify struct ptdev_msi_info
The virt_vector/phys_vector are only used for debugging. Rename msix to is_msix. Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -43,9 +43,7 @@ struct ptdev_msi_info {
|
||||
uint16_t vmsi_ctl; /* virt msi_ctl */
|
||||
uint32_t pmsi_addr; /* phys msi_addr */
|
||||
uint32_t pmsi_data; /* phys msi_data */
|
||||
int msix; /* 0-MSI, 1-MSIX */
|
||||
uint32_t virt_vector;
|
||||
uint32_t phys_vector;
|
||||
int is_msix; /* 0-MSI, 1-MSIX */
|
||||
};
|
||||
|
||||
/* entry per each allocated irq/vector
|
||||
|
||||
Reference in New Issue
Block a user