On 10/04/2022 19:43, Michal Prívozník wrote:
On 10/4/22 12:24, Peng Liang wrote:
On 10/03/2022 15:38, Michal Prívozník wrote:
On 10/1/22 05:35, Peng Liang wrote:
On 09/29/2022 21:31, Michal Prívozník wrote:
On 9/27/22 17:38, Jiang Jiacheng wrote:
From: jiangjiacheng
On 10/03/2022 15:38, Michal Prívozník wrote:
On 10/1/22 05:35, Peng Liang wrote:
On 09/29/2022 21:31, Michal Prívozník wrote:
On 9/27/22 17:38, Jiang Jiacheng wrote:
From: jiangjiacheng
In virNetServerProgramDispatchCall, The arg is passed as a void* and
used to point
to a certain
On 09/29/2022 21:31, Michal Prívozník wrote:
On 9/27/22 17:38, Jiang Jiacheng wrote:
From: jiangjiacheng
In virNetServerProgramDispatchCall, The arg is passed as a void* and used to
point
to a certain struct depended on the dispatcher, so I think it's the memory of
the
struct's member
On 09/09/2022 14:10, Jiacheng Jiang wrote:
From: jiangjiacheng
The qemuDomainAttachDeviceLive interface is invoked for attaching cdrom in
the same way as common disks. The difference is that attach cdrom only update
the src of the original device while common disk will add new disk to vm's
On 09/09/2022 14:10, Jiacheng Jiang wrote:
From: jiangjiacheng
Function virTypedParamsAddString may return -1
I don't think `virTypedParamsAddString` will return -1 in the code paths
you touched. The only case where `virTypedParamsAddString` returns -1 is
that the `name` you pass to it
On 09/09/2022 14:10, Jiacheng Jiang wrote:
From: jiangjiacheng
In virNetServerClientNew, client->rx is be assigned by invoking
virNetServerClientNew,
but isn't freed if client->privateData's initialization failed, which leads to a
memory leak. And in virNetServerProgramDispatchCall, the
Signed-off-by: Peng Liang
---
src/remote/remote_daemon.c | 3 ---
src/remote/remote_daemon.h | 1 -
src/remote/remote_daemon_config.c | 1 -
src/remote/remote_daemon_dispatch.c | 5 -
src/remote/remote_daemon_dispatch.h | 1 -
src/remote/remote_daemon_stream.c | 1
Signed-off-by: Peng Liang
---
src/util/iohelper.c | 3 ---
src/util/virarptable.c| 2 --
src/util/virauth.c| 1 -
src/util/virauthconfig.c | 1 -
src/util/virbpf.c | 1 -
src/util/virbuffer.c | 2 --
src/util/vircgroup.c | 3
Signed-off-by: Peng Liang
---
src/qemu/qemu_agent.c| 2 --
src/qemu/qemu_alias.c| 1 -
src/qemu/qemu_alias.h| 2 --
src/qemu/qemu_backup.c | 5 -
src/qemu/qemu_block.c| 1 -
src/qemu/qemu_block.h| 1 -
src/qemu
Signed-off-by: Peng Liang
---
src/locking/domain_lock.c | 3 ---
src/locking/domain_lock.h | 1 -
src/locking/lock_daemon.c | 2 --
src/locking/lock_daemon_config.c | 4
src/locking/lock_daemon_dispatch.c | 1 -
src/locking/lock_driver_lockd.c| 1 -
src
Signed-off-by: Peng Liang
---
src/ch/ch_conf.c| 1 -
src/ch/ch_domain.c | 1 -
src/ch/ch_driver.c | 7 ---
src/ch/ch_monitor.c | 2 --
src/ch/ch_process.c | 2 --
5 files changed, 13 deletions(-)
diff --git a/src/ch/ch_conf.c b/src/ch/ch_conf.c
index bae245adf3..775596e9f5 100644
Signed-off-by: Peng Liang
---
src/rpc/virkeepalive.c| 3 ---
src/rpc/virnetclient.c| 1 -
src/rpc/virnetclient.h| 1 -
src/rpc/virnetclientprogram.h | 1 -
src/rpc/virnetclientstream.c | 1 -
src/rpc/virnetclientstream.h | 1 -
src/rpc/virnetdaemon.c| 2 --
src
Signed-off-by: Peng Liang
---
tools/virsh-checkpoint.c | 2 --
tools/virsh-completer-checkpoint.c | 2 --
tools/virsh-completer-domain.c | 1 -
tools/virsh-completer-host.c | 1 -
tools/virsh-completer-interface.c | 2 --
tools/virsh-completer-network.c| 1 -
tools/virsh
Signed-off-by: Peng Liang
---
src/logging/log_daemon.c | 5 -
src/logging/log_daemon_config.c | 4
src/logging/log_daemon_dispatch.c | 1 -
src/logging/log_handler.c | 1 -
src/logging/log_manager.c | 1 -
5 files changed, 12 deletions(-)
diff --git a/src
Signed-off-by: Peng Liang
---
src/hyperv/hyperv_private.h | 2 --
src/hyperv/hyperv_util.c| 3 ---
2 files changed, 5 deletions(-)
diff --git a/src/hyperv/hyperv_private.h b/src/hyperv/hyperv_private.h
index da37a8fd20..fb82cef046 100644
--- a/src/hyperv/hyperv_private.h
+++ b/src/hyperv
Signed-off-by: Peng Liang
---
src/cpu/cpu.c | 3 ---
src/cpu/cpu.h | 1 -
src/cpu/cpu_arm.c | 1 -
src/cpu/cpu_map.c | 2 --
src/cpu/cpu_ppc64.c | 1 -
src/cpu/cpu_s390.c | 2 --
src/cpu/cpu_x86.c | 1 -
7 files changed, 11 deletions(-)
diff --git a/src/cpu/cpu.c b/src/cpu
Signed-off-by: Peng Liang
---
src/esx/esx_driver.c| 1 -
src/esx/esx_interface_driver.c | 6 --
src/esx/esx_network_driver.c| 2 --
src/esx/esx_private.h | 2 --
src/esx/esx_storage_backend_iscsi.c | 2 --
src/esx/esx_storage_backend_vmfs.c | 2
Signed-off-by: Peng Liang
---
src/vmx/vmx.c | 1 -
src/vmx/vmx.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c
index c391caa910..6581173187 100644
--- a/src/vmx/vmx.c
+++ b/src/vmx/vmx.c
@@ -24,7 +24,6 @@
#include "internal.h"
#include &
Signed-off-by: Peng Liang
---
src/vbox/vbox_XPCOMCGlue.c | 3 ---
src/vbox/vbox_driver.c | 2 --
src/vbox/vbox_network.c| 2 --
src/vbox/vbox_storage.c| 3 ---
src/vbox/vbox_tmpl.c | 1 -
5 files changed, 11 deletions(-)
diff --git a/src/vbox/vbox_XPCOMCGlue.c b/src/vbox
Signed-off-by: Peng Liang
---
src/conf/backup_conf.c| 3 ---
src/conf/capabilities.c | 1 -
src/conf/capabilities.h | 2 --
src/conf/checkpoint_conf.c| 4
src/conf/cpu_conf.c | 2 --
src/conf/cpu_conf.h
9, 15, 20, 21, and 23 of v2 since they have been merged;
3. Add Patch 26 (remove some unused includes in lxc);
v1 -> v2:
1. Fix build failure on many plantforms;
2. Fix my name in 'From';
3. Remove a few more unused includes;
Peng Liang (26):
access: Remove unused includes
admin: Remove unus
Signed-off-by: Peng Liang
---
src/admin/admin_server.c | 4
src/admin/admin_server.h | 1 -
src/admin/admin_server_dispatch.c | 3 ---
src/admin/libvirt-admin.c | 2 --
4 files changed, 10 deletions(-)
diff --git a/src/admin/admin_server.c b/src/admin
Signed-off-by: Peng Liang
---
src/openvz/openvz_conf.c | 1 -
src/openvz/openvz_util.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c
index 79ab786355..c94f9b8577 100644
--- a/src/openvz/openvz_conf.c
+++ b/src/openvz/openvz_conf.c
Signed-off-by: Peng Liang
---
src/storage/parthelper.c | 1 -
src/storage/storage_backend.c | 3 ---
src/storage/storage_backend_fs.c | 1 -
src/storage/storage_backend_gluster.c | 1 -
src/storage/storage_backend_iscsi.c| 4
src/storage
Signed-off-by: Peng Liang
---
src/node_device/node_device_driver.c | 3 ---
src/node_device/node_device_udev.c | 3 ---
2 files changed, 6 deletions(-)
diff --git a/src/node_device/node_device_driver.c
b/src/node_device/node_device_driver.c
index 4b31cd5695..0178ae8b66 100644
--- a/src
Signed-off-by: Peng Liang
---
src/lxc/lxc_cgroup.c | 3 ---
src/lxc/lxc_cgroup.h | 1 -
src/lxc/lxc_conf.c | 1 -
src/lxc/lxc_conf.h | 4
src/lxc/lxc_container.c | 2 --
src/lxc/lxc_container.h | 1 -
src/lxc/lxc_controller.c | 4
src/lxc/lxc_domain.c | 2
Signed-off-by: Peng Liang
---
tests/commandtest.c | 2 --
tests/cputest.c | 2 --
tests/domainconftest.c | 2 --
tests/esxutilstest.c| 1 -
tests/eventtest.c | 2 --
tests/fchosttest.c
Signed-off-by: Peng Liang
---
src/network/bridge_driver.c | 5 -
src/network/bridge_driver.h | 2 --
src/network/bridge_driver_linux.c | 1 -
src/network/leaseshelper.c| 3 ---
4 files changed, 11 deletions(-)
diff --git a/src/network/bridge_driver.c b/src/network
Signed-off-by: Peng Liang
---
src/hypervisor/domain_driver.h | 1 -
src/hypervisor/virhostdev.c| 2 --
2 files changed, 3 deletions(-)
diff --git a/src/hypervisor/domain_driver.h b/src/hypervisor/domain_driver.h
index 7b0fbae2fd..4241c86932 100644
--- a/src/hypervisor/domain_driver.h
+++ b
Signed-off-by: Peng Liang
---
src/access/viraccessdriver.h | 1 -
src/access/viraccessdriverpolkit.c | 4
src/access/viraccessdriverstack.c | 1 -
src/access/viraccessmanager.h | 1 -
4 files changed, 7 deletions(-)
diff --git a/src/access/viraccessdriver.h b/src/access
Signed-off-by: Peng Liang
---
src/vmware/vmware_conf.c | 1 -
src/vmware/vmware_driver.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c
index ebba435cc4..80a85f4d0f 100644
--- a/src/vmware/vmware_conf.c
+++ b/src/vmware/vmware_conf.c
Signed-off-by: Peng Liang
---
src/test/test_driver.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index a824ef0186..24ff6e8967 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -31,7 +31,6 @@
#include "virer
Signed-off-by: Peng Liang
---
src/libxl/libxl_capabilities.c | 1 -
src/libxl/libxl_capabilities.h | 2 --
src/libxl/libxl_conf.c | 3 ---
src/libxl/libxl_conf.h | 2 --
src/libxl/libxl_domain.c | 1 -
src/libxl/libxl_domain.h | 2 --
src/libxl/libxl_driver.c
On 6/7/2022 10:15 PM, Ján Tomko wrote:
> On a Saturday in 2022, Peng Liang wrote:
>> Signed-off-by: Peng Liang
>> ---
>> src/access/viraccessdriver.h | 1 -
>> src/access/viraccessdriverpolkit.c | 4
>> src/access/viraccessdriverstack.c | 1 -
>>
Ping?
On 5/14/2022 4:05 PM, Peng Liang wrote:
> This series are the v2 of:
> https://listman.redhat.com/archives/libvir-list/2022-May/231132.html.
> And this version passes the pipeline in GitLab :)
> (https://gitlab.com/tcx4c70/libvirt/-/pipelines/539027618).
>
> v1 -&g
Signed-off-by: Peng Liang
---
tests/commandtest.c | 2 --
tests/cputest.c | 2 --
tests/domainconftest.c | 2 --
tests/esxutilstest.c| 1 -
tests/eventtest.c | 2 --
tests/fchosttest.c
Signed-off-by: Peng Liang
---
tools/virsh-checkpoint.c | 2 --
tools/virsh-completer-checkpoint.c | 2 --
tools/virsh-completer-domain.c | 1 -
tools/virsh-completer-host.c | 1 -
tools/virsh-completer-interface.c | 2 --
tools/virsh-completer-network.c| 1 -
tools/virsh
Signed-off-by: Peng Liang
---
src/test/test_driver.c | 2 --
src/test/test_driver.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index a824ef0186..24ff6e8967 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -31,7 +31,6
Signed-off-by: Peng Liang
---
src/vmx/vmx.c | 1 -
src/vmx/vmx.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c
index 8150bbfaa9..ac4f068a67 100644
--- a/src/vmx/vmx.c
+++ b/src/vmx/vmx.c
@@ -24,7 +24,6 @@
#include "internal.h"
#include &
Signed-off-by: Peng Liang
---
src/vmware/vmware_conf.c | 1 -
src/vmware/vmware_conf.h | 1 -
src/vmware/vmware_driver.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c
index ebba435cc4..80a85f4d0f 100644
--- a/src/vmware/vmware_conf.c
Signed-off-by: Peng Liang
---
src/util/iohelper.c | 3 ---
src/util/virarch.h| 2 --
src/util/virarptable.c| 2 --
src/util/virarptable.h| 2 --
src/util/viraudit.h | 1 -
src/util/virauth.c| 1 -
src/util/virauth.h| 1
Signed-off-by: Peng Liang
---
src/vbox/vbox_XPCOMCGlue.c| 3 ---
src/vbox/vbox_common.h| 1 -
src/vbox/vbox_driver.c| 2 --
src/vbox/vbox_driver.h| 2 --
src/vbox/vbox_get_driver.h| 2 --
src/vbox/vbox_network.c | 2 --
src/vbox/vbox_storage.c | 3
Signed-off-by: Peng Liang
---
src/storage_file/storage_file_backend.c | 2 --
src/storage_file/storage_file_backend_fs.c | 4
src/storage_file/storage_file_backend_gluster.c | 2 --
src/storage_file/storage_source.c | 2 --
4 files changed, 10 deletions(-)
diff
Signed-off-by: Peng Liang
---
src/storage/parthelper.c | 1 -
src/storage/storage_backend.c | 3 ---
src/storage/storage_backend.h | 1 -
src/storage/storage_backend_fs.c | 1 -
src/storage/storage_backend_gluster.c | 1 -
src/storage
Signed-off-by: Peng Liang
---
src/security/security_dac.c | 1 -
src/security/security_manager.h | 1 -
src/security/security_nop.c | 2 --
src/security/security_selinux.c | 2 --
src/security/security_stack.c | 1 -
src/security/security_util.c| 1 -
6 files changed, 8 deletions
Signed-off-by: Peng Liang
---
src/secret/secret_driver.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/secret/secret_driver.c b/src/secret/secret_driver.c
index 09782b38d3..080ed962a9 100644
--- a/src/secret/secret_driver.c
+++ b/src/secret/secret_driver.c
@@ -35,11 +35,9 @@
#include
Signed-off-by: Peng Liang
---
src/qemu/qemu_agent.c| 2 --
src/qemu/qemu_agent.h| 1 -
src/qemu/qemu_alias.c| 1 -
src/qemu/qemu_alias.h| 2 --
src/qemu/qemu_backup.c | 5 -
src/qemu/qemu_block.c| 1 -
src/qemu
Signed-off-by: Peng Liang
---
src/rpc/virkeepalive.c| 3 ---
src/rpc/virnetclient.c| 1 -
src/rpc/virnetclient.h| 1 -
src/rpc/virnetclientprogram.h | 1 -
src/rpc/virnetclientstream.c | 1 -
src/rpc/virnetclientstream.h | 1 -
src/rpc/virnetdaemon.c| 2 --
src
Signed-off-by: Peng Liang
---
src/remote/remote_daemon.c | 3 ---
src/remote/remote_daemon.h | 1 -
src/remote/remote_daemon_config.c | 1 -
src/remote/remote_daemon_dispatch.c | 5 -
src/remote/remote_daemon_dispatch.h | 1 -
src/remote/remote_daemon_stream.c | 1
Signed-off-by: Peng Liang
---
src/openvz/openvz_conf.c | 1 -
src/openvz/openvz_conf.h | 1 -
src/openvz/openvz_driver.h | 2 --
src/openvz/openvz_util.c | 1 -
4 files changed, 5 deletions(-)
diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c
index 191c79e1e2..2253796b2c
Signed-off-by: Peng Liang
---
src/nwfilter/nwfilter_dhcpsnoop.c | 2 --
src/nwfilter/nwfilter_driver.c| 5 -
src/nwfilter/nwfilter_driver.h| 3 ---
src/nwfilter/nwfilter_ebiptables_driver.c | 4
src/nwfilter/nwfilter_gentech_driver.c| 4
src
Signed-off-by: Peng Liang
---
src/logging/log_daemon.c | 5 -
src/logging/log_daemon_config.c | 4
src/logging/log_daemon_dispatch.c | 1 -
src/logging/log_handler.c | 1 -
src/logging/log_handler.h | 1 -
src/logging/log_manager.c | 1 -
6 files
Signed-off-by: Peng Liang
---
src/network/bridge_driver.c | 5 -
src/network/bridge_driver.h | 3 ---
src/network/bridge_driver_linux.c| 1 -
src/network/bridge_driver_platform.h | 1 -
src/network/leaseshelper.c | 3 ---
5 files changed, 13 deletions(-)
diff
Signed-off-by: Peng Liang
---
src/node_device/node_device_driver.c | 3 ---
src/node_device/node_device_driver.h | 1 -
src/node_device/node_device_udev.c | 3 ---
3 files changed, 7 deletions(-)
diff --git a/src/node_device/node_device_driver.c
b/src/node_device/node_device_driver.c
index
Signed-off-by: Peng Liang
---
src/libxl/libxl_capabilities.c | 1 -
src/libxl/libxl_capabilities.h | 2 --
src/libxl/libxl_conf.c | 3 ---
src/libxl/libxl_conf.h | 3 ---
src/libxl/libxl_domain.c | 1 -
src/libxl/libxl_domain.h | 2 --
src/libxl/libxl_driver.c
Signed-off-by: Peng Liang
---
src/locking/domain_lock.c | 3 ---
src/locking/domain_lock.h | 2 --
src/locking/lock_daemon.c | 2 --
src/locking/lock_daemon_config.c | 4
src/locking/lock_daemon_dispatch.c | 1 -
src/locking/lock_driver.h | 1 -
src
Signed-off-by: Peng Liang
---
src/hypervisor/domain_driver.h | 1 -
src/hypervisor/domain_job.h| 1 -
src/hypervisor/virhostdev.c| 2 --
3 files changed, 4 deletions(-)
diff --git a/src/hypervisor/domain_driver.h b/src/hypervisor/domain_driver.h
index 7b0fbae2fd..4241c86932 100644
Signed-off-by: Peng Liang
---
src/admin/admin_server.c | 4
src/admin/admin_server.h | 1 -
src/admin/admin_server_dispatch.c | 3 ---
src/admin/libvirt-admin.c | 2 --
4 files changed, 10 deletions(-)
diff --git a/src/admin/admin_server.c b/src/admin
Signed-off-by: Peng Liang
---
src/interface/interface_backend_netcf.c | 2 --
src/interface/interface_backend_udev.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/src/interface/interface_backend_netcf.c
b/src/interface/interface_backend_netcf.c
index d625964421..90514692e2 100644
Signed-off-by: Peng Liang
---
src/hyperv/hyperv_private.h | 3 ---
src/hyperv/hyperv_util.c| 3 ---
src/hyperv/hyperv_util.h| 1 -
3 files changed, 7 deletions(-)
diff --git a/src/hyperv/hyperv_private.h b/src/hyperv/hyperv_private.h
index da37a8fd20..3d0606bac3 100644
--- a/src/hyperv
Signed-off-by: Peng Liang
---
src/conf/backup_conf.c| 3 ---
src/conf/capabilities.c | 1 -
src/conf/capabilities.h | 3 ---
src/conf/checkpoint_conf.c| 4
src/conf/checkpoint_conf.h| 1 -
src/conf/cpu_conf.c
Signed-off-by: Peng Liang
---
src/esx/esx_driver.c| 1 -
src/esx/esx_interface_driver.c | 6 --
src/esx/esx_network_driver.c| 2 --
src/esx/esx_private.h | 3 ---
src/esx/esx_storage_backend_iscsi.c | 2 --
src/esx/esx_storage_backend_vmfs.c | 2
Signed-off-by: Peng Liang
---
src/cpu/cpu.c | 3 ---
src/cpu/cpu.h | 1 -
src/cpu/cpu_arm.c | 1 -
src/cpu/cpu_map.c | 2 --
src/cpu/cpu_ppc64.c | 1 -
src/cpu/cpu_s390.c | 2 --
src/cpu/cpu_x86.c | 1 -
7 files changed, 11 deletions(-)
diff --git a/src/cpu/cpu.c b/src/cpu
Signed-off-by: Peng Liang
---
src/ch/ch_conf.c| 1 -
src/ch/ch_domain.c | 1 -
src/ch/ch_driver.c | 7 ---
src/ch/ch_monitor.c | 2 --
src/ch/ch_process.c | 2 --
src/ch/ch_process.h | 1 -
6 files changed, 14 deletions(-)
diff --git a/src/ch/ch_conf.c b/src/ch/ch_conf.c
index
ove a few more unused includes;
Peng Liang (30):
access: Remove unused includes
admin: Remove unused includes
ch: Remove unused includes
conf: Remove unused includes
cpu: Remove unused includes
esx: Remove unused includes
hyperv: Remove unused includes
hypvervisor: Remove unused inclu
Signed-off-by: Peng Liang
---
src/access/viraccessdriver.h | 1 -
src/access/viraccessdriverpolkit.c | 4
src/access/viraccessdriverstack.c | 1 -
src/access/viraccessmanager.h | 1 -
src/access/viraccessperm.h | 1 -
5 files changed, 8 deletions(-)
diff --git a/src
On 5/13/2022 11:13 PM, Ján Tomko wrote:
> On a Wednesday in 2022, Peng Liang wrote:
>> From: Adam Tao
>>
>> Signed-off-by: Peng Liang
>
> The name in 'From' does not match the one in the signoff.
> The signoff needs to be from the author of the patch.
Tha
From: Adam Tao
Signed-off-by: Peng Liang
---
tools/virsh-checkpoint.c | 2 --
tools/virsh-completer-checkpoint.c | 2 --
tools/virsh-completer-domain.c | 1 -
tools/virsh-completer-host.c | 1 -
tools/virsh-completer-interface.c | 2 --
tools/virsh-completer-network.c
From: Adam Tao
Signed-off-by: Peng Liang
---
tests/commandtest.c | 2 --
tests/cputest.c | 2 --
tests/domainconftest.c | 2 --
tests/esxutilstest.c| 1 -
tests/eventtest.c | 2 --
tests
From: Adam Tao
Signed-off-by: Peng Liang
---
src/vmx/vmx.c | 1 -
src/vmx/vmx.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c
index 8150bbfaa9..ac4f068a67 100644
--- a/src/vmx/vmx.c
+++ b/src/vmx/vmx.c
@@ -24,7 +24,6 @@
#include "internal.h"
From: Adam Tao
Signed-off-by: Peng Liang
---
src/storage/parthelper.c | 1 -
src/storage/storage_backend.c | 3 ---
src/storage/storage_backend.h | 1 -
src/storage/storage_backend_fs.c | 1 -
src/storage/storage_backend_gluster.c | 1
From: Adam Tao
Signed-off-by: Peng Liang
---
src/test/test_driver.c | 2 --
src/test/test_driver.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index a824ef0186..24ff6e8967 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
From: Adam Tao
Signed-off-by: Peng Liang
---
src/vbox/vbox_XPCOMCGlue.c| 3 ---
src/vbox/vbox_common.h| 1 -
src/vbox/vbox_driver.c| 2 --
src/vbox/vbox_driver.h| 2 --
src/vbox/vbox_get_driver.h| 2 --
src/vbox/vbox_network.c | 2 --
src/vbox
From: Adam Tao
Signed-off-by: Peng Liang
---
src/vmware/vmware_conf.c | 1 -
src/vmware/vmware_conf.h | 1 -
src/vmware/vmware_driver.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c
index ebba435cc4..80a85f4d0f 100644
--- a/src
From: Adam Tao
Signed-off-by: Peng Liang
---
src/storage_file/storage_file_backend.c | 2 --
src/storage_file/storage_file_backend_fs.c | 5 -
src/storage_file/storage_file_backend_gluster.c | 2 --
src/storage_file/storage_source.c | 3 ---
4 files changed, 12
From: Adam Tao
Signed-off-by: Peng Liang
---
src/util/iohelper.c | 3 ---
src/util/virarch.h | 2 --
src/util/virarptable.c | 2 --
src/util/virarptable.h | 2 --
src/util/viraudit.h | 1 -
src/util/virauth.c | 1 -
src/util
From: Adam Tao
Signed-off-by: Peng Liang
---
src/secret/secret_driver.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/secret/secret_driver.c b/src/secret/secret_driver.c
index 09782b38d3..080ed962a9 100644
--- a/src/secret/secret_driver.c
+++ b/src/secret/secret_driver.c
@@ -35,11
From: Adam Tao
Signed-off-by: Peng Liang
---
src/nwfilter/nwfilter_dhcpsnoop.c | 3 ---
src/nwfilter/nwfilter_driver.c| 5 -
src/nwfilter/nwfilter_driver.h| 3 ---
src/nwfilter/nwfilter_ebiptables_driver.c | 4
src/nwfilter/nwfilter_gentech_driver.c
From: Adam Tao
Signed-off-by: Peng Liang
---
src/node_device/node_device_driver.c | 3 ---
src/node_device/node_device_driver.h | 1 -
src/node_device/node_device_udev.c | 3 ---
3 files changed, 7 deletions(-)
diff --git a/src/node_device/node_device_driver.c
b/src/node_device
From: Adam Tao
Signed-off-by: Peng Liang
---
src/rpc/virkeepalive.c| 3 ---
src/rpc/virnetclient.c| 1 -
src/rpc/virnetclient.h| 1 -
src/rpc/virnetclientprogram.h | 1 -
src/rpc/virnetclientstream.c | 1 -
src/rpc/virnetclientstream.h | 1 -
src/rpc/virnetdaemon.c
From: Adam Tao
Signed-off-by: Peng Liang
---
src/remote/remote_daemon.c | 3 ---
src/remote/remote_daemon.h | 1 -
src/remote/remote_daemon_config.c | 1 -
src/remote/remote_daemon_dispatch.c | 5 -
src/remote/remote_daemon_dispatch.h | 1 -
src/remote
From: Adam Tao
Signed-off-by: Peng Liang
---
src/security/security_dac.c | 1 -
src/security/security_manager.h | 1 -
src/security/security_nop.c | 2 --
src/security/security_selinux.c | 2 --
src/security/security_stack.c | 1 -
src/security/security_util.c| 1 -
6 files
From: Adam Tao
Signed-off-by: Peng Liang
---
src/qemu/qemu_agent.c| 2 --
src/qemu/qemu_agent.h| 1 -
src/qemu/qemu_alias.c| 1 -
src/qemu/qemu_alias.h| 2 --
src/qemu/qemu_backup.c | 5 -
src/qemu/qemu_block.c| 1 -
src
From: Adam Tao
Signed-off-by: Peng Liang
---
src/openvz/openvz_conf.c | 1 -
src/openvz/openvz_conf.h | 1 -
src/openvz/openvz_driver.h | 2 --
src/openvz/openvz_util.c | 1 -
4 files changed, 5 deletions(-)
diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c
index
From: Adam Tao
Signed-off-by: Peng Liang
---
src/locking/domain_lock.c | 3 ---
src/locking/domain_lock.h | 2 --
src/locking/lock_daemon.c | 2 --
src/locking/lock_daemon_config.c | 4
src/locking/lock_daemon_dispatch.c | 1 -
src/locking/lock_driver.h
From: Adam Tao
Signed-off-by: Peng Liang
---
src/hyperv/hyperv_private.h | 3 ---
src/hyperv/hyperv_util.c| 3 ---
src/hyperv/hyperv_util.h| 1 -
3 files changed, 7 deletions(-)
diff --git a/src/hyperv/hyperv_private.h b/src/hyperv/hyperv_private.h
index da37a8fd20..3d0606bac3 100644
From: Adam Tao
Signed-off-by: Peng Liang
---
src/conf/backup_conf.c| 3 ---
src/conf/capabilities.c | 1 -
src/conf/capabilities.h | 3 ---
src/conf/checkpoint_conf.c| 4
src/conf/checkpoint_conf.h| 1 -
src/conf
From: Adam Tao
Signed-off-by: Peng Liang
---
src/logging/log_daemon.c | 5 -
src/logging/log_daemon_config.c | 4
src/logging/log_daemon_dispatch.c | 1 -
src/logging/log_handler.c | 1 -
src/logging/log_handler.h | 1 -
src/logging/log_manager.c | 1
From: Adam Tao
Signed-off-by: Peng Liang
---
src/network/bridge_driver.c | 5 -
src/network/bridge_driver.h | 3 ---
src/network/bridge_driver_linux.c| 1 -
src/network/bridge_driver_platform.h | 1 -
src/network/leaseshelper.c | 4
5 files changed, 14
From: Adam Tao
Signed-off-by: Peng Liang
---
src/libxl/libxl_capabilities.c | 1 -
src/libxl/libxl_capabilities.h | 2 --
src/libxl/libxl_conf.c | 3 ---
src/libxl/libxl_conf.h | 3 ---
src/libxl/libxl_domain.c | 1 -
src/libxl/libxl_domain.h | 2 --
src/libxl
From: Adam Tao
Signed-off-by: Peng Liang
---
src/esx/esx_driver.c| 1 -
src/esx/esx_interface_driver.c | 6 --
src/esx/esx_network_driver.c| 2 --
src/esx/esx_private.h | 3 ---
src/esx/esx_storage_backend_iscsi.c | 2 --
src/esx
From: Adam Tao
Signed-off-by: Peng Liang
---
src/interface/interface_backend_netcf.c | 2 --
src/interface/interface_backend_udev.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/src/interface/interface_backend_netcf.c
b/src/interface/interface_backend_netcf.c
index d625964421
From: Adam Tao
Signed-off-by: Peng Liang
---
src/ch/ch_conf.c| 1 -
src/ch/ch_domain.c | 1 -
src/ch/ch_driver.c | 7 ---
src/ch/ch_monitor.c | 2 --
src/ch/ch_process.c | 2 --
src/ch/ch_process.h | 1 -
6 files changed, 14 deletions(-)
diff --git a/src/ch/ch_conf.c b/src/ch
From: Adam Tao
Signed-off-by: Peng Liang
---
src/cpu/cpu.c | 3 ---
src/cpu/cpu.h | 1 -
src/cpu/cpu_arm.c | 1 -
src/cpu/cpu_map.c | 2 --
src/cpu/cpu_ppc64.c | 1 -
src/cpu/cpu_s390.c | 2 --
src/cpu/cpu_x86.c | 1 -
7 files changed, 11 deletions(-)
diff --git a/src/cpu
From: Adam Tao
Signed-off-by: Peng Liang
---
src/admin/admin_server.c | 4
src/admin/admin_server.h | 1 -
src/admin/admin_server_dispatch.c | 4
src/admin/libvirt-admin.c | 2 --
4 files changed, 11 deletions(-)
diff --git a/src/admin/admin_server.c b/src
From: Adam Tao
Signed-off-by: Peng Liang
---
src/access/viraccessdriver.h | 1 -
src/access/viraccessdriverpolkit.c | 4
src/access/viraccessdriverstack.c | 1 -
src/access/viraccessmanager.h | 1 -
src/access/viraccessperm.h | 1 -
5 files changed, 8 deletions
Recently, I update the toolchain in my dev machine from LLVM13 to LLVM14,
and I find that there are many unsed include headers in the libvirt. So
I try to remove them in this series.
Besides, I also find that:
1. some header files are not self-contained, which means if you want to
include one
This is v2 of:
https://listman.redhat.com/archives/libvir-list/2021-October/msg00535.html
v1 -> v2:
- Fix compatibility with old version libvirt [Michal]
Peng Liang (2):
qemu: Move pid file of pr-helper to stateDir
qemu: Move pid file of virtiofsd to stateDir
src/qemu/qemu_process.c |
-domain directory to
stateDir.
Signed-off-by: Peng Liang
---
src/qemu/qemu_virtiofs.c | 25 ++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/src/qemu/qemu_virtiofs.c b/src/qemu/qemu_virtiofs.c
index 3ca45457c16e..0c12c5ea22a6 100644
--- a/src/qemu
-domain directory to
stateDir.
Signed-off-by: Peng Liang
---
src/qemu/qemu_process.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index f95ed80fac43..6027b30405dc 100644
--- a/src/qemu/qemu_process.c
1 - 100 of 150 matches
Mail list logo