We should combine --pm_notify_channel and --pm_by_vuart into a single parameter. E.g.:
--pm_notify_channel vuart,/dev/ttyS1 means it's a vUART implemented by the hypervisor
--pm_notify_channel vuart,/run/acrn/pm_vmX means it's a vUART implemented by ACRN Device Model ('acrn-dm')
--pm_notify_channel [ioc|power_button] behave as before
We should also make it clear via documentation that:
Using the hypervisor-land vUART is required for an RTVM (to not break its realtime characteristics).
Hypervisor-land vUARTs should be defined in the scenario XML file, else it won't exist (and a meaningful error should be thrown by acrn-dm when attempting to use it)
We should combine
--pm_notify_channel
and--pm_by_vuart
into a single parameter. E.g.:--pm_notify_channel vuart,/dev/ttyS1
means it's a vUART implemented by the hypervisor--pm_notify_channel vuart,/run/acrn/pm_vmX
means it's a vUART implemented by ACRN Device Model ('acrn-dm')--pm_notify_channel [ioc|power_button]
behave as beforeWe should also make it clear via documentation that:
acrn-dm
when attempting to use it)