[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V3 16/22] chardev: cpr framework
From: |
Steven Sistare |
Subject: |
Re: [PATCH V3 16/22] chardev: cpr framework |
Date: |
Thu, 13 May 2021 16:19:36 -0400 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 5/7/2021 10:33 AM, Eric Blake wrote:
> On 5/7/21 7:25 AM, Steve Sistare wrote:
>> Add QEMU_CHAR_FEATURE_CPR for devices that support cpr.
>> Add the chardev close_on_cpr option for devices that can be closed on cpr
>> and reopened after exec.
>> cpr is allowed only if either QEMU_CHAR_FEATURE_CPR or close_on_cpr is set
>> for all chardevs in the configuration.
>>
>> Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
>> ---
>
>> +++ b/qapi/char.json
>> @@ -204,12 +204,15 @@
>> # @logfile: The name of a logfile to save output
>> # @logappend: true to append instead of truncate
>> # (default to false to truncate)
>> +# @close-on-cpr: if true, close device's fd on cprsave. defaults to false.
>> +# since 6.0.
>
> 6.1, actually.
>
>> @@ -3182,6 +3196,10 @@ The general form of a character device option is:
>> ``logappend`` option controls whether the log file will be truncated
>> or appended to when opened.
>>
>> + Every backend supports the ``close-on-cpr`` option. If on, the
>> + devices's descriptor is closed during cprsave, and reopened after exec.
>
> device's
Thanks, will fix both - Steve
- [PATCH V3 15/22] hostmem-memfd: cpr support, (continued)
- [PATCH V3 15/22] hostmem-memfd: cpr support, Steve Sistare, 2021/05/07
- [PATCH V3 12/22] vfio-pci: cpr part 1, Steve Sistare, 2021/05/07
- [PATCH V3 13/22] vfio-pci: cpr part 2, Steve Sistare, 2021/05/07
- [PATCH V3 08/22] cpr: QMP interfaces, Steve Sistare, 2021/05/07
- [PATCH V3 17/22] chardev: cpr for simple devices, Steve Sistare, 2021/05/07
- [PATCH V3 19/22] chardev: cpr for sockets, Steve Sistare, 2021/05/07
- [PATCH V3 20/22] cpr: only-cpr-capable option, Steve Sistare, 2021/05/07
- [PATCH V3 18/22] chardev: cpr for pty, Steve Sistare, 2021/05/07
- [PATCH V3 16/22] chardev: cpr framework, Steve Sistare, 2021/05/07
- [PATCH V3 22/22] simplify savevm, Steve Sistare, 2021/05/07
- [PATCH V3 21/22] cpr: maintainers, Steve Sistare, 2021/05/07
- [PATCH V3 09/22] cpr: HMP interfaces, Steve Sistare, 2021/05/07
- Re: [PATCH V3 00/22] Live Update, no-reply, 2021/05/07
- Re: [PATCH V3 00/22] Live Update, Stefan Hajnoczi, 2021/05/12