Re: [PATCH 5/8] ch_monitor: Add pty json builder function

2021-09-01 Thread Douglas, William
On Fri, 2021-08-27 at 17:38 +0100, Daniel P. Berrangé wrote: > On Thu, Aug 26, 2021 at 02:59:19PM -0700, William Douglas wrote: > > Add function to build the the json structure to configure a PTY in > > cloud-hypervisor. The configuration only supports a single serial > > or > > console device. >

Re: [PATCH v2 3/3] qapi: deprecate drive-backup

2021-09-01 Thread Vladimir Sementsov-Ogievskiy
24.05.2021 21:37, John Snow wrote: On 5/24/21 10:06 AM, Vladimir Sementsov-Ogievskiy wrote: 15.05.2021 01:38, John Snow wrote: On 5/6/21 5:57 AM, Kashyap Chamarthy wrote: TODO: We also need to deprecate drive-backup transaction action.. But union members in QAPI doesn't support 'deprecated'

Re: [PATCH v2 1/2] qemu: process: Split out the statement to handle the qemu is allowed to reboot

2021-09-01 Thread Masayoshi Mizuma
On Tue, Aug 31, 2021 at 09:13:55AM +0200, Peter Krempa wrote: > On Mon, Aug 30, 2021 at 00:30:42 -0400, Masayoshi Mizuma wrote: > > From: Masayoshi Mizuma > > > > Split out the statement to handle whether the qemu is allowed to reboot > > or not. So that it gets available for the later patch. >

Re: [libvirt PATCH v2] meson: avoid bogus warnings from clang and g_autoptr

2021-09-01 Thread Pavel Hrdina
On Wed, Sep 01, 2021 at 01:29:25PM +0100, Daniel P. Berrangé wrote: > Clang has previously had trouble with G_DEFINE_AUTOPTR_CLEANUP_FUNC > generated code, thinking it was unused. We turn off -Wunused-function > to avoid tripping up on that with CLang. > > New Clang has started having trouble

[libvirt PATCH v2] meson: avoid bogus warnings from clang and g_autoptr

2021-09-01 Thread Daniel P . Berrangé
Clang has previously had trouble with G_DEFINE_AUTOPTR_CLEANUP_FUNC generated code, thinking it was unused. We turn off -Wunused-function to avoid tripping up on that with CLang. New Clang has started having trouble with g_autoptr now too. In usage scenarios where the variable is set, but never

Release of libvirt-7.7.0

2021-09-01 Thread Jiri Denemark
The 7.7.0 release of both libvirt and libvirt-python is tagged and signed tarballs and source RPMs are available at https://libvirt.org/sources/ https://libvirt.org/sources/python/ Thanks everybody who helped with this release by sending patches, reviewing, testing, or providing any

[PATCH] qemu: remove unnecessary strlen for LINE_ENDING

2021-09-01 Thread renlei1998
From: Ren Lei the length of LINE_ENDING is static, it's a waste to call strlen every time. Signed-off-by: Ren Lei --- src/qemu/qemu_agent.c| 5 +++-- src/qemu/qemu_monitor_json.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_agent.c

Re: [PATCH 3/8] ch_monitor: Update virCHMonitorGet to handle accept a response

2021-09-01 Thread Daniel P . Berrangé
On Tue, Aug 31, 2021 at 09:08:21PM +, Douglas, William wrote: > On Fri, 2021-08-27 at 17:30 +0100, Daniel P. Berrangé wrote: > > On Thu, Aug 26, 2021 at 02:59:17PM -0700, William Douglas wrote: > > > The virCHMonitorGet function needed to be able to return data from > > > the > > > hypervisor.

Re: [PATCH 0/9] Fix image labels lost after migration with shared fs

2021-09-01 Thread Peng Liang
Kindly ping. On 8/23/2021 10:41 AM, Peng Liang wrote: > When migrating using shared fs, the dst host will remember the image > labels again before launching the VM and the src host will remove the > image labels after migration. It leads to that the image labels lost > after migration. > >