mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-02 21:46:58 +00:00
IC_ADD_HV_VDEV -> ACRN_IOCTL_CREATE_VDEV IC_REMOVE_HV_VDEV -> ACRN_IOCTL_DESTROY_VDEV struct acrn_emul_dev -> struct acrn_vdev Also, move struct acrn_vdev to acrn_common.h as this structure is used by both DM and HV. Tracked-On: #6282 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
19 lines
448 B
C
19 lines
448 B
C
/*
|
|
* Copyright (C) 2020 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef VMCS9900_H
|
|
#define VMCS9900_H
|
|
|
|
#define MCS9900_VENDOR 0x9710U
|
|
#define MCS9900_DEV 0x9900U
|
|
|
|
extern const struct pci_vdev_ops vmcs9900_ops;
|
|
void trigger_vmcs9900_msix(struct pci_vdev *vdev);
|
|
int32_t create_vmcs9900_vdev(struct acrn_vm *vm, struct acrn_vdev *dev);
|
|
int32_t destroy_vmcs9900_vdev(struct pci_vdev *vdev);
|
|
|
|
#endif
|