DM: remove unused function vm_get_device_fd

Change-Id: I9056838bbf150983c8011706d3d0a07aed043917
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:42:01 -07:00 committed by ACRN System Integration
parent 9224277b5e
commit bd3f34e952
2 changed files with 0 additions and 7 deletions

View File

@ -584,12 +584,6 @@ vm_set_vcpu_regs(struct vmctx *ctx, struct acrn_set_vcpu_regs *vcpu_regs)
return ioctl(ctx->fd, IC_SET_VCPU_REGS, vcpu_regs);
}
int
vm_get_device_fd(struct vmctx *ctx)
{
return ctx->fd;
}
int
vm_get_cpu_state(struct vmctx *ctx, void *state_buf)
{

View File

@ -89,7 +89,6 @@ struct vm_isa_irq {
*
* Returns a pointer to the memory segment on success and MAP_FAILED otherwise.
*/
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);
void vm_reset(struct vmctx *ctx);