mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-29 21:49:05 +00:00
devicemodel: refactor CMD_OPT_LAPIC_PT case branch
This patch refactors the CMD_OPT_LAPIC_PT case branch
to explicity add the dependency of option RTVM at the
same branch, it is decoupled from the next case branch
to comply with strict code standard and improve the
code readability.
Tracked-On: #4283
Signed-off-by: Gary <gordon.king@intel.com>
This commit is contained in:
@@ -907,6 +907,8 @@ main(int argc, char *argv[])
|
||||
break;
|
||||
case CMD_OPT_LAPIC_PT:
|
||||
lapic_pt = true;
|
||||
is_rtvm = true;
|
||||
break;
|
||||
case CMD_OPT_RTVM:
|
||||
is_rtvm = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user