DM: add deinit function for bvmcons

Move the bvmcons enable flag from main.c to consport.c.
So we don't need the flag in main.c for bvmcons.

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Yin Fengwei
2018-04-12 17:49:23 +08:00
committed by Jack Ren
parent 4116ddd2a0
commit c8585a22e3
3 changed files with 26 additions and 8 deletions

View File

@@ -75,6 +75,8 @@ int emulate_inout(struct vmctx *ctx, int *pvcpu, struct pio_request *req,
int strict);
int register_inout(struct inout_port *iop);
int unregister_inout(struct inout_port *iop);
void init_bvmcons(void);
int init_bvmcons(void);
void deinit_bvmcons(void);
void enable_bvmcons(void);
#endif /* _INOUT_H_ */