mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-21 19:01:55 +00:00
hv: add a new field pt_p2sb_bar to struct acrn_vm_config
On EHL platform, we need to pass through P2SB bridge to pre-launched VM. Use pt_p2sb_bar to indicate whether to passthru p2sb bridge to pre-launched VM or not. Tracked-On: #5221 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
This commit is contained in:
parent
678d8c1665
commit
10d4773f1d
@ -177,7 +177,7 @@ struct acrn_vm_config {
|
|||||||
struct acrn_vm_os_config os_config; /* OS information the VM */
|
struct acrn_vm_os_config os_config; /* OS information the VM */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* below are varaible length members (per build).
|
* below are variable length members (per build).
|
||||||
* SOS can get the vm_configs[] array through hypercall, but SOS may not
|
* SOS can get the vm_configs[] array through hypercall, but SOS may not
|
||||||
* need to parse these members.
|
* need to parse these members.
|
||||||
*/
|
*/
|
||||||
@ -189,6 +189,8 @@ struct acrn_vm_config {
|
|||||||
|
|
||||||
bool pt_tpm2;
|
bool pt_tpm2;
|
||||||
struct acrn_mmiodev mmiodevs[MAX_MMIO_DEV_NUM];
|
struct acrn_mmiodev mmiodevs[MAX_MMIO_DEV_NUM];
|
||||||
|
|
||||||
|
bool pt_p2sb_bar; /* whether to passthru p2sb bridge to pre-launched VM or not */
|
||||||
} __aligned(8);
|
} __aligned(8);
|
||||||
|
|
||||||
struct acrn_vm_config *get_vm_config(uint16_t vm_id);
|
struct acrn_vm_config *get_vm_config(uint16_t vm_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user