hv: rename hypercall for hv-emulated device management

Coding style cleanup, use add/remove 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 21:41:51 +08:00
committed by wenlingz
parent d5bf1a76ff
commit 08c42f91c9
4 changed files with 15 additions and 15 deletions

View File

@@ -65,10 +65,10 @@ static const struct hc_dispatch hc_dispatch_table[] = {
.handler = hcall_assign_mmiodev},
[HC_IDX(HC_DEASSIGN_MMIODEV)] = {
.handler = hcall_deassign_mmiodev},
[HC_IDX(HC_CREATE_VDEV)] = {
.handler = hcall_create_vdev},
[HC_IDX(HC_DESTROY_VDEV)] = {
.handler = hcall_destroy_vdev},
[HC_IDX(HC_ADD_VDEV)] = {
.handler = hcall_add_vdev},
[HC_IDX(HC_REMOVE_VDEV)] = {
.handler = hcall_remove_vdev},
[HC_IDX(HC_SET_PTDEV_INTR_INFO)] = {
.handler = hcall_set_ptdev_intr_info},
[HC_IDX(HC_RESET_PTDEV_INTR_INFO)] = {