diff options
author | He, Qing <qing.he@intel.com> | 2007-07-26 04:05:18 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 04:18:25 -0400 |
commit | 6ceb9d791eeeb0a5493958f5d6d4dc7d91e59cf7 (patch) | |
tree | 8cef21acf9346fdbea36075029dc007fe969b51e /drivers/kvm/irq.h | |
parent | 9cf98828d12285d1fb43e774c8c100a55f8f34e1 (diff) |
KVM: Add get/set irqchip ioctls for in-kernel PIC live migration support
This patch adds two new ioctls to dump and write kernel irqchips for
save/restore and live migration. PIC s/r and l/m is implemented in this
patch.
Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/irq.h')
-rw-r--r-- | drivers/kvm/irq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h index 6ed856a41e23..4034f6576cd9 100644 --- a/drivers/kvm/irq.h +++ b/drivers/kvm/irq.h | |||
@@ -59,6 +59,7 @@ void kvm_pic_set_irq(void *opaque, int irq, int level); | |||
59 | int kvm_pic_read_irq(struct kvm_pic *s); | 59 | int kvm_pic_read_irq(struct kvm_pic *s); |
60 | int kvm_cpu_get_interrupt(struct kvm_vcpu *v); | 60 | int kvm_cpu_get_interrupt(struct kvm_vcpu *v); |
61 | int kvm_cpu_has_interrupt(struct kvm_vcpu *v); | 61 | int kvm_cpu_has_interrupt(struct kvm_vcpu *v); |
62 | void kvm_pic_update_irq(struct kvm_pic *s); | ||
62 | 63 | ||
63 | #define IOAPIC_NUM_PINS 24 | 64 | #define IOAPIC_NUM_PINS 24 |
64 | #define IOAPIC_VERSION_ID 0x11 /* IOAPIC version */ | 65 | #define IOAPIC_VERSION_ID 0x11 /* IOAPIC version */ |