Skip to content

Commit b79edf2

Browse files
committed
ref(core/remio): renamed abs_remio_dev_id to remio_dev_id
Signed-off-by: João Peixoto <[email protected]>
1 parent b0212dc commit b79edf2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core/remio.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,11 +579,11 @@ long int remio_hypercall(unsigned long arg0, unsigned long arg1, unsigned long a
579579
return -HC_E_FAILURE;
580580
}
581581

582-
/** Get the absolute Remote I/O device ID based on the virtual Remote I/O device ID */
583-
unsigned long abs_remio_dev_id = vm->remio_devs[virt_remio_dev_id].id;
582+
/** Get the Remote I/O device ID based on the virtual Remote I/O device ID */
583+
unsigned long remio_dev_id = vm->remio_devs[virt_remio_dev_id].id;
584584

585585
/** Find the Remote I/O device associated with the current backend VM */
586-
device = remio_find_vm_dev_by_id(vm, abs_remio_dev_id);
586+
device = remio_find_vm_dev_by_id(vm, remio_dev_id);
587587
if (device == NULL) {
588588
ERROR("The Remote I/O backend device (%d) is not associated with the current backend VM "
589589
"(%d)",
@@ -599,7 +599,7 @@ long int remio_hypercall(unsigned long arg0, unsigned long arg1, unsigned long a
599599
} else {
600600
/** Send a CPU message to the backend VM to execute the post work */
601601
remio_cpu_send_msg(op == REMIO_HYP_WRITE ? REMIO_CPU_MSG_WRITE : REMIO_CPU_MSG_READ,
602-
cpu_id, abs_remio_dev_id, cpu_id, vcpu_id, 0);
602+
cpu_id, remio_dev_id, cpu_id, vcpu_id, 0);
603603
}
604604
break;
605605
case REMIO_HYP_ASK:

0 commit comments

Comments
 (0)