Searched hist:"76 d93e146768dde7e38b6e5e43c27e478ccb580e" (Results 1 – 2 of 2) sorted by relevance
/qemu/hw/ppc/ |
H A D | ppc.c | 76d93e146768dde7e38b6e5e43c27e478ccb580e Fri Jul 21 07:37:34 UTC 2023 jianchunfu <chunfu.jian@shingroup.cn> target/ppc: Fix the order of kvm_enable judgment about kvmppc_set_interrupt()
It's unnecessary for non-KVM accelerators(TCG, for example), to call this function, so change the order of kvm_enable() judgment.
The static inline function that returns -1 directly does not work in TCG's situation.
Signed-off-by: jianchunfu <chunfu.jian@shingroup.cn> Tested-by: Gautam Menghani <gautam@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
|
/qemu/target/ppc/ |
H A D | kvm.c | 76d93e146768dde7e38b6e5e43c27e478ccb580e Fri Jul 21 07:37:34 UTC 2023 jianchunfu <chunfu.jian@shingroup.cn> target/ppc: Fix the order of kvm_enable judgment about kvmppc_set_interrupt()
It's unnecessary for non-KVM accelerators(TCG, for example), to call this function, so change the order of kvm_enable() judgment.
The static inline function that returns -1 directly does not work in TCG's situation.
Signed-off-by: jianchunfu <chunfu.jian@shingroup.cn> Tested-by: Gautam Menghani <gautam@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
|