HV: increase UOS VIOAPIC pin count

To avoid UOS virtual GSI sharing

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
This commit is contained in:
Edwin Zhai
2018-05-15 09:37:37 +08:00
committed by lijinxia
parent 3efef5790c
commit e1bb372763
2 changed files with 8 additions and 2 deletions

View File

@@ -63,6 +63,13 @@
#define REQUEST_READ 0
#define REQUEST_WRITE 1
/* IOAPIC device model info */
#define VIOAPIC_RTE_NUM 48 /* vioapic pins */
#if VIOAPIC_RTE_NUM < 24
#error "VIOAPIC_RTE_NUM must be larger than 23"
#endif
/* Generic VM flags from guest OS */
#define SECURE_WORLD_ENABLED (1UL<<0) /* Whether secure world is enabled */