diff options
Diffstat (limited to 'hw/kvm')
-rw-r--r-- | hw/kvm/i8259.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kvm/i8259.c b/hw/kvm/i8259.c index eb98889329..94d1b9aa95 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); } |