diff options
author | Cornelia Huck | 2017-01-25 13:11:28 +0100 |
---|---|---|
committer | Cornelia Huck | 2017-01-26 10:33:48 +0100 |
commit | a87adb6685bed1d4dffc55221197ea86ced48361 (patch) | |
tree | 914cd91cde29858e6780233af03656d7b5fa9ea8 /hw/intc/s390_flic_kvm.c | |
parent | Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging (diff) | |
download | qemu-a87adb6685bed1d4dffc55221197ea86ced48361.tar.gz qemu-a87adb6685bed1d4dffc55221197ea86ced48361.tar.xz qemu-a87adb6685bed1d4dffc55221197ea86ced48361.zip |
s390x/flic: fix compilation of kvm flic
2c21ee7 ("migration: extend VMStateInfo") missed a void -> int
return conversion for kvm_flic_save().
Fixes: 2c21ee7 ("migration: extend VMStateInfo")
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/intc/s390_flic_kvm.c')
-rw-r--r-- | hw/intc/s390_flic_kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/s390_flic_kvm.c b/hw/intc/s390_flic_kvm.c index da8e4dfab6..e86a84e49a 100644 --- a/hw/intc/s390_flic_kvm.c +++ b/hw/intc/s390_flic_kvm.c @@ -303,7 +303,7 @@ static int kvm_flic_save(QEMUFile *f, void *opaque, size_t size, * migration state */ error_report("flic: couldn't allocate memory"); qemu_put_be64(f, FLIC_FAILED); - return; + return 0; } count = __get_all_irqs(flic, &buf, len); |