acrn-hypervisor/hypervisor/include/dm/vroot_port.h
Shuo A Liu 98c80d75b8 hv: dm: Use new virtual device management ioctls
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>
2021-07-15 11:53:54 +08:00

22 lines
365 B
C

/*
* Copyright (c) 2021 Intel Corporation.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#ifndef __VRP_H
#define __VRP_H
#include "vpci.h"
#define VRP_VENDOR 0x8086U
#define VRP_DEVICE 0x9d14U
extern const struct pci_vdev_ops vrp_ops;
int32_t create_vrp(struct acrn_vm *vm, struct acrn_vdev *dev);
int32_t destroy_vrp(struct pci_vdev *vdev);
#endif