On 2023/4/24 18:57, Jiri Denemark wrote:
> On Fri, Apr 21, 2023 at 17:39:12 +0800, Jiang Jiacheng wrote:
>>
>> Thank you for your reply and review, I'd appreciate for you to do that.
>>
>> And I'd also like to confirm that we have the following usages after the
tifd' both to true, which I
think is unreasonable though the migration is succeed.
Thanks,
Jiang Jiacheng
On 2023/4/21 1:45, Jiri Denemark wrote:
> On Fri, Feb 24, 2023 at 17:27:09 +0800, Jiang Jiacheng wrote:
>> Add compress method zlib and zstd for parallel migration and new
>> migr
Ping...
On 2023/2/24 17:27, Jiang Jiacheng wrote:
> Add compress method zlib and zstd for parallel migration and new
> migration options to set qemu's parameter related with parallel
> migration(multifd-compression, multifd-zlib-level and multifd-zstd-level).
> These parameters h
Add cgroup for migation thread and implement
qemuDomainPinMigrationThread to pin migraiton thread to
given cpumap.
Signed-off-by: zhengchuan
Signed-off-by: Jiang Jiacheng
---
src/conf/domain_conf.c | 9 ++
src/conf/domain_conf.h | 10 +++
src/conf/virconftypes.h | 2 ++
src
ration parameter.
Signed-off-by: zhengchuan
Signed-off-by: Jiang Jiacheng
---
src/qemu/qemu_migration.c | 28 ++
src/qemu/qemu_process.c | 81 +++
src/qemu/qemu_process.h | 3 ++
3 files changed, 112 insertions(+)
diff --git a/src/qemu/qe
Add 'migrationpin' to migration parameters to provide another method
to set the cpulist required for migration thread pin. 'migrationpin'
can only be set before migration and won't effect if 'virsh migrationpin'
is set.
Signed-off-by: zhengchuan
Signed-off-by: J
Signed-off-by: zhengchuan
Signed-off-by: Jiang Jiacheng
---
src/qemu/qemu_process.c | 56 +
1 file changed, 56 insertions(+)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index e787db8b24..85a22c7e51 100644
--- a/src/qemu/qemu_process.c
Then, pin migration thread with given cpumap. Introduce
virDomainPinMigrationThread API, and it will be implement in
next patch.
Signed-off-by: zhengchuan
Signed-off-by: Jiang Jiacheng
---
include/libvirt/libvirt-domain.h | 5 +++
src/driver-hypervisor.h | 6 +++
src/libvirt-domain.c
First, we need get migration thread info, implement the related
interface to obtain migration threadinfo from qemu using qmp command.
Implementation of the Interface for Obtaining Thread Information
Signed-off-by: zhengchuan
Signed-off-by: Jiang Jiacheng
---
src/qemu/qemu_domain.c | 24
getting information.
Signed-off-by: zhengchuan
Signed-off-by: Jiang Jiacheng
---
tools/virsh-domain.c | 69
1 file changed, 69 insertions(+)
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index a4abcb1b03..43ecd651d8 100644
--- a/tools/virsh-
: Jiang Jiacheng
---
src/qemu/qemu_migration.c| 81
src/qemu/qemu_migration_params.c | 19
src/qemu/qemu_migration_params.h | 4 ++
3 files changed, 104 insertions(+)
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index
w.org/QEMU/20230203073519.2969147-1-jiangjiach...@huawei.com/
Jiang Jiacheng (8):
migration/migration-pin: Implemente the interface of obtaining
migration thread information
migration/migration-pin: get migration pid for migration pin
migration/migration-pin: Introduce virDomainPinMigrat
Add migrate options: --compression-zlib-level
--compression-zstd-level
These options are used to set compress level for "zlib"
or "zstd" during parallel migration if the compress method
is specified.
Signed-off-by: Jiang Jiacheng
---
docs/man
t.com/archives/libvir-list/2023-February/237604.html
diff to v2:
* merge the processing of new method into 'qemuMigrationParamsSetCompression'
* improve descriptions for the new options.
Jiang Jiacheng (3):
Add public API for parallel compression method
virsh: Add migrate options
27;t be used in compress migration.
Signed-off-by: Jiang Jiacheng
---
src/qemu/qemu_migration.h| 2 +
src/qemu/qemu_migration_params.c | 80 +++-
src/qemu/qemu_migration_params.h | 3 ++
3 files changed, 83 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qem
migration.
Signed-off-by: Jiang Jiacheng
---
include/libvirt/libvirt-domain.h | 30 +++---
1 file changed, 27 insertions(+), 3 deletions(-)
diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
index 5152ed4551..40b6b19495 100644
--- a/include/libvirt
On 2023/2/7 23:37, Jiri Denemark wrote:
> On Fri, Jan 20, 2023 at 16:47:42 +0800, Jiang Jiacheng wrote:
>> Add 'qemuMigrationParamsSetParallelCompression' to support set
>> parallel migration compression method. Depending on whether '--parallel'
>>
On 2023/2/7 23:37, Jiri Denemark wrote:
> On Fri, Jan 20, 2023 at 16:47:41 +0800, Jiang Jiacheng wrote:
>> Add qemu migration parameters to support setting multifd
>> migration compression method and level.
>>
>> Signed-off-by: Jiang Jiacheng
>> ---
>>
On 2023/2/7 23:36, Jiri Denemark wrote:
> On Fri, Jan 20, 2023 at 16:47:40 +0800, Jiang Jiacheng wrote:
>> Add description for VIR_MIGRATE_PARAM_COMPRESSION, it will
>> be reused in choosing compression method during multifd migration.
>> Add public API VIR_MIGRATE_PARAM_C
On 2023/1/20 17:41, Claudio Fontana wrote:
> On 1/20/23 09:47, Jiang Jiacheng wrote:
>> Add migrate options: --compression-zlib-level
>> --compression-zstd-level
>> These options are used to set compress level for "zlib"
>> or &q
Ping...
在 2023/1/10 19:29, Jiang Jiacheng 写道:
> Define and use g_autoptr() for virNWFilterDef and virNWFilterRuleDef,
> and remove unnecessary label/variable.
>
> Those patches are followup with:
> https://gitlab.com/libvirt/libvirt/-/commit/a9027d447be789cd11c0aa18ceb83ed79f677f
On 2023/1/18 0:13, Jiri Denemark wrote:
> On Tue, Jan 17, 2023 at 21:58:39 +0800, Jiang Jiacheng wrote:
>>
>>
>> On 2023/1/17 16:44, Claudio Fontana wrote:
>>> Hi,
>>>
>>> On 1/16/23 14:42, Jiang Jiacheng wrote:
>>&g
On 2023/1/17 16:44, Claudio Fontana wrote:
> Hi,
>
> On 1/16/23 14:42, Jiang Jiacheng wrote:
>> Add public API VIR_MIGRATE_PARAM_PARALLEL_COMPRESSION,
>> VIR_MIGRATE_PARAM_PARALLEL_ZLIB_LEVEL, VIR_MIGRATE_PARAM_PARALLEL_ZSTD_LEVEL
>> for migration APIs to support se
On 2023/1/17 16:32, Claudio Fontana wrote:
> Hi,
>
> On 1/16/23 14:42, Jiang Jiacheng wrote:
>> Add qemu multifd migration options to set multifd-compression
>> multifd-zlib-level and multifd-zstd-level.
>
> I think what you are adding here is a new parallel compres
Add qemu migration parameters to support setting multifd
migration compression method and level. Those parameters has
been supportted by QEMU since 5.0.
Signed-off-by: Jiang Jiacheng
---
src/qemu/qemu_migration.h| 3 +++
src/qemu/qemu_migration_params.c | 29
Add multifd migration options: --parallel-compression
--parallel-zlib-level
--parallel-zstd-level
Signed-off-by: Jiang Jiacheng
---
docs/manpages/virsh.rst | 11 +--
tools/virsh-domain.c| 39
Add qemu multifd migration options to set multifd-compression
multifd-zlib-level and multifd-zstd-level.
Jiang Jiacheng (3):
Add public API for parallel compression method
qemu: Add qemu parallel migration parameters
virsh: Add options for multifd migration compression
docs/manpages
Add public API VIR_MIGRATE_PARAM_PARALLEL_COMPRESSION,
VIR_MIGRATE_PARAM_PARALLEL_ZLIB_LEVEL, VIR_MIGRATE_PARAM_PARALLEL_ZSTD_LEVEL
for migration APIs to support set compression method
and compress level used during migration.
Signed-off-by: Jiang Jiacheng
---
include/libvirt/libvirt-domain.h
On 2023/1/10 19:44, Daniel P. Berrangé wrote:
> On Tue, Jan 10, 2023 at 07:30:08PM +0800, Jiang Jiacheng wrote:
>>
>>
>> On 2023/1/9 22:46, Daniel P. Berrangé wrote:
>>> On Tue, Jan 03, 2023 at 09:08:20PM +0800, Jiang Jiacheng wrote:
>>>> From: zhe
Use g_autoptr() for virNWFilterDef and virNWFilterRuleDef and remove
unnecessary label.
Signed-off-by: Jiang Jiacheng
---
src/conf/nwfilter_conf.c| 44 +++--
tests/nwfilterxml2xmltest.c | 22 +++
2 files changed, 26 insertions(+), 40 deletions
Signed-off-by: Jiang Jiacheng
---
src/conf/nwfilter_conf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/conf/nwfilter_conf.h b/src/conf/nwfilter_conf.h
index 1a38e4198c..7c09b3bcb9 100644
--- a/src/conf/nwfilter_conf.h
+++ b/src/conf/nwfilter_conf.h
@@ -522,9 +522,11 @@ struct
'nwfilterDefineXMLFlags' and 'virNWFilterObjListLoadConfig'
Jiang Jiacheng (2):
conf: define g_autoptr for virNWFilterDef and virNWFilterRuleDef
src/tests: use g_autoptr for virNWFilterDef and virNWFilterRuleDef
src/conf/nwfilter_conf.c| 44 +++
question
> below.
>
> On Thu, Dec 08, 2022 at 08:52:19PM +0800, Jiang Jiacheng wrote:
>> With kernel without the ref patch, if queues > vcpus, interrupts
>> will be centralized on one vcpu affecting guest performance. After
>> the ref patch merged, the queues whose nu
On 2023/1/9 23:00, Ján Tomko wrote:
> On a Monday in 2023, Jiang Jiacheng wrote:
>> Use g_autoptr() for virNWFilterDef and virNWFilterRuleDef and remove
>> unnecessary label.
>>
>> Signed-off-by: Jiang Jiacheng
>> ---
>&
On 2023/1/9 22:46, Daniel P. Berrangé wrote:
> On Tue, Jan 03, 2023 at 09:08:20PM +0800, Jiang Jiacheng wrote:
>> From: zhengchuan
>>
>> Firstly, we need to get migration pids, add
>> virDomainMigrateGetMigrationPids() for migration pin.
>>
>> Sign
Define and use g_autoptr() for virNWFilterDef and virNWFilterRuleDef,
and remove unnecessary label/variable.
Those patches are followup with:
https://gitlab.com/libvirt/libvirt/-/commit/a9027d447be789cd11c0aa18ceb83ed79f677f86
Jiang Jiacheng (3):
conf: define g_autoptr for virNWFilterDef and
Signed-off-by: Jiang Jiacheng
---
src/conf/nwfilter_conf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/conf/nwfilter_conf.h b/src/conf/nwfilter_conf.h
index 1a38e4198c..7c09b3bcb9 100644
--- a/src/conf/nwfilter_conf.h
+++ b/src/conf/nwfilter_conf.h
@@ -522,9 +522,11 @@ struct
Signed-off-by: Jiang Jiacheng
---
src/conf/nwfilter_conf.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/conf/nwfilter_conf.c b/src/conf/nwfilter_conf.c
index 382dafb13b..8d198a7bb1 100644
--- a/src/conf/nwfilter_conf.c
+++ b/src/conf/nwfilter_conf.c
@@ -2684,7
Use g_autoptr() for virNWFilterDef and virNWFilterRuleDef and remove
unnecessary label.
Signed-off-by: Jiang Jiacheng
---
src/conf/nwfilter_conf.c | 44 ++
src/conf/virnwfilterobj.c | 19 +++
src/nwfilter/nwfilter_driver.c | 7
On 2023/1/6 20:11, Michal Prívozník wrote:
> On 1/6/23 10:58, Jiang Jiacheng wrote:
>> Use g_autoptr() for virNWFilterDef and virNWFilterRuleDef and remove
>> unnecessary label.
>>
>> Signed-off-by: Jiang Jiacheng
>> ---
>&g
Signed-off-by: Jiang Jiacheng
---
src/conf/nwfilter_conf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/conf/nwfilter_conf.h b/src/conf/nwfilter_conf.h
index 1a38e4198c..7c09b3bcb9 100644
--- a/src/conf/nwfilter_conf.h
+++ b/src/conf/nwfilter_conf.h
@@ -522,9 +522,11 @@ struct
Use g_autoptr() for virNWFilterDef and virNWFilterRuleDef and remove
unnecessary label.
Signed-off-by: Jiang Jiacheng
---
src/conf/nwfilter_conf.c | 44 ++
src/conf/virnwfilterobj.c | 19 +++
src/nwfilter/nwfilter_driver.c | 7
Define and use g_autoptr() for virNWFilterDef and virNWFilterRuleDef,
and remove unnecessary label.
Jiang Jiacheng (2):
conf: define g_autoptr for virNWFilterDef and virNWFilterRuleDef
src/tests: use g_autoptr for virNWFilterDef and virNWFilterRuleDef
src/conf/nwfilter_conf.c | 44
Signed-off-by: Jiang Jiacheng
---
src/locking/lock_driver_lockd.c | 36 +---
src/locking/lock_driver_sanlock.c | 46 ---
2 files changed, 31 insertions(+), 51 deletions(-)
diff --git a/src/locking/lock_driver_lockd.c b/src/locking
Signed-off-by: Jiang Jiacheng
---
src/vz/vz_utils.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/src/vz/vz_utils.c b/src/vz/vz_utils.c
index fcf6d363a9..219d13823b 100644
--- a/src/vz/vz_utils.c
+++ b/src/vz/vz_utils.c
@@ -151,7 +151,8 @@ vzInitCaps
Signed-off-by: Jiang Jiacheng
---
src/vmware/vmware_conf.c | 28 ++--
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c
index 80a85f4d0f..5703ce717e 100644
--- a/src/vmware/vmware_conf.c
+++ b/src/vmware
Signed-off-by: Jiang Jiacheng
---
src/util/virconf.c | 27 ---
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/src/util/virconf.c b/src/util/virconf.c
index 8a96805642..c39489973b 100644
--- a/src/util/virconf.c
+++ b/src/util/virconf.c
@@ -716,7 +716,7
Signed-off-by: Jiang Jiacheng
---
src/rpc/virnetclientprogram.c | 6 ++
src/rpc/virnettlscontext.c| 16 +---
2 files changed, 7 insertions(+), 15 deletions(-)
diff --git a/src/rpc/virnetclientprogram.c b/src/rpc/virnetclientprogram.c
index 5da118bfd3..b93c495347 100644
Signed-off-by: Jiang Jiacheng
---
src/interface/interface_backend_udev.c | 22 --
1 file changed, 8 insertions(+), 14 deletions(-)
diff --git a/src/interface/interface_backend_udev.c
b/src/interface/interface_backend_udev.c
index 979f187d87..54b43fb999 100644
--- a/src
Signed-off-by: Jiang Jiacheng
---
src/remote/remote_driver.c | 22 +++---
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index b0dba9057b..316a11b10f 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote
Use g_autofree more often and remove unnecessary cleanup/error
labels.
diff to v1:
* use g_autofree for uuid in 'virNWFilterDefParseXML'
* remove unused rc in security_apparmor.c
Jiang Jiacheng (9):
conf: use g_autofree and remove unnecessary label
interface: use g_autofree
Signed-off-by: Jiang Jiacheng
---
src/security/security_apparmor.c | 94 +++-
1 file changed, 31 insertions(+), 63 deletions(-)
diff --git a/src/security/security_apparmor.c b/src/security/security_apparmor.c
index 36e8ce42b5..b63b248975 100644
--- a/src/security
Signed-off-by: Jiang Jiacheng
---
src/conf/domain_audit.c | 121 ++-
src/conf/node_device_util.c | 49 +
src/conf/nwfilter_conf.c | 55 +-
src/conf/virnetworkobj.c | 85 --
src/conf
On 2023/1/6 1:45, Jonathon Jongsma wrote:
> On 1/5/23 6:26 AM, Jiang Jiacheng wrote:
>
> ...
>
>
>> @@ -476,33 +459,29 @@
>> AppArmorGetSecurityProcessLabel(virSecurityManager *mgr G_GNUC_UNUSED,
>> {
>> int rc = -1;
>
> 'rc'
On 2023/1/6 1:33, Jonathon Jongsma wrote:
> On 1/5/23 6:26 AM, Jiang Jiacheng wrote:
>> Signed-off-by: Jiang Jiacheng
>
> ...
>
>> diff --git a/src/conf/nwfilter_conf.c b/src/conf/nwfilter_conf.c
>> index 9a95ae6c12..39f36ca29d 100644
>> --- a/src/co
Signed-off-by: Jiang Jiacheng
---
src/locking/lock_driver_lockd.c | 36 +---
src/locking/lock_driver_sanlock.c | 46 ---
2 files changed, 31 insertions(+), 51 deletions(-)
diff --git a/src/locking/lock_driver_lockd.c b/src/locking
Signed-off-by: Jiang Jiacheng
---
src/util/virconf.c | 27 ---
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/src/util/virconf.c b/src/util/virconf.c
index 8a96805642..c39489973b 100644
--- a/src/util/virconf.c
+++ b/src/util/virconf.c
@@ -716,7 +716,7
Signed-off-by: Jiang Jiacheng
---
src/rpc/virnetclientprogram.c | 6 ++
src/rpc/virnettlscontext.c| 16 +---
2 files changed, 7 insertions(+), 15 deletions(-)
diff --git a/src/rpc/virnetclientprogram.c b/src/rpc/virnetclientprogram.c
index 5da118bfd3..b93c495347 100644
Signed-off-by: Jiang Jiacheng
---
src/vz/vz_utils.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/src/vz/vz_utils.c b/src/vz/vz_utils.c
index fcf6d363a9..219d13823b 100644
--- a/src/vz/vz_utils.c
+++ b/src/vz/vz_utils.c
@@ -151,7 +151,8 @@ vzInitCaps
Signed-off-by: Jiang Jiacheng
---
src/interface/interface_backend_udev.c | 22 --
1 file changed, 8 insertions(+), 14 deletions(-)
diff --git a/src/interface/interface_backend_udev.c
b/src/interface/interface_backend_udev.c
index 979f187d87..54b43fb999 100644
--- a/src
Signed-off-by: Jiang Jiacheng
---
src/vmware/vmware_conf.c | 28 ++--
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c
index 80a85f4d0f..5703ce717e 100644
--- a/src/vmware/vmware_conf.c
+++ b/src/vmware
Signed-off-by: Jiang Jiacheng
---
src/remote/remote_driver.c | 22 +++---
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index b0dba9057b..316a11b10f 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote
Signed-off-by: Jiang Jiacheng
---
src/security/security_apparmor.c | 91 +++-
1 file changed, 31 insertions(+), 60 deletions(-)
diff --git a/src/security/security_apparmor.c b/src/security/security_apparmor.c
index 36e8ce42b5..64b57f6a22 100644
--- a/src/security
Signed-off-by: Jiang Jiacheng
---
src/conf/domain_audit.c | 121 ++-
src/conf/node_device_util.c | 49 +
src/conf/nwfilter_conf.c | 51 -
src/conf/virnetworkobj.c | 85 --
src/conf
Use g_autofree more often and remove unnecessary cleanup/error
labels.
Jiang Jiacheng (9):
conf: use g_autofree and remove unnecessary label
interface: use g_autofree and remove unnecessary label
locking: use g_autofree and remove unnecessary label
remote: use g_autofree and remove
Jiang Jiacheng (3):
qemu:fix a misspelling in log
remote: fix misspelling in the documation of
'daemonCreateClientStream'
storage/util: replace unnecessary while loop by if
src/qemu/qemu_process.c | 2 +-
src/remote/remote_daemon_stream.c | 4 ++--
src/storage/stor
These while loops exit directly due to break after entering.
Use if instead of these while loops.
Signed-off-by: Jiang Jiacheng
---
src/storage/storage_util.c | 4 +---
src/util/virutil.c | 6 +-
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/storage
Fix a misspelling in the documation of 'daemonCreateClientStream'.
Signed-off-by: Jiang Jiacheng
---
src/remote/remote_daemon_stream.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/remote/remote_daemon_stream.c
b/src/remote/remote_daemon_stream.c
index
Signed-off-by: Jiang Jiacheng
---
src/qemu/qemu_process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index b6adcf2f2a..04d14e7eb0 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -7590,7 +7590,7
Signed-off-by: Jiang Jiacheng
---
src/qemu/qemu_process.c | 56 +
1 file changed, 56 insertions(+)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 1914aaa992..f5aff9db42 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu
From: zhengchuan
add qemu monitor callback functions
Signed-off-by:zhengchuan
---
src/qemu/qemu_monitor.c | 10 ++
src/qemu/qemu_monitor.h | 6 ++
src/qemu/qemu_monitor_json.c | 16
3 files changed, 32 insertions(+)
diff --git a/src/qemu/qemu_monitor.c b
From: zhengchuan
Firstly, we need to get multifd pids, add
virDomainMigrateGetMigrationMultiFdPids() for migration pin.
Signed-off-by:zhengchuan
---
include/libvirt/libvirt-domain.h | 2 ++
src/driver-hypervisor.h | 5
src/libvirt-domain.c | 40 ++
From: zhengchuan
add domainMigrationPid for qemuMonitorCallbacks
Signed-off-by:zhengchuan
---
src/qemu/qemu_process.c | 107
src/qemu/qemu_process.h | 7 +++
2 files changed, 114 insertions(+)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_proce
Signed-off-by: Jiang Jiacheng
---
tools/virsh-domain.c | 69
1 file changed, 69 insertions(+)
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 2d162cf8c0..e17c526850 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
From: zhengchuan
Add qemuProcessGetPcpumap to get cpumap from migration
parameters when 'virsh migrationpin' is not called.
Signed-off-by:zhengchuan
---
src/qemu/qemu_process.c | 79 +
src/qemu/qemu_process.h | 4 +++
2 files changed, 83 insertions(+)
d
From: zhengchuan
support migration multifd thread pin by configuration.
Signed-off-by:zhengchuan
---
src/qemu/qemu_migration.c | 2 ++
src/qemu/qemu_process.c | 61 +++
src/qemu/qemu_process.h | 4 +++
3 files changed, 67 insertions(+)
diff --git a/src
From: zhengchuan
Firstly, we need to get migration pids, add
virDomainMigrateGetMigrationPids() for migration pin.
Signed-off-by:zhengchuan
---
include/libvirt/libvirt-domain.h | 3 +++
src/driver-hypervisor.h | 5
src/libvirt-domain.c | 39 ++
From: zhengchuan
add qemu monitor callback functions
Signed-off-by:zhengchuan
---
src/qemu/qemu_monitor.c | 10 ++
src/qemu/qemu_monitor.h | 7 +++
src/qemu/qemu_monitor_json.c | 16
3 files changed, 33 insertions(+)
diff --git a/src/qemu/qemu_monitor.c
From: zhengchuan
Secondly, we start to pin multifd pid by given cpumap.
Signed-off-by:zhengchuan
---
src/qemu/qemu_driver.c | 20
1 file changed, 20 insertions(+)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 92049c5bcd..d4597489d5 100644
--- a/src/qem
process.
New API 'pinMigrationThread' and virsh command 'virsh migrationpin'
is used to pin migration thread to expected CPU list before or during
migration.
New migration param 'migration.pin' is used to support migration pin
via interface 'virDomainMigrateToURI3
From: zhengchuan
Add a migrationpin to the migration parameters of live migration to bind cores
to the migration thread during VM migration.
Signed-off-by:zhengchuan
---
include/libvirt/libvirt-domain.h | 10 ++
src/qemu/qemu_domain.c | 1 +
src/qemu/qemu_domain.h |
From: zhengchuan
Secondly, we start to pin migration pid by given cpumap, add
virDomainPinMigrationThread() for migration pin.
Signed-off-by:zhengchuan
---
include/libvirt/libvirt-domain.h | 4 ++
src/conf/domain_conf.c | 9
src/conf/domain_conf.h | 11
src/conf/
Ping...
On 2022/12/8 20:49, Jiang Jiacheng wrote:
> 1.clear passwd in debug log
> 2.alignment
> 3.use the same variable name for function definition and declaration
>
> Signed-off-by: Jiang Jiacheng
> ---
> src/qemu/qemu_monitor.c | 8
> src/qemu/qemu_monitor
Ping...
On 2022/12/8 20:49, Jiang Jiacheng wrote:
> With kernel without the ref patch, if queues > vcpus, interrupts
> will be centralized on one vcpu affecting guest performance. After
> the ref patch merged, the queues whose number is greater than the
> number of vcpus w
1.clear passwd in debug log
2.alignment
3.use the same variable name for function definition and declaration
Signed-off-by: Jiang Jiacheng
---
src/qemu/qemu_monitor.c | 8
src/qemu/qemu_monitor.h | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/qemu
of vhost-user
queues and vcpus.
ref:
https://patchwork.kernel.org/project/linux-scsi/cover/1553682995-5682-1-git-send-email-dongli.zh...@oracle.com/
Signed-off-by: Jiang Jiacheng
---
src/conf/domain_validate.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/
On 2022/11/22 23:53, Peter Krempa wrote:
> On Thu, Nov 17, 2022 at 10:05:33 +0800, Jiang Jiacheng wrote:
>> If the 'boot order' is not specified in the xml, we cancel its
>> bootindex setting and set it to '0'. However, the bootIndexSpecified
>> will be
On 2022/11/22 23:40, Peter Krempa wrote:
> On Thu, Nov 17, 2022 at 10:05:31 +0800, Jiang Jiacheng wrote:
>> Support to update the net's bootindex using 'virsh update-device'.
>> Using flag --config or --persistent to change the boot index and the
>> change
On 2022/11/22 23:52, Peter Krempa wrote:
> On Thu, Nov 17, 2022 at 10:05:32 +0800, Jiang Jiacheng wrote:
>> Support add bootindex = 0 to boothash and return 0 if duplicated bootindex =
>> 0 is set.
>> It is nessary to add bootindex = 0 into boothash, otherwise libvirt w
On 2022/11/22 23:17, Peter Krempa wrote:
> On Thu, Nov 17, 2022 at 10:05:30 +0800, Jiang Jiacheng wrote:
>> Support to update the disk's bootindex using 'virsh update-device'.
>> Using flag --config or --persistent to change the boot index and the
>> change
On 2022/11/22 23:06, Peter Krempa wrote:
> On Thu, Nov 17, 2022 at 10:05:29 +0800, Jiang Jiacheng wrote:
>> Introduce qemuCheckBootIndex to check the new bootindex and is it nessary
>> to update the bootindex. Introduce qemuChangeDiskBootIndex to support update
>> disk
On 2022/11/22 23:02, Peter Krempa wrote:
> On Thu, Nov 17, 2022 at 10:05:28 +0800, Jiang Jiacheng wrote:
>> Add a bool bootIndexSpecified into _virDomainDeviceInfo, which means whether
>> the bootindex could be update or not. BootIndexSpecified will be set to
>> true if bo
On 2022/11/22 22:36, Peter Krempa Wrote:
> On Thu, Nov 17, 2022 at 10:05:27 +0800, Jiang Jiacheng wrote:
>> Introduce qemuDomainChangeBootIndex api to support update device's bootindex.
>> These function will be used in following patches to support change device's
&g
Use same style in the 'struct option' as:
struct option opt[] = {
{ a, b },
{ a, b },
...
{ a, b },
};
diff to v1:
* use the same style in all the 'struct option'
Signed-off-by: Jiang Jiacheng
---
examples/c/domain/domtop.c | 10
*** BLURB HERE ***
Jiang Jiacheng (2):
qemu: convert the flags type to unsigned long
coding-style: Use the same style in the same structure
src/locking/lock_daemon.c | 12 ++--
src/logging/log_daemon.c | 12 ++--
src/qemu/qemu_migration.c | 4 ++--
src/remote
Coding-style of members in the same structure should be unified.
Signed-off-by: Jiang Jiacheng
---
src/locking/lock_daemon.c | 12 ++--
src/logging/log_daemon.c | 12 ++--
src/remote/remote_daemon.c | 14 +++---
3 files changed, 19 insertions(+), 19 deletions(-)
diff
The flags type is unsigend long but passed as unsigend int
when invoke 'qemuMigrationSrcNBDStorageCopy'. Modify it to
prevent data truncation.
Signed-off-by: Jiang Jiacheng
---
src/qemu/qemu_migration.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
These format are left unchanged when convert 'unsigned long' to
'unsigned long long', which caused compile warning.
Signed-off-by: Jiang Jiacheng
---
src/cpu/cpu_arm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cpu/cpu_arm.c b/src/cpu/cpu_ar
set duplicated bootindex = 0.
Signed-off-by: Jiang Jiacheng
---
src/conf/domain_postparse.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/conf/domain_postparse.c b/src/conf/domain_postparse.c
index 9a3e8f494c..2ba3186561 100644
--- a/src/conf/domain_postparse.c
If the 'boot order' is not specified in the xml, we cancel its
bootindex setting and set it to '0'. However, the bootIndexSpecified
will be set to false because we cannot parse boot order from XML,
so copy bootIndexSpecified from origin device when updating it.
Signed-of
1 - 100 of 115 matches
Mail list logo