diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2023-04-14 19:03:31 +0200 |
---|---|---|
committer | Tomáš Mózes <hydrapolic@gmail.com> | 2023-04-14 19:03:31 +0200 |
commit | 7e0f315531fdc3c24b6b9a0bb9d391b4cb52780e (patch) | |
tree | 81407655112d5e3b8a29a76395a842052fb036ae /0007-ioreq_broadcast-accept-partial-broadcast-success.patch | |
parent | Xen 4.16.4-pre-patchset-0 (diff) | |
download | xen-upstream-patches-7e0f315531fdc3c24b6b9a0bb9d391b4cb52780e.tar.gz xen-upstream-patches-7e0f315531fdc3c24b6b9a0bb9d391b4cb52780e.tar.bz2 xen-upstream-patches-7e0f315531fdc3c24b6b9a0bb9d391b4cb52780e.zip |
Xen 4.17.1-pre-patchset-04.17.1-pre-patchset-0
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Diffstat (limited to '0007-ioreq_broadcast-accept-partial-broadcast-success.patch')
-rw-r--r-- | 0007-ioreq_broadcast-accept-partial-broadcast-success.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/0007-ioreq_broadcast-accept-partial-broadcast-success.patch b/0007-ioreq_broadcast-accept-partial-broadcast-success.patch new file mode 100644 index 0000000..654990b --- /dev/null +++ b/0007-ioreq_broadcast-accept-partial-broadcast-success.patch @@ -0,0 +1,34 @@ +From c3e37c60fbf8f8cd71db0f0846c9c7aeadf02963 Mon Sep 17 00:00:00 2001 +From: Per Bilse <per.bilse@citrix.com> +Date: Tue, 20 Dec 2022 13:45:38 +0100 +Subject: [PATCH 07/89] ioreq_broadcast(): accept partial broadcast success + +Avoid incorrectly triggering an error when a broadcast buffered ioreq +is not handled by all registered clients, as long as the failure is +strictly because the client doesn't handle buffered ioreqs. + +Signed-off-by: Per Bilse <per.bilse@citrix.com> +Reviewed-by: Paul Durrant <paul@xen.org> +master commit: a44734df6c24fadbdb001f051cc5580c467caf7d +master date: 2022-12-07 12:17:30 +0100 +--- + xen/common/ioreq.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/xen/common/ioreq.c b/xen/common/ioreq.c +index 4617aef29b..ecb8f545e1 100644 +--- a/xen/common/ioreq.c ++++ b/xen/common/ioreq.c +@@ -1317,7 +1317,8 @@ unsigned int ioreq_broadcast(ioreq_t *p, bool buffered) + + FOR_EACH_IOREQ_SERVER(d, id, s) + { +- if ( !s->enabled ) ++ if ( !s->enabled || ++ (buffered && s->bufioreq_handling == HVM_IOREQSRV_BUFIOREQ_OFF) ) + continue; + + if ( ioreq_send(s, p, buffered) == IOREQ_STATUS_UNHANDLED ) +-- +2.40.0 + |