[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/7] s390x: fix error propagation in kvm-flic's
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH 3/7] s390x: fix error propagation in kvm-flic's realize |
Date: |
Tue, 4 Jul 2017 18:59:24 +0200 |
On Tue, 4 Jul 2017 17:08:52 +0200
Halil Pasic <address@hidden> wrote:
> >>> cd.type = KVM_DEV_TYPE_FLIC;
> >>> ret = kvm_vm_ioctl(kvm_state, KVM_CREATE_DEVICE, &cd);
> >>> if (ret < 0) {
> >>> - trace_flic_create_device(errno);
> >>> - return;
> >>> + error_setg_errno(&errp_local, errno, "Creating the KVM device
> >>> failed");
> >>> + trace_flic_no_device_api(errno);
> >>
> >> Err... this should still be trace_flic_create_device(), no?
> >
> > I'm afraid you are right! Probably a copy paste error :/
> >
>
> Do you think the traces are still appropriate once we have
> proper error propagation?
They add less value, but I'd just keep them.
>
> I did not feel comfortable removing them but thinking again,
> than might be the thing to do.
>
> @Christian:
> I think we should really fix this the one way or the other.
> Can you tell me what is the proper procedure?
I'd vote for just fixing the trace event. Smaller change, and we can
revisit this later.
- Re: [Qemu-devel] [PATCH 4/7] s390x: fix realize inheritance for kvm-flic, (continued)
- Re: [Qemu-devel] [PATCH 4/7] s390x: fix realize inheritance for kvm-flic, Cornelia Huck, 2017/07/04
- Re: [Qemu-devel] [PATCH 4/7] s390x: fix realize inheritance for kvm-flic, Halil Pasic, 2017/07/04
- Re: [Qemu-devel] [PATCH 4/7] s390x: fix realize inheritance for kvm-flic, Christian Borntraeger, 2017/07/05
- Re: [Qemu-devel] [PATCH 4/7] s390x: fix realize inheritance for kvm-flic, Halil Pasic, 2017/07/05
- Re: [Qemu-devel] [PATCH 4/7] s390x: fix realize inheritance for kvm-flic, Cornelia Huck, 2017/07/05
- Re: [Qemu-devel] [PATCH 4/7] s390x: fix realize inheritance for kvm-flic, Cornelia Huck, 2017/07/05
[Qemu-devel] [PATCH 3/7] s390x: fix error propagation in kvm-flic's realize, Christian Borntraeger, 2017/07/04
- Re: [Qemu-devel] [PATCH 3/7] s390x: fix error propagation in kvm-flic's realize, Cornelia Huck, 2017/07/04
- Re: [Qemu-devel] [PATCH 3/7] s390x: fix error propagation in kvm-flic's realize, Halil Pasic, 2017/07/04
- Re: [Qemu-devel] [PATCH 3/7] s390x: fix error propagation in kvm-flic's realize, Halil Pasic, 2017/07/04
- Re: [Qemu-devel] [PATCH 3/7] s390x: fix error propagation in kvm-flic's realize,
Cornelia Huck <=
- Re: [Qemu-devel] [PATCH 3/7] s390x: fix error propagation in kvm-flic's realize, Christian Borntraeger, 2017/07/04
- [Qemu-devel] [PATCH 1/1] s390x: fixup for "fix error propagation in kvm-flic...", Halil Pasic, 2017/07/05
- Re: [Qemu-devel] [PATCH 1/1] s390x: fixup for "fix error propagation in kvm-flic...", Cornelia Huck, 2017/07/05
- Re: [Qemu-devel] [PATCH 1/1] s390x: fixup for "fix error propagation in kvm-flic...", Christian Borntraeger, 2017/07/05
- Re: [Qemu-devel] [PATCH 1/1] s390x: fixup for "fix error propagation in kvm-flic...", Halil Pasic, 2017/07/05
[Qemu-devel] [PATCH 6/7] s390x: return unavailable features via query-cpu-definitions, Christian Borntraeger, 2017/07/04
[Qemu-devel] [PATCH 1/7] s390x: vmstatify config migration for virtio-ccw, Christian Borntraeger, 2017/07/04