hv: enable MSI remapping on vm0

When enabled, hypervisor will handle MSI/MSI-X remapping for SOS.

Tracked-On: #1568
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Zide Chen
2018-10-08 17:38:14 -07:00
committed by Xie, Nanlin
parent 8c398f7d7e
commit c1d2499e5c
3 changed files with 10 additions and 8 deletions

View File

@@ -7,10 +7,10 @@
#ifndef VM_H_
#define VM_H_
#include <bsp_extern.h>
#include <vpci.h>
#ifdef CONFIG_PARTITION_MODE
#include <mptable.h>
#include <vpci.h>
#endif
enum vm_privilege_level {
VM_PRIVILEGE_LEVEL_HIGH = 0,
@@ -155,9 +155,9 @@ struct vm {
uint32_t vcpuid_entry_nr, vcpuid_level, vcpuid_xlevel;
struct vcpuid_entry vcpuid_entries[MAX_VM_VCPUID_ENTRIES];
struct vpci vpci;
#ifdef CONFIG_PARTITION_MODE
struct vm_description *vm_desc;
struct vpci vpci;
uint8_t vrtc_offset;
#endif