mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 14:33:38 +00:00
If PTM can be enabled on passthru device, a virtual root port is added to vm to act as ptm root. And the passthru device is connected to the virtual root port instead of the virtual host bridge. Tracked-On: #5915 Signed-off-by: Rong Liu <rong.l.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
16 lines
243 B
C
16 lines
243 B
C
/*
|
|
* Copyright (C) 2021 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
*/
|
|
|
|
#ifndef __PTM_H__
|
|
#define __PTM_H__
|
|
|
|
#include "passthru.h"
|
|
|
|
int ptm_probe(struct vmctx *ctx, struct passthru_dev *pdev, int *vrp_sec_bus);
|
|
|
|
#endif
|