mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
KVM: Let ioapic know the irq line status
Userspace may deliver RTC interrupt without query the status. So we want to track RTC EOI for this case. Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> Reviewed-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
committed by
Marcelo Tosatti
parent
f3bff6318f
commit
aa2fbe6d44
@@ -2258,7 +2258,8 @@ static long kvm_vm_ioctl(struct file *filp,
|
||||
if (copy_from_user(&irq_event, argp, sizeof irq_event))
|
||||
goto out;
|
||||
|
||||
r = kvm_vm_ioctl_irq_line(kvm, &irq_event);
|
||||
r = kvm_vm_ioctl_irq_line(kvm, &irq_event,
|
||||
ioctl == KVM_IRQ_LINE_STATUS);
|
||||
if (r)
|
||||
goto out;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user