]> git.proxmox.com Git - mirror_qemu.git/commit
kvm: Correct documentation of kvm_irqchip_*()
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 22 Sep 2020 20:36:12 +0000 (16:36 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 14 Oct 2020 19:28:54 +0000 (15:28 -0400)
commit31c707fb4d693068d3f0ab8aa7a1e07ddce5cdca
treee9ff7264832c572009723ddecacef9e3f0163b9c
parenteafa08683fa648ad18e0b57118afa27b6b9c7329
kvm: Correct documentation of kvm_irqchip_*()

When split irqchip support was introduced, the meaning of
kvm_irqchip_in_kernel() changed: now it only means the LAPIC is
in kernel.  The PIC, IOAPIC, and PIT might be in userspace if
irqchip=split was set.  Update the doc comment to reflect that.

While at it, remove the "the user asked us" part in
kvm_irqchip_is_split() doc comment.  That macro has nothing to do
with existence of explicit user-provided options.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200922203612.2178370-1-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/sysemu/kvm.h