-
Jan Kiszka authored
To both avoid that kvm_irqchip_in_kernel always has to be paired with kvm_enabled and that the former ends up in a function call, implement it like the latter. This means keeping the state in a global variable and defining kvm_irqchip_in_kernel as a preprocessor macro. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>Jan Kiszka authoredTo both avoid that kvm_irqchip_in_kernel always has to be paired with kvm_enabled and that the former ends up in a function call, implement it like the latter. This means keeping the state in a global variable and defining kvm_irqchip_in_kernel as a preprocessor macro. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
Loading