[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/10] tools/xenstored: Bug fixes + Improve Live-Update
- To: xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Julien Grall <julien@xxxxxxx>
- Date: Thu, 24 Jun 2021 12:43:15 +0200
- Cc: raphning@xxxxxxxxxxxx, doebel@xxxxxxxxx, Julien Grall <jgrall@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
- Delivery-date: Thu, 24 Jun 2021 10:43:36 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi,
On 16/06/2021 16:43, Julien Grall wrote:
From: Julien Grall <jgrall@xxxxxxxxxx>
Hi all,
At the moment, Live-Update will, by default, not proceed if there are
in-flight transactions. It is possible force it by passing -F but this
will break any connection with in-flight transactions.
There are PV drivers out that may never terminate some transaction. On
host running such guest, we would need to use -F. Unfortunately, this
also risks to break well-behaving guests (and even dom0) because
Live-Update will happen as soon as the timeout is hit.
This series aims to allow to Live-Update more safely even when the option
-F is used.
The first part of the series contains a few fixes for bug found while
testing Live-Update.
Cheers,
Julien Grall (10):
MAINTAINERS: Add myself as reviewers for tools/xenstore
tools/xenstored: Introduce lu_get_connection() and use it
tools/xenstore: Don't assume conn->in points to the LU request
tools/xenstored: Limit the number of requests a connection can delay
tools/xenstored: xenstored_core.h should include fcntl.h
tools/xenstored: Introduce a wrapper for conn->funcs->can_{read,
write}
tools/xenstored: delay_request: don't assume conn->in == in
tools/xenstored: Extend restore code to handle multiple input buffer
I have committed the first 8 patches.
tools/xenstored: Dump delayed requests
tools/xenstored: Delay new transaction while Live-Update is pending
Cheers,
--
Julien Grall
|