mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-05 15:06:58 +00:00
Previously I/O emulation completion mode mode was configured in Kconfig: config IOREQ_NOTIFICATION bool "Notification mode" help When I/O request is completed, SOS will mark the completion status and notify hypervisor via hypercall. Hypervisor will finish the post work when notification is received. config IOREQ_POLLING bool "Polling mode" help When I/O request is completed, SOS will only mark completion status without notifying hypervisor. Hypervisor will poll the completion status and finish the post work. Now move this configuration to guest_flags of acrn_vm_config struct. if ((vm_config->guest_flags & IO_COMPLETION_POLLING) != 0U) { I/O with polling; } else { I/O with notification; } Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
apl-mrb | ||
dnv-cb2 |