dm: rename ioctl command for hv-emulated management

Use add/remove device instead of create/destroy.

Tracked-On: #5586
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
Yonghua Huang
2020-12-05 22:06:56 +08:00
committed by wenlingz
parent 08c42f91c9
commit 06e9220794
5 changed files with 12 additions and 12 deletions

View File

@@ -136,8 +136,8 @@ int vm_set_ptdev_intx_info(struct vmctx *ctx, uint16_t virt_bdf,
uint16_t phys_bdf, int virt_pin, int phys_pin, bool pic_pin);
int vm_reset_ptdev_intx_info(struct vmctx *ctx, uint16_t virt_bdf,
uint16_t phys_bdf, int virt_pin, bool pic_pin);
int vm_create_hv_vdev(struct vmctx *ctx, struct acrn_emul_dev *dev);
int vm_destroy_hv_vdev(struct vmctx *ctx, struct acrn_emul_dev *dev);
int vm_add_hv_vdev(struct vmctx *ctx, struct acrn_emul_dev *dev);
int vm_remove_hv_vdev(struct vmctx *ctx, struct acrn_emul_dev *dev);
int acrn_parse_cpu_affinity(char *arg);
int vm_create_vcpu(struct vmctx *ctx, uint16_t vcpu_id);