Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kvm_mips_handle_exit : EXCCODE_INT #25

Open
Martins3 opened this issue Mar 18, 2021 · 4 comments
Open

kvm_mips_handle_exit : EXCCODE_INT #25

Martins3 opened this issue Mar 18, 2021 · 4 comments

Comments

@Martins3
Copy link
Owner

[182208.357867] kvm [22087]: kvm_mips_handle_exit : cause register = 40008000 exit_reason=0
[182208.357926] kvm [22087]: kvm_mips_handle_exit: cause: 0x10804000, PC: 1200018c8, kvm_run: 00000000a3f95d25, kvm_vcpu: 000000001c3b428a cause=40008000
[182208.357931] kvm [22087]: [0]EXCCODE_INT @ 1200018c8
[182208.357934] kvm [22087]: kvm_mips_handle_exit : cause register = 40008000 exit_reason=0
[182208.361137] kvm [22087]: kvm_mips_handle_exit: cause: 0xd0808000, PC: 1200018d4, kvm_run: 00000000a3f95d25, kvm_vcpu: 000000001c3b428a cause=40008000
[182208.361139] kvm [22087]: [0]EXCCODE_INT @ 1200018d4
[182208.361142] kvm [22087]: kvm_mips_handle_exit : cause register = 40008000 exit_reason=0
[182208.365043] kvm [22087]: kvm_mips_handle_exit: cause: 0x50808000, PC: 1200018c8, kvm_run: 00000000a3f95d25, kvm_vcpu: 000000001c3b428a cause=40008000
[182208.365045] kvm [22087]: [0]EXCCODE_INT @ 1200018c8
[182208.365048] kvm [22087]: kvm_mips_handle_exit : cause register = 40008000 exit_reason=0
[182208.368950] kvm [22087]: kvm_mips_handle_exit: cause: 0x50808000, PC: 1200018c8, kvm_run: 00000000a3f95d25, kvm_vcpu: 000000001c3b428a cause=40008000
[182208.368952] kvm [22087]: [0]EXCCODE_INT @ 1200018c8
[182208.368957] kvm [22087]: kvm_mips_handle_exit : cause register = 40008000 exit_reason=0
[182208.371330] kvm [22087]: kvm_mips_handle_exit: cause: 0x10804000, PC: 1200018c8, kvm_run: 00000000a3f95d25, kvm_vcpu: 000000001c3b428a cause=40008000
[182208.371332] kvm [22087]: [0]EXCCODE_INT @ 1200018c8
@Martins3
Copy link
Owner Author

How to shut it down, if it's impossible, find out the evidence.

@Martins3
Copy link
Owner Author

  • find out the interrupt source?

@Martins3
Copy link
Owner Author

  • we should make a test on the Loongarch
    • read value in the guest int register
    • if interrupt happens, how guest got notified?
      就算是从 EXCCODE_INT 出来,CPU 还是要进入到 host 的中断处理函数中间,那么,从那条指令开始进入到 host 的中断处理函数中的?

@Martins3
Copy link
Owner Author

Martins3 commented May 6, 2021

在进入的虚拟机的时候, local_irq_disable(); 那么为什么还是可以接受到中断。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant