Re: How to get out of 'vmexit'
Minggui Cao
@Geoffroy
toggle quoted message
Show quoted text
Just confirmed, it is a bug. The vmexit info buffer handling just check the buffer size at the beginning. It need check each time when add info into it. I'll fix it. Thanks! Minggui -----Original Message-----
From: acrn-users@... [mailto:acrn-users@...] On Behalf Of Minggui Cao Sent: Wednesday, October 24, 2018 11:37 AM To: acrn-users@... Subject: Re: [acrn-users] How to get out of 'vmexit' I'll check that, it could be a bug for the command :( -----Original Message----- From: acrn-users@... [mailto:acrn-users@...] On Behalf Of Geoffroy Van Cutsem Sent: Friday, October 19, 2018 9:07 PM To: acrn-users@... Subject: Re: [acrn-users] How to get out of 'vmexit' Thanks for the confirmation. I will see if I can find a different HW to test with. I have tried a few more times on the NUC7i7DNHE and it consistently get stuck... here is what I see: ACRN:\>help Registered Commands: help - Display info about the supported shell commands. vm_list - Lists all VMs (VM Name, VM ID, VM State) vcpu_list - Lists all VCPU in all VMs vcpu_dumpreg <vm id, vcpu id> - Dump registers for a specific vcpu dumpmem <addr, length> - Dump physical memory sos_console - Switch to SOS's console int - show interrupt info per CPU pt - show pass-through device info vioapic <vm id> - show vioapic info <*** Hit any key to continue ***> dump_ioapic - show native ioapic info vmexit - show vmexit profiling logdump <pcpu id> - log buffer dump loglevel [<console_loglevel> [<mem_loglevel> [npk_loglevel]]] - get(para is NULL), or set loglevel [0-6] cpuid <leaf> [subleaf] - cpuid leaf [subleaf], in hexadecimal reboot - trigger system reboot ACRN:\>vmexit Now(us) = 4223430024 REASON CPU0 US CPU1 US CPU2 US CPU3 US CPU4 US CPU5 US CPU6 US S 0x0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x1 14600077 53280313 1247473 4362223 726047 2548496 10126609 10870524 933066 3026782 611489 2023703 594136 2106928 7 0x2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x7 13766650 22260120 714971 1906725 322174 501116 1157524 1340668 310273 478948 293901 450526 343812 542715 7 0x8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0xa 14062 8893 1580 903 1469 830 3486 1904 859 454 2350 1202 1611 840 0 0xb 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0xc 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0xd 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0xe 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0xf 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x12 4065995 5997701 1315958 2137715 1814711 2830901 16 37 811881 1193936 828497 1271607 514511 815656 0 0x13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x17 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x1a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x1b 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x1c 6 1092 7 533 7 536 15 1046 7 532 7 536 7 532 3 0x1d 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x1e 172993 71015 49171 392549 10423 3642 278905 1612 27283 15382 35525 200705 30248 394642 6 0x1f 259 332 111 135 77 105 116 116 82 103 84 104 142 225 1 0x20 13313325 10781969 5415613 5611305 8634729 8196042 2931495 2519242 5893330 4930031 4974863 4188792 3286120 3069792 6 0x21 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x22 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x23 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x24 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x25 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x26 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x27 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x2a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x2b 0 0 0 0 0 0 0 0 0 0 0 0 0 0 And it stays there forever, with no way for me to input anything anymore in there. Note that when that happens, the system is still happily running (SOS and UOS). Geoffroy -----Original Message----- |
|