summaryrefslogtreecommitdiffstats
path: root/hw/i386/kvm/i8259.c
diff options
context:
space:
mode:
authorBruce Rogers2016-06-17 17:08:16 +0200
committerMichael Tokarev2016-09-13 17:12:34 +0200
commit8928473699d5fc7a3914abb928af35b3a0dfa5ec (patch)
tree6659668e7ee69b641b11a3c4fbac5ef3e2ccbef7 /hw/i386/kvm/i8259.c
parentsparc: Use g_memdup() instead of g_new0() + memcpy() (diff)
downloadqemu-8928473699d5fc7a3914abb928af35b3a0dfa5ec.tar.gz
qemu-8928473699d5fc7a3914abb928af35b3a0dfa5ec.tar.xz
qemu-8928473699d5fc7a3914abb928af35b3a0dfa5ec.zip
pic: fix typo in error message: KVM_GET_IRQCHIP -> KVM_SET_IRQCHIP
Signed-off-by: Bruce Rogers <brogers@suse.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/i386/kvm/i8259.c')
-rw-r--r--hw/i386/kvm/i8259.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/kvm/i8259.c b/hw/i386/kvm/i8259.c
index 2b207de01b..11d1b726b6 100644
--- a/hw/i386/kvm/i8259.c
+++ b/hw/i386/kvm/i8259.c
@@ -92,7 +92,7 @@ static void kvm_pic_put(PICCommonState *s)
ret = kvm_vm_ioctl(kvm_state, KVM_SET_IRQCHIP, &chip);
if (ret < 0) {
- fprintf(stderr, "KVM_GET_IRQCHIP failed: %s\n", strerror(ret));
+ fprintf(stderr, "KVM_SET_IRQCHIP failed: %s\n", strerror(ret));
abort();
}
}