mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 14:33:38 +00:00
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:
parent
9224277b5e
commit
bd3f34e952
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user