dm: Remove the API version check

Interface version is not recommended in Linux kernel community. Please
check Documentation/driver-api/ioctl.rst for reasons.

Remove the unused API version check from acrn-dm.

Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
Shuo A Liu
2021-04-07 11:04:54 +08:00
committed by wenlingz
parent 24b555c75d
commit 6ae5f8388e
2 changed files with 0 additions and 38 deletions

View File

@@ -63,7 +63,6 @@
/* General */
#define IC_ID_GEN_BASE 0x0UL
#define IC_GET_API_VERSION _IC_ID(IC_ID, IC_ID_GEN_BASE + 0x00)
#define IC_GET_PLATFORM_INFO _IC_ID(IC_ID, IC_ID_GEN_BASE + 0x03)
/* VM management */
@@ -282,16 +281,6 @@ struct ioreq_notify {
uint32_t vcpu;
};
/**
* @brief data structure to track VHM API version
*/
struct api_version {
/** major version of VHM API */
uint32_t major_version;
/** minor version of VHM API */
uint32_t minor_version;
};
enum acrn_vm_load_order {
PRE_LAUNCHED_VM = 0,
SOS_VM,