diff options
Diffstat (limited to 'drivers/kvm/i8259.c')
-rw-r--r-- | drivers/kvm/i8259.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/kvm/i8259.c b/drivers/kvm/i8259.c index 40ad1046223..ee6030dc5c0 100644 --- a/drivers/kvm/i8259.c +++ b/drivers/kvm/i8259.c | |||
@@ -413,8 +413,11 @@ static void picdev_read(struct kvm_io_device *this, | |||
413 | static void pic_irq_request(void *opaque, int level) | 413 | static void pic_irq_request(void *opaque, int level) |
414 | { | 414 | { |
415 | struct kvm *kvm = opaque; | 415 | struct kvm *kvm = opaque; |
416 | struct kvm_vcpu *vcpu = kvm->vcpus[0]; | ||
416 | 417 | ||
417 | pic_irqchip(kvm)->output = level; | 418 | pic_irqchip(kvm)->output = level; |
419 | if (vcpu) | ||
420 | kvm_vcpu_kick(vcpu); | ||
418 | } | 421 | } |
419 | 422 | ||
420 | struct kvm_pic *kvm_create_pic(struct kvm *kvm) | 423 | struct kvm_pic *kvm_create_pic(struct kvm *kvm) |