From: Juan Quintela <quintela@redhat.com>
To: Eric Auger <eric.auger@redhat.com>
Cc: peter.maydell@linaro.org, drjones@redhat.com,
vijay.kilari@gmail.com, qemu-devel@nongnu.org, peterx@redhat.com,
Vijaya.Kumar@cavium.com, qemu-arm@nongnu.org,
christoffer.dall@linaro.org, zhaoshenglong@huawei.com,
dgilbert@redhat.com, eric.auger.pro@gmail.com
Subject: Re: [Qemu-arm] [PATCH v6 1/4] kvm-all: Pass an error object to kvm_device_access
Date: Mon, 12 Jun 2017 08:23:50 +0200 [thread overview]
Message-ID: <87r2yplo5l.fsf@secure.mitica> (raw)
In-Reply-To: <1497023553-18411-2-git-send-email-eric.auger@redhat.com> (Eric Auger's message of "Fri, 9 Jun 2017 17:52:30 +0200")
Eric Auger <eric.auger@redhat.com> wrote:
> In some circumstances, we don't want to abort if the
> kvm_device_access fails. This will be the case during ITS
> migration, in case the ITS table save/restore fails because
> the guest did not program the vITS correctly. So let's pass an
> error object to the function and return the ioctl value. New
> callers will be able to make a decision upon this returned
> value.
>
> Existing callers pass &error_abort which will cause the
> function to abort on failure.
>
> Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
WARNING: multiple messages have this Message-ID (diff)
From: Juan Quintela <quintela@redhat.com>
To: Eric Auger <eric.auger@redhat.com>
Cc: eric.auger.pro@gmail.com, peter.maydell@linaro.org,
qemu-arm@nongnu.org, qemu-devel@nongnu.org,
vijay.kilari@gmail.com, Vijaya.Kumar@cavium.com,
drjones@redhat.com, peterx@redhat.com, dgilbert@redhat.com,
christoffer.dall@linaro.org, zhaoshenglong@huawei.com,
wei@redhat.com
Subject: Re: [Qemu-devel] [PATCH v6 1/4] kvm-all: Pass an error object to kvm_device_access
Date: Mon, 12 Jun 2017 08:23:50 +0200 [thread overview]
Message-ID: <87r2yplo5l.fsf@secure.mitica> (raw)
In-Reply-To: <1497023553-18411-2-git-send-email-eric.auger@redhat.com> (Eric Auger's message of "Fri, 9 Jun 2017 17:52:30 +0200")
Eric Auger <eric.auger@redhat.com> wrote:
> In some circumstances, we don't want to abort if the
> kvm_device_access fails. This will be the case during ITS
> migration, in case the ITS table save/restore fails because
> the guest did not program the vITS correctly. So let's pass an
> error object to the function and return the ioctl value. New
> callers will be able to make a decision upon this returned
> value.
>
> Existing callers pass &error_abort which will cause the
> function to abort on failure.
>
> Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
next prev parent reply other threads:[~2017-06-12 6:24 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-09 15:52 [Qemu-arm] [PATCH v6 0/4] vITS save/restore Eric Auger
2017-06-09 15:52 ` [Qemu-devel] " Eric Auger
2017-06-09 15:52 ` [Qemu-arm] [PATCH v6 1/4] kvm-all: Pass an error object to kvm_device_access Eric Auger
2017-06-09 15:52 ` [Qemu-devel] " Eric Auger
2017-06-12 6:23 ` Juan Quintela [this message]
2017-06-12 6:23 ` Juan Quintela
2017-06-12 19:14 ` [Qemu-arm] " Auger Eric
2017-06-12 19:14 ` Auger Eric
2017-06-13 4:23 ` [Qemu-arm] " Peter Xu
2017-06-13 4:23 ` [Qemu-devel] " Peter Xu
2017-06-09 15:52 ` [Qemu-arm] [PATCH v6 2/4] hw/intc/arm_gicv3_its: Implement state save/restore Eric Auger
2017-06-09 15:52 ` [Qemu-devel] " Eric Auger
2017-06-09 15:52 ` [Qemu-arm] [PATCH v6 3/4] hw/intc/arm_gicv3_kvm: Implement pending table save Eric Auger
2017-06-09 15:52 ` [Qemu-devel] " Eric Auger
2017-06-09 15:52 ` [Qemu-arm] [PATCH v6 4/4] hw/intc/arm_gicv3_its: Allow save/restore Eric Auger
2017-06-09 15:52 ` [Qemu-devel] " Eric Auger
2017-06-13 13:56 ` [Qemu-arm] [PATCH v6 0/4] vITS save/restore Peter Maydell
2017-06-13 13:56 ` [Qemu-devel] " Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r2yplo5l.fsf@secure.mitica \
--to=quintela@redhat.com \
--cc=Vijaya.Kumar@cavium.com \
--cc=christoffer.dall@linaro.org \
--cc=dgilbert@redhat.com \
--cc=drjones@redhat.com \
--cc=eric.auger.pro@gmail.com \
--cc=eric.auger@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=peterx@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=vijay.kilari@gmail.com \
--cc=zhaoshenglong@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.