DM: remove unused function vm_create_devmem

Change-Id: I1d6b56688e533a00a484548ed97fd1968f01041d
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
yliu79 2019-05-22 10:39:18 -07:00 committed by ACRN System Integration
parent 75ef7e8458
commit ec924385ae
2 changed files with 0 additions and 8 deletions

View File

@ -378,12 +378,6 @@ vm_get_highmem_size(struct vmctx *ctx)
return ctx->highmem;
}
void *
vm_create_devmem(struct vmctx *ctx, int segid, const char *name, size_t len)
{
return MAP_FAILED;
}
int
vm_run(struct vmctx *ctx)
{

View File

@ -89,8 +89,6 @@ struct vm_isa_irq {
*
* Returns a pointer to the memory segment on success and MAP_FAILED otherwise.
*/
void *vm_create_devmem(struct vmctx *ctx, int segid, const char *name,
size_t len);
int vm_get_device_fd(struct vmctx *ctx);
struct vmctx *vm_create(const char *name, uint64_t req_buf);
void vm_pause(struct vmctx *ctx);