From: Hao Xiang
* Add test case to start and complete multifd live migration with DSA
offloading enabled.
* Add test case to start and cancel multifd live migration with DSA
offloading enabled.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Reviewed-by
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
scripts/update-linux-headers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 99a8d9fa4c..9128c7499b 100755
--- a/scripts/update-linux
task must contain at least two individual
tasks. There are times we need to submit a single task and hence a
single DSA task submission is also required.
Signed-off-by: Hao Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
include/qemu/dsa.h | 36
From: Hao Xiang
* DSA device open and close.
* DSA group contains multiple DSA devices.
* DSA group configure/start/stop/clean.
Signed-off-by: Hao Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
include/qemu/dsa.h | 99
util
From: Hao Xiang
* Test DSA start and stop path.
* Test DSA configure and cleanup path.
* Test DSA task submission and completion path.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
tests/unit/meson.build | 6 +
tests/unit/test-dsa.c | 504
accelerator. The sender thread submits a batch of pages to DSA
hardware and waits for the DSA completion thread to signal for work
completion.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
migration/multifd-zero-page.c | 149 ++
migration/multifd.c
m DSA task completion checking.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
include/qemu/dsa.h | 1 +
util/dsa.c | 272 -
2 files changed, 272 insertions(+), 1 deletion(-)
diff --git a/include/qemu/dsa.h b/in
dd unit test coverage for Intel DSA task submission and
completion.
migration/multifd: Add integration tests for multifd with Intel DSA
offloading.
Yichen Wang (1):
util/dsa: Add idxd into linux header copy list.
Yuan Liu (1):
migration/doc: Add DSA zero page detection doc
.../migrat
From: Hao Xiang
* Use a safe thread queue for DSA task enqueue/dequeue.
* Implement DSA task submission.
* Implement DSA batch task submission.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
include/qemu/dsa.h | 29 +++
util/dsa.c | 186
Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
include/qemu/dsa.h | 14 +
util/dsa.c | 125 +++--
2 files changed, 135 insertions(+), 4 deletions(-)
diff --git a/include/qemu/dsa.h b/include/qemu/
From: Yuan Liu
Signed-off-by: Yuan Liu
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
.../migration/dsa-zero-page-detection.rst | 290 ++
docs/devel/migration/features.rst | 1 +
2 files changed, 291 insertions(+)
create mode 100644 docs/devel
ned off by default.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Acked-by: Dr. David Alan Gilbert
---
hmp-commands.hx| 2 +-
include/qemu/dsa.h | 13 +
migration/migration-hmp-cmds.c | 20 +++-
migration/options.c
From: Hao Xiang
Enable instruction set enqcmd in build.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
meson.build | 14 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
3 files changed, 19
On Tue, Dec 3, 2024 at 6:12 PM Yichen Wang wrote:
>
> From: Hao Xiang
>
> Intel DSA offloading is an optional feature that turns on if
> proper hardware and software stack is available. To turn on
> DSA offloading in multifd live migration by setting:
>
> zero-page-det
On Tue, Dec 17, 2024 at 9:56 AM Fabiano Rosas wrote:
>
> Yichen Wang writes:
>
> > From: Hao Xiang
> >
> > Multifd sender path gets an array of pages queued by the migration
> > thread. It performs zero page checking on every page in the array.
> > The pa
accelerator. The sender thread submits a batch of pages to DSA
hardware and waits for the DSA completion thread to signal for work
completion.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
migration/multifd-zero-page.c | 149 ++
migration/multifd.c
m DSA task completion checking.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
include/qemu/dsa.h | 1 +
util/dsa.c | 272 -
2 files changed, 272 insertions(+), 1 deletion(-)
diff --git a/include/qemu/dsa.h b/in
From: Hao Xiang
* Test DSA start and stop path.
* Test DSA configure and cleanup path.
* Test DSA task submission and completion path.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
tests/unit/meson.build | 6 +
tests/unit/test-dsa.c | 503
ned off by default.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Acked-by: Dr. David Alan Gilbert
---
hmp-commands.hx| 2 +-
include/qemu/dsa.h | 13 +
migration/migration-hmp-cmds.c | 20 +++-
migration/options.c
From: Hao Xiang
Enable instruction set enqcmd in build.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
meson.build | 14 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
3 files changed, 19
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
scripts/update-linux-headers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 99a8d9fa4c..9128c7499b 100755
--- a/scripts/update-linux
Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 14 +
util/dsa.c | 125 +++--
2 files changed, 135 insertions(+), 4 deletions(-)
diff --git a/include/qemu/dsa.h b/include/qemu/dsa.h
index a9aa394e5b..49723
From: Yuan Liu
Signed-off-by: Yuan Liu
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
.../migration/dsa-zero-page-detection.rst | 290 ++
docs/devel/migration/features.rst | 1 +
2 files changed, 291 insertions(+)
create mode 100644 docs/devel
ation/multifd: Add new migration option for multifd DSA
offloading.
migration/multifd: Enable DSA offloading in multifd sender path.
util/dsa: Add unit test coverage for Intel DSA task submission and
completion.
migration/multifd: Add integration tests for multifd with Intel DSA
off
From: Hao Xiang
* Add test case to start and complete multifd live migration with DSA
offloading enabled.
* Add test case to start and cancel multifd live migration with DSA
offloading enabled.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Reviewed-by
From: Hao Xiang
* Use a safe thread queue for DSA task enqueue/dequeue.
* Implement DSA task submission.
* Implement DSA batch task submission.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
include/qemu/dsa.h | 29 +++
util/dsa.c | 186
From: Hao Xiang
* DSA device open and close.
* DSA group contains multiple DSA devices.
* DSA group configure/start/stop/clean.
Signed-off-by: Hao Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 99
util/dsa.c | 280
task must contain at least two individual
tasks. There are times we need to submit a single task and hence a
single DSA task submission is also required.
Signed-off-by: Hao Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 36 ++-
util/dsa.c | 238
On Tue, Nov 26, 2024 at 5:23 AM Fabiano Rosas wrote:
>
> Yichen Wang writes:
>
> > On Thu, Nov 21, 2024 at 12:52 PM Fabiano Rosas wrote:
> >>
> >> Yichen Wang writes:
> >>
> >> > From: Hao Xiang
> >> >
> >> > Multif
On Tue, Nov 19, 2024 at 1:31 PM Fabiano Rosas wrote:
>
> Yichen Wang writes:
>
> > v7
> > * Rebase on top of f0a5a31c33a8109061c2493e475c8a2f4d022432;
> > * Fix a bug that will crash QEMU when DSA initialization failed;
> > * Use a more generalized accel-p
On Thu, Nov 21, 2024 at 12:52 PM Fabiano Rosas wrote:
>
> Yichen Wang writes:
>
> > From: Hao Xiang
> >
> > Multifd sender path gets an array of pages queued by the migration
> > thread. It performs zero page checking on every page in the array.
> > The pa
On Mon, Nov 25, 2024 at 7:53 AM Fabiano Rosas wrote:
>
> Yichen Wang writes:
>
> > From: Hao Xiang
> >
> > Create DSA task with operation code DSA_OPCODE_COMPVAL.
> > Here we create two types of DSA tasks, a single DSA task and
> > a batch DSA task.
From: Hao Xiang
* Add test case to start and complete multifd live migration with DSA
offloading enabled.
* Add test case to start and cancel multifd live migration with DSA
offloading enabled.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
tests/qtest
task must contain at least two individual
tasks. There are times we need to submit a single task and hence a
single DSA task submission is also required.
Signed-off-by: Hao Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 44 ++--
util/dsa.c | 254
Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 14 +
util/dsa.c | 125 +++--
2 files changed, 135 insertions(+), 4 deletions(-)
diff --git a/include/qemu/dsa.h b/include/qemu/dsa.h
index cb407b8b49..82848
Signed-off-by: Yichen Wang
---
scripts/update-linux-headers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 99a8d9fa4c..9128c7499b 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update
From: Yuan Liu
Signed-off-by: Yuan Liu
Signed-off-by: Yichen Wang
---
.../migration/dsa-zero-page-detection.rst | 290 ++
docs/devel/migration/features.rst | 1 +
2 files changed, 291 insertions(+)
create mode 100644 docs/devel/migration/dsa-zero-page
From: Hao Xiang
* DSA device open and close.
* DSA group contains multiple DSA devices.
* DSA group configure/start/stop/clean.
Signed-off-by: Hao Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 103 +
util/dsa.c | 280
for Intel DSA task submission and
completion.
migration/multifd: Add integration tests for multifd with Intel DSA
offloading.
Yichen Wang (1):
util/dsa: Add idxd into linux header copy list.
Yuan Liu (1):
migration/doc: Add DSA zero page detection doc
.../migration/dsa-zero-
accelerator. The sender thread submits a batch of pages to DSA
hardware and waits for the DSA completion thread to signal for work
completion.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
migration/multifd-zero-page.c | 129 ++
migration/multifd.c
turned off by default.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
hmp-commands.hx| 2 +-
include/qemu/dsa.h | 13 +
migration/migration-hmp-cmds.c | 19 ++-
migration/options.c| 30 ++
From: Hao Xiang
* Use a safe thread queue for DSA task enqueue/dequeue.
* Implement DSA task submission.
* Implement DSA batch task submission.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 29 +++
util/dsa.c | 202
From: Hao Xiang
* Test DSA start and stop path.
* Test DSA configure and cleanup path.
* Test DSA task submission and completion path.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
tests/unit/meson.build | 6 +
tests/unit/test-dsa.c | 503
From: Hao Xiang
Enable instruction set enqcmd in build.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
meson.build | 14 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
3 files changed, 19 insertions(+)
diff --git a
m DSA task completion checking.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 1 +
util/dsa.c | 274 -
2 files changed, 274 insertions(+), 1 deletion(-)
diff --git a/include/qemu/dsa.h b/include/qemu/dsa.h
index
On Fri, Oct 11, 2024 at 10:14 AM Dr. David Alan Gilbert
wrote:
>
> * Yichen Wang (yichen.w...@bytedance.com) wrote:
> > From: Hao Xiang
>
> Please split the cpuid stuff out into a separate patch; it feels like
> it should be in some x86 specific place.
DSA is an Intel f
On Fri, Oct 11, 2024 at 7:14 AM Fabiano Rosas wrote:
>
> Yichen Wang writes:
>
>
> Still doesn't build without DSA:
>
> qemu/include/qemu/dsa.h: In function
> ‘buffer_is_zero_dsa_batch_sync’:
> /home/fabiano/kvm/qemu/include/qemu/dsa.h:183:16: error: ‘errp’
On Fri, Oct 11, 2024 at 9:32 AM Peter Xu wrote:
>
> On Wed, Oct 09, 2024 at 04:45:58PM -0700, Yichen Wang wrote:
>
> The doc update is still missing under docs/, we may need that for a final
> merge.
>
I will work with Intel to prepare a doc in my next patch.
> Are you usi
From: Hao Xiang
* DSA device open and close.
* DSA group contains multiple DSA devices.
* DSA group configure/start/stop/clean.
Signed-off-by: Hao Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 103 +
util/dsa.c | 282
m DSA task completion checking.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 1 +
util/dsa.c | 274 -
2 files changed, 274 insertions(+), 1 deletion(-)
diff --git a/include/qemu/dsa.h b/include/qemu/dsa.h
index
accelerator. The sender thread submits a batch of pages to DSA
hardware and waits for the DSA completion thread to signal for work
completion.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
migration/multifd-zero-page.c | 133 ++
migration/multifd.c
From: Hao Xiang
* Use a safe thread queue for DSA task enqueue/dequeue.
* Implement DSA task submission.
* Implement DSA batch task submission.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 29 +++
util/dsa.c | 202
feature is turned off by default.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
hmp-commands.hx| 2 +-
include/qemu/dsa.h | 13 +
migration/migration-hmp-cmds.c | 19 ++-
migration/options.c| 30
From: Hao Xiang
* Add test case to start and complete multifd live migration with DSA
offloading enabled.
* Add test case to start and cancel multifd live migration with DSA
offloading enabled.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
tests/qtest
task must contain at least two individual
tasks. There are times we need to submit a single task and hence a
single DSA task submission is also required.
Signed-off-by: Hao Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 45 ++--
util/dsa.c | 254
Signed-off-by: Yichen Wang
---
migration/migration-hmp-cmds.c | 7 ++
migration/multifd-zlib.c | 6 --
migration/multifd-zstd.c | 6 --
migration/options.c| 39 ++
migration/options.h| 1 +
qapi/migration.json
Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 14 +
util/dsa.c | 125 +++--
2 files changed, 135 insertions(+), 4 deletions(-)
diff --git a/include/qemu/dsa.h b/include/qemu/dsa.h
index 89841a6ffa..a3b50
tifd sender path.
migration/multifd: Add migration option set packet size.
util/dsa: Add unit test coverage for Intel DSA task submission and
completion.
migration/multifd: Add integration tests for multifd with Intel DSA
offloading.
Yichen Wang (1):
util/dsa: Add idxd into linux heade
From: Hao Xiang
* Test DSA start and stop path.
* Test DSA configure and cleanup path.
* Test DSA task submission and completion path.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
tests/unit/meson.build | 6 +
tests/unit/test-dsa.c | 503
Signed-off-by: Yichen Wang
---
scripts/update-linux-headers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index c34ac6454e..5aba95d9cb 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update
From: Hao Xiang
Enable instruction set enqcmd in build.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
meson.build | 14 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
3 files changed, 19 insertions(+)
diff --git a
build issues. No need to copy stable as it just landed 9.2.
>
> Cc: Yichen Wang
> Cc: Bryan Zhang
> Cc: Hao Xiang
> Cc: Yuan Liu
> Fixes: 80484f9459 ("migration: Introduce 'qatzip' compression method")
> Signed-off-by: Peter Xu
> ---
>
>
On Wed, Jul 17, 2024 at 7:41 AM Fabiano Rosas wrote:
>
> Yichen Wang writes:
>
> > From: Hao Xiang
> >
> > Multifd sender path gets an array of pages queued by the migration
> > thread. It performs zero page checking on every page in the array.
> > The pa
On Mon, Jul 15, 2024 at 8:02 AM Liu, Yuan1 wrote:
>
> > -Original Message-
> > From: Yichen Wang
> > Sent: Friday, July 12, 2024 5:53 AM
> > To: Paolo Bonzini ; Marc-André Lureau
> > ; Daniel P. Berrangé ;
> > Thomas Huth ; Philippe Mathieu-Daudé
&g
On Wed, Jul 24, 2024 at 7:50 AM Markus Armbruster wrote:
>
> Fabiano Rosas writes:
>
> > Yichen Wang writes:
> >
> >> On Thu, Jul 11, 2024 at 2:53 PM Yichen Wang
> >> wrote:
> >>
> >>> diff --git a/migration/options.c b/migration/opt
On Wed, Sep 4, 2024 at 11:11 PM Prasad Pandit wrote:
>
> On Sat, 31 Aug 2024 at 04:58, Yichen Wang wrote:
> > +/*
> > + * 1: best speed, ... 9: best compress ratio
> > + * There is some nuance here. Refer to QATzip documentation to understand
> > + * the mappin
From: Bryan Zhang
Adds an integration test for 'qatzip'.
Reviewed-by: Fabiano Rosas
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
tests/qtest/migration-test.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/t
From: Yuan Liu
add Intel QATzip compression method introduction
Reviewed-by: Nanhai Zou
Reviewed-by: Peter Xu
Reviewed-by: Fabiano Rosas
Signed-off-by: Yuan Liu
Signed-off-by: Yichen Wang
---
docs/devel/migration/features.rst | 1 +
docs/devel/migration/qatzip-compression.rst
From: Bryan Zhang
Adds support for migration parameters to control QATzip compression
level.
Acked-by: Markus Armbruster
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
migration/migration-hmp-cmds.c | 4
migration/options.c| 34
From: Bryan Zhang
Add a 'qatzip' feature, which is automatically disabled, and which
depends on the QATzip library if enabled.
Reviewed-by: Fabiano Rosas
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
meson.build
ests/qtest/migration-test.c| 27 ++
14 files changed, 667 insertions(+), 3 deletions(-)
create mode 100644 docs/devel/migration/qatzip-compression.rst
create mode 100644 migration/multifd-qatzip.c
--
Yichen Wang
an Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
hw/core/qdev-properties-system.c | 2 +-
migration/meson.build| 1 +
migration/multifd-qatzip.c | 394 +++
migration/multifd.h | 5 +-
qapi/migration.json
On Thu, Aug 22, 2024 at 4:06 AM Prasad Pandit wrote:
>
> Hello,
>
> On Tue, 20 Aug 2024 at 22:40, Yichen Wang wrote:
> > +static int qatzip_send_setup(MultiFDSendParams *p, Error **errp)
> > +{
> > +QatzipData *q;
> > +QzSessionParamsDeflate_T
On Wed, Aug 21, 2024 at 4:56 AM Prasad Pandit wrote:
>
> On Tue, 20 Aug 2024 at 22:40, Yichen Wang wrote:
> > Adds support for migration parameters to control QATzip compression
> > level and to enable/disable software fallback when QAT hardware is
> > unavailable. This
From: Bryan Zhang
Adds an integration test for 'qatzip'.
Reviewed-by: Fabiano Rosas
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
tests/qtest/migration-test.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/t
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
migration/migration-hmp-cmds.c | 4
migration/options.c| 34 ++
migration/options.h| 1 +
qapi/migration.json| 18 ++
4 files
igration/options.h | 1 +
qapi/migration.json | 21 ++
scripts/meson-buildoptions.sh | 3 +
tests/qtest/migration-test.c| 27 ++
14 files changed, 667 insertions(+), 3 deletions(-)
create mode 100644 docs/devel/migration/qatzip-compression.rst
create mode 100644 migration/multifd-qatzip.c
--
Yichen Wang
ao Xiang
Signed-off-by: Yichen Wang
---
hw/core/qdev-properties-system.c | 2 +-
migration/meson.build| 1 +
migration/multifd-qatzip.c | 394 +++
migration/multifd.h | 5 +-
qapi/migration.json | 3 +
5 files changed,
From: Bryan Zhang
Add a 'qatzip' feature, which is automatically disabled, and which
depends on the QATzip library if enabled.
Reviewed-by: Fabiano Rosas
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
meson.build
From: Yuan Liu
add Intel QATzip compression method introduction
Reviewed-by: Nanhai Zou
Reviewed-by: Peter Xu
Signed-off-by: Yuan Liu
Signed-off-by: Yichen Wang
---
docs/devel/migration/features.rst | 1 +
docs/devel/migration/qatzip-compression.rst | 165
From: Yuan Liu
add Intel QATzip compression method introduction
Signed-off-by: Yuan Liu
Reviewed-by: Nanhai Zou
Reviewed-by: Peter Xu
Reviewed-by: Yichen Wang
---
docs/devel/migration/features.rst | 1 +
docs/devel/migration/qatzip-compression.rst | 165
2
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Acked-by: Markus Armbruster
---
migration/migration-hmp-cmds.c | 4
migration/options.c| 34 ++
migration/options.h| 1 +
qapi/migration.json| 18 ++
4 files
From: Bryan Zhang
Adds support for 'qatzip' as an option for the multifd compression
method parameter, and implements using QAT for 'qatzip' compression and
decompression.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Acked-by: Markus Armb
From: Bryan Zhang
Add a 'qatzip' feature, which is automatically disabled, and which
depends on the QATzip library if enabled.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
meson.build | 10 ++
meson_options.txt
From: Bryan Zhang
Adds an integration test for 'qatzip'.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
tests/qtest/migration-test.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/t
ptions.sh | 3 +
tests/qtest/migration-test.c| 27 ++
14 files changed, 667 insertions(+), 3 deletions(-)
create mode 100644 docs/devel/migration/qatzip-compression.rst
create mode 100644 migration/multifd-qatzip.c
--
Yichen Wang
From: Yuan Liu
add Intel QATzip compression method introduction
Signed-off-by: Yuan Liu
Reviewed-by: Nanhai Zou
Reviewed-by: Peter Xu
Reviewed-by: Yichen Wang
---
docs/devel/migration/features.rst | 1 +
docs/devel/migration/qatzip-compression.rst | 251
2
From: Bryan Zhang
Adds support for 'qatzip' as an option for the multifd compression
method parameter, and implements using QAT for 'qatzip' compression and
decompression.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
hw/core/qdev
From: Bryan Zhang
Adds an integration test for 'qatzip'.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
Reviewed-by: Fabiano Rosas
---
tests/qtest/migration-test.c | 31 +++
1 file changed, 31 insertions(+)
diff --g
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
migration/migration-hmp-cmds.c | 4
migration/options.c| 34 ++
migration/options.h| 1 +
qapi/migration.json| 18 ++
4 files changed, 57 insertions
| 21 ++
scripts/meson-buildoptions.sh | 3 +
tests/qtest/meson.build | 4 +
tests/qtest/migration-test.c| 31 ++
15 files changed, 749 insertions(+), 3 deletions(-)
create mode 100644 docs/devel/migration/qatzip-compression.rst
create mode 100644 migration/multifd-qatzip.c
--
Yichen Wang
From: Bryan Zhang
Add a 'qatzip' feature, which is automatically disabled, and which
depends on the QATzip library if enabled.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
meson.build | 10 ++
meson_options.txt
On Fri, Jul 12, 2024 at 7:17 AM Fabiano Rosas wrote:
>
> Yichen Wang writes:
>
> > From: Bryan Zhang
> >
> > Adds support for 'qatzip' as an option for the multifd compression
> > method parameter, and implements using QAT for 'qatzip' com
From: Hao Xiang
* Add test case to start and complete multifd live migration with DSA
offloading enabled.
* Add test case to start and cancel multifd live migration with DSA
offloading enabled.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
tests/qtest
From: Hao Xiang
* Test DSA start and stop path.
* Test DSA configure and cleanup path.
* Test DSA task submission and completion path.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
tests/unit/meson.build | 6 +
tests/unit/test-dsa.c | 503
Signed-off-by: Yichen Wang
---
migration/migration-hmp-cmds.c | 7 +++
migration/multifd-zlib.c | 6 --
migration/multifd-zstd.c | 6 --
migration/multifd.c| 6 --
migration/multifd.h| 3 ---
migration/options.c| 38
accelerator. The sender thread submits a batch of pages to DSA
hardware and waits for the DSA completion thread to signal for work
completion.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h| 4 +-
migration/migration.c | 2 +-
migration/multifd
On Thu, Jul 11, 2024 at 2:53 PM Yichen Wang wrote:
> diff --git a/migration/options.c b/migration/options.c
> index 645f55003d..f839493016 100644
> --- a/migration/options.c
> +++ b/migration/options.c
> @@ -29,6 +29,7 @@
> #include "ram.h"
> #include "
task must contain at least two individual
tasks. There are times we need to submit a single task and hence a
single DSA task submission is also required.
Signed-off-by: Hao Xiang
Signed-off-by: Bryan Zhang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 18
util/dsa.c | 247
From: Hao Xiang
* Use a safe thread queue for DSA task enqueue/dequeue.
* Implement DSA task submission.
* Implement DSA batch task submission.
Signed-off-by: Hao Xiang
Signed-off-by: Yichen Wang
---
include/qemu/dsa.h | 46 ++
util/dsa.c | 222
1 - 100 of 128 matches
Mail list logo