mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-03 04:39:50 +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:
parent
77c3ce06e1
commit
cdf9d6b3a6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user