aboutsummaryrefslogtreecommitdiffstats
path: root/hw/kvm/i8259.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kvm/i8259.c')
-rw-r--r--hw/kvm/i8259.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kvm/i8259.c b/hw/kvm/i8259.c
index eb9888932..94d1b9aa9 100644
--- a/hw/kvm/i8259.c
+++ b/hw/kvm/i8259.c
@@ -84,8 +84,8 @@ static void kvm_pic_reset(DeviceState *dev)
{
PICCommonState *s = DO_UPCAST(PICCommonState, dev.qdev, dev);
- pic_reset_common(s);
s->elcr = 0;
+ pic_reset_common(s);
kvm_pic_put(s);
}