Commit 00116795 authored by Miaohe Lin's avatar Miaohe Lin Committed by Paolo Bonzini

KVM: Fix some grammar mistakes

Fix some grammar mistakes in the comments.
Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 67b0ae43
...@@ -189,7 +189,7 @@ static int ioapic_set_irq(struct kvm_ioapic *ioapic, unsigned int irq, ...@@ -189,7 +189,7 @@ static int ioapic_set_irq(struct kvm_ioapic *ioapic, unsigned int irq,
/* /*
* Return 0 for coalesced interrupts; for edge-triggered interrupts, * Return 0 for coalesced interrupts; for edge-triggered interrupts,
* this only happens if a previous edge has not been delivered due * this only happens if a previous edge has not been delivered due
* do masking. For level interrupts, the remote_irr field tells * to masking. For level interrupts, the remote_irr field tells
* us if the interrupt is waiting for an EOI. * us if the interrupt is waiting for an EOI.
* *
* RTC is special: it is edge-triggered, but userspace likes to know * RTC is special: it is edge-triggered, but userspace likes to know
......
...@@ -964,7 +964,7 @@ bool kvm_irq_delivery_to_apic_fast(struct kvm *kvm, struct kvm_lapic *src, ...@@ -964,7 +964,7 @@ bool kvm_irq_delivery_to_apic_fast(struct kvm *kvm, struct kvm_lapic *src,
} }
/* /*
* This routine tries to handler interrupts in posted mode, here is how * This routine tries to handle interrupts in posted mode, here is how
* it deals with different cases: * it deals with different cases:
* - For single-destination interrupts, handle it in posted mode * - For single-destination interrupts, handle it in posted mode
* - Else if vector hashing is enabled and it is a lowest-priority * - Else if vector hashing is enabled and it is a lowest-priority
......
...@@ -964,7 +964,7 @@ static struct kvm_memslots *install_new_memslots(struct kvm *kvm, ...@@ -964,7 +964,7 @@ static struct kvm_memslots *install_new_memslots(struct kvm *kvm,
/* /*
* Increment the new memslot generation a second time, dropping the * Increment the new memslot generation a second time, dropping the
* update in-progress flag and incrementing then generation based on * update in-progress flag and incrementing the generation based on
* the number of address spaces. This provides a unique and easily * the number of address spaces. This provides a unique and easily
* identifiable generation number while the memslots are in flux. * identifiable generation number while the memslots are in flux.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment