On Sat, 20 Apr 2019 19:14:25 +0200
Lukas Straub wrote:
> From: Lukas Straub
> Because event_unhandled_count may be accessed concurrently, it needs
> to be protected by taking the lock. However the assert is outside the
> lock, probably causing it to read garbage and aborting Qemu
&
On Sat, 5 Oct 2019 15:05:23 +0200
Lukas Straub wrote:
> After failover the Secondary side of replication shouldn't change state,
> because
> it now functions as our primary disk.
>
> In replication_start, replication_do_checkpoint, replication_stop, ignore
> the requ
On Wed, 23 Oct 2019 14:49:29 +0200
Max Reitz wrote:
> On 05.10.19 15:05, Lukas Straub wrote:
> > After failover the Secondary side of replication shouldn't change state,
> > because
> > it now functions as our primary disk.
> >
> > In replic
On Wed, 27 Nov 2019 22:11:34 +0100
Lukas Straub wrote:
> On Fri, 22 Nov 2019 09:46:46 +
> "Dr. David Alan Gilbert" wrote:
>
> > * Lukas Straub (lukasstra...@web.de) wrote:
> > > Hello Everyone,
> > > These patches introduce a resource agent
Introduce a resource agent which can be used in a
Pacemaker cluster to manage qemu COLO.
Signed-off-by: Lukas Straub
---
scripts/colo-resource-agent/colo | 1026 ++
1 file changed, 1026 insertions(+)
create mode 100755 scripts/colo-resource-agent/colo
diff --git a
failover, because qemu hangs while removing the replication related block nodes.
Note that this also happens in real world test when cutting power to the peer
host, so this needs to be fixed.
Based-on:
([PATCH v7 0/4] colo: Add support for continuous replication)
Lukas Straub (4):
block
While I'm not going to have much time for this, I'll still
try to test and review patches.
Signed-off-by: Lukas Straub
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index d6de200453..aad8356149 100644
--- a/MAINTAINERS
+++ b/M
If we remove the child with the highest index from the quorum,
decrement s->next_child_index. This way we get stable children
names as long as we only remove the last child.
Signed-off-by: Lukas Straub
---
block/quorum.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/block/quorum.
Add high-level test relying on the colo resource-agent to test
all failover cases while checking guest network connectivity
Signed-off-by: Lukas Straub
---
scripts/colo-resource-agent/crm_master | 44 +++
tests/acceptance/colo.py | 444 +
2 files changed
On Thu, 21 Nov 2019 12:04:58 -0600
Eric Blake wrote:
> On 11/21/19 11:49 AM, Lukas Straub wrote:
> > If we remove the child with the highest index from the quorum,
> > decrement s->next_child_index. This way we get stable children
> > names as long as we on
---
> target/i386/hvf/x86_emu.c| 3 --
> target/i386/hvf/x86hvf.c | 26 +
> 6 files changed, 108 insertions(+), 84 deletions(-)
>
Hi,
I can't comment on your code, but simply resend this as v2 with the
checkpatch.pl errors fixed. You can run checkpatch.pl locally before
posting (scripts/checkpatch.pl).
Regards,
Lukas Straub
On Fri, 22 Nov 2019 09:46:46 +
"Dr. David Alan Gilbert" wrote:
> * Lukas Straub (lukasstra...@web.de) wrote:
> > Hello Everyone,
> > These patches introduce a resource agent for use with the Pacemaker CRM and
> > a
> > high-level test utilizing it for te
On Tue, 26 Nov 2019 15:21:37 +0100
Alberto Garcia wrote:
> On Thu 21 Nov 2019 07:34:45 PM CET, Lukas Straub wrote:
> >> > diff --git a/block/quorum.c b/block/quorum.c
> >> > index df68adcfaa..6100d4108a 100644
> >> > --- a/block/quorum.c
> >> &
After failover, the Secondary side of replication shouldn't change state.
Add the necessary checks to ignore requests after failover.
Signed-off-by: Lukas Straub
---
block/replication.c | 31 +++
1 file changed, 27 insertions(+), 4 deletions(-)
diff --git a/
Hello Everyone,
These Patches add support for continious replication to colo.
Please review.
Regards,
Lukas Straub
Lukas Straub (3):
Replication: Ignore requests after failover
net/filter.c: Add Options to insert filters anywhere in the filter list
Document the qmp commands for continious
To switch the Secondary to Primary, we need to insert new filters before
the filter-rewriter.
Add the necessary options to insert filters anywhere in the filter list.
Signed-off-by: Lukas Straub
---
include/net/filter.h | 2 ++
net/filter.c | 73
Signed-off-by: Lukas Straub
---
docs/COLO-FT.txt | 185 +++
1 file changed, 138 insertions(+), 47 deletions(-)
diff --git a/docs/COLO-FT.txt b/docs/COLO-FT.txt
index ad24680d13..c08bfbd3a8 100644
--- a/docs/COLO-FT.txt
+++ b/docs/COLO-FT.txt
Document the qemu command-line and qmp commands for continious replication
Signed-off-by: Lukas Straub
---
docs/COLO-FT.txt | 185 +++
1 file changed, 138 insertions(+), 47 deletions(-)
diff --git a/docs/COLO-FT.txt b/docs/COLO-FT.txt
index
Hello Everyone,
These Patches add support for continious replication to colo.
Please review.
Regards,
Lukas Straub
v2:
- fix email formating
- fix checkpatch.pl warnings
- fix patchew error
- clearer commit messages
Lukas Straub (3):
Replication: Ignore requests after failover
net
r) or
BLOCK_REPLICATION_FAILOVER (failover in progres i.e. currently merging active
and hidden images into the base image).
Signed-off-by: Lukas Straub
---
block/replication.c | 38 +++---
1 file changed, 35 insertions(+), 3 deletions(-)
diff --git a/block/replication.c b/block/replicat
e either "before" or "after" to specify where to
insert the new filter relative to the one specified with position.
Signed-off-by: Lukas Straub
---
include/net/filter.h | 2 ++
net/filter.c | 71 +++-
qemu-options.hx | 10
r) or
BLOCK_REPLICATION_FAILOVER (failover in progres i.e. currently merging active
and hidden images into the base image).
Signed-off-by: Lukas Straub
---
block/replication.c | 38 +++---
1 file changed, 35 insertions(+), 3 deletions(-)
diff --git a/block/replication.c b/block/replicat
e either "before" or "after" to specify where to
insert the new filter relative to the one specified with position.
Signed-off-by: Lukas Straub
---
include/net/filter.h | 2 ++
net/filter.c | 71 +++-
qemu-options.hx | 10
Document the qemu command-line and qmp commands for continious replication
Signed-off-by: Lukas Straub
---
docs/COLO-FT.txt | 185 +++
1 file changed, 138 insertions(+), 47 deletions(-)
diff --git a/docs/COLO-FT.txt b/docs/COLO-FT.txt
index
Hello Everyone,
These Patches add support for continious replication to colo.
Please review.
Regards,
Lukas Straub
v2:
- fix email formating
- fix checkpatch.pl warnings
- fix patchew error
- clearer commit messages
Lukas Straub (3):
Replication: Ignore requests after failover
net
On Thu, 15 Aug 2019 19:57:37 +0100
"Dr. David Alan Gilbert" wrote:
> * Lukas Straub (lukasstra...@web.de) wrote:
> > Hello Everyone,
> > These Patches add support for continious replication to colo.
> > Please review.
>
>
> OK, for those who haven&
On Fri, 16 Aug 2019 01:51:20 +
"Zhang, Chen" wrote:
> > -Original Message-
> > From: Lukas Straub [mailto:lukasstra...@web.de]
> > Sent: Friday, August 16, 2019 3:48 AM
> > To: Dr. David Alan Gilbert
> > Cc: qemu-devel ; Zhang, Chen
&g
There has never been a test for migration with compress enabled.
Add a suitable test, testing with compress-wait-thread = false
too.
iterations = 2 is intentional, so it also tests that no invalid
thread state is left over from the previous iteration.
Signed-off-by: Lukas Straub
---
tests
-off-by: Lukas Straub
---
migration/ram.c | 24 +++-
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index 96e8a19a58..9d1817ab7b 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -688,12 +688,11 @@ exit:
* @offset: offset
There has never been a test for migration with compress enabled.
Add a suitable test, testing with compress-wait-thread = false
too.
iterations = 2 is intentional, so it also tests that no invalid
thread state is left over from the previous iteration.
Signed-off-by: Lukas Straub
---
tests
-off-by: Lukas Straub
---
migration/ram.c | 24 +++-
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index 96e8a19a58..9d1817ab7b 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -688,12 +688,11 @@ exit:
* @offset: offset
Instead introduce a extra parameter to trigger the compress thread.
Now, when the compress thread is done, we know what RAMBlock and
offset it did compress.
This will be used in the next commits to move save_page_header()
out of compress code.
Signed-off-by: Lukas Straub
---
migration/ram.c
This will be used in the next commits to move save_page_header()
out of compress code.
Signed-off-by: Lukas Straub
---
migration/ram.c | 34 ++
1 file changed, 22 insertions(+), 12 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index 9d1817ab7b
This makes the core compress code more independend from ram.c.
Signed-off-by: Lukas Straub
---
migration/ram.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index 7ab008145b..f55eb0e587 100644
--- a/migration/ram.c
Make ram-compress.c target independent.
Signed-off-by: Lukas Straub
---
migration/meson.build| 2 +-
migration/ram-compress.c | 16 +---
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/migration/meson.build b/migration/meson.build
index 262e3c9754..16f642031c
Signed-off-by: Lukas Straub
---
migration/ram.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/migration/ram.c b/migration/ram.c
index 7a8f540737..9072d70f7c 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -32,7 +32,6 @@
#include "qemu/bitmap.h"
#include "qemu/madvi
COLO with compress enabled.
This series is based on the following series:
https://lore.kernel.org/qemu-devel/af76761aa6978071c5b8e9b872b697db465a5520.1680457631.git.lukasstra...@web.de/T/#t
Lukas Straub (14):
ram.c: Let the compress threads return a CompressResult enum
ram.c: Dont change param
Make compression interfaces take send_queued_data() as an argument.
Remove save_page_use_compression() from flush_compressed_data().
This removes the last ram.c dependency from the core compress code.
Signed-off-by: Lukas Straub
---
migration/ram.c | 27 +--
1 file
Signed-off-by: Lukas Straub
---
migration/ram.c | 18 --
1 file changed, 18 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index 114901241e..31b9b0b9ec 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -530,24 +530,6 @@ static bool pss_overlap(PageSearchStatus
.
Signed-off-by: Lukas Straub
---
migration/ram.c | 44 +++-
1 file changed, 35 insertions(+), 9 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index bef6292ef7..7ab008145b 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -1476,17 +1476,13
Before this series, "nothing to send" was handled by the file buffer
being empty. Now it is tracked via param->result.
Assert that the file buffer state matches the result.
Signed-off-by: Lukas Straub
---
migration/qemu-file.c| 11 +++
migration/qemu-file.h| 1 +
No functional changes intended.
Signed-off-by: Lukas Straub
---
migration/meson.build| 5 +-
migration/ram-compress.c | 273 +++
migration/ram-compress.h | 65 ++
migration/ram.c | 255 +---
4 files
its to move save_page_header()
out of compress code.
Signed-off-by: Lukas Straub
---
migration/ram.c | 32 ++--
1 file changed, 22 insertions(+), 10 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index 3c9fac086d..bef6292ef7 100644
--- a/migration/ram.c
Introduce whitespace to make it easier to reroll the series.
Signed-off-by: Lukas Straub
---
migration/ram.c | 12
1 file changed, 12 insertions(+)
diff --git a/migration/ram.c b/migration/ram.c
index 20428ccf42..475c04a18b 100644
--- a/migration/ram.c
+++ b/migration/ram.c
No functional changes intended.
Signed-off-by: Lukas Straub
---
migration/ram-compress.c | 203 ++
migration/ram-compress.h | 5 +
migration/ram.c | 204 ---
3 files changed, 208 insertions(+), 204 deletions
This fixes compress with colo.
Signed-off-by: Lukas Straub
---
migration/migration.c | 9 +
migration/ram.c | 5 -
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/migration/migration.c b/migration/migration.c
index ae2025d9d8..cbdc10b840 100644
--- a/migration
On Mon, 3 Apr 2023 09:25:41 +0200
Philippe Mathieu-Daudé wrote:
> On 2/4/23 19:56, Lukas Straub wrote:
> > This will be used in the next commits to move save_page_header()
> > out of compress code.
> >
> > Signed-off-by: Lukas Straub
> &g
On Mon, 3 Apr 2023 17:17:52 -0400
Peter Xu wrote:
> On Sun, Apr 02, 2023 at 05:47:45PM +0000, Lukas Straub wrote:
> > There has never been a test for migration with compress enabled.
> >
> > Add a suitable test, testing with compress-wait-thread = false
> > too.
There has never been tests for migration with compress enabled.
Add suitable tests, testing with compress-wait-thread = false
too.
Signed-off-by: Lukas Straub
---
v2:
- Split into 2 tests, one with compress-wait-thread = true and faster
compress options. And one with compress-wait-thread
: ec6f3ab9f4 ("migration: Move last_sent_block into PageSearchStatus")
Signed-off-by: Lukas Straub
Reviewed-by: Peter Xu
---
v2:
- Add Fixed: and Reviewed-by: tags
migration/ram.c | 24 +++-
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/migrati
On Sun, 2 Apr 2023 17:55:59 +
Lukas Straub wrote:
> This series refactors the ram compress code.
>
> It first removes ram.c dependencies from the core compress code, then
> moves it out to its own file. Finally, on the migration destination side
> the initialisation and clea
Ping? This should go in rc4, there is not much time left to prepare a
PULL...
Best Regards,
Lukas Straub
On Tue, 4 Apr 2023 14:36:03 +
Lukas Straub wrote:
> Since ec6f3ab9, migration with compress enabled was broken, because
> the compress threads use a dummy QEMUFile which just act
Ping...
On Thu, 6 Apr 2023 15:21:55 +
Lukas Straub wrote:
> Ping? This should go in rc4, there is not much time left to prepare a
> PULL...
>
> Best Regards,
> Lukas Straub
>
> On Tue, 4 Apr 2023 14:36:03 +
> Lukas Straub wrote:
>
> > Since ec6f3ab9
This will be used in the next commits to add colo support to multifd.
Signed-off-by: Lukas Straub
---
migration/ram.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/migration/ram.c b/migration/ram.c
index 2d3fd2112a..f9e7aeda12 100644
--- a/migration/ram.c
+++ b/migration/ram.c
This allows to override the behaviour around recv_pages. Think of
it like a "multifd_colo" child class of multifd.
This will be used in the next commits to add colo support to multifd.
Signed-off-by: Lukas Straub
---
migration/meson.build| 1 +
migration/multifd-colo.
Hello Everyone,
These patches add support for colo to multifd.
Lukas Straub (5):
ram: Add public helper to set colo bitmap
ram: Let colo_flush_ram_cache take the bitmap_mutex
multifd: Introduce multifd-internal.h
multifd: Introduce a overridable revc_pages method
multifd: Add colo
The overhead of the mutex in non-multifd mode is negligible,
because in that case its just the single thread taking the mutex.
This will be used in the next commits to add colo support to multifd.
Signed-off-by: Lukas Straub
---
migration/ram.c | 17 ++---
migration/ram.h | 1 +
2
Introduce multifd-internal.h so code that would normally go into
multifd.c can go into an extra file. This way, multifd.c hopefully
won't grow to 4000 lines like ram.c
This will be used in the next commits to add colo support to multifd.
Signed-off-by: Lukas Straub
---
migration/mu
Signed-off-by: Lukas Straub
---
migration/multifd-colo.c | 30 +-
migration/multifd.c | 11 +--
migration/multifd.h | 2 ++
3 files changed, 36 insertions(+), 7 deletions(-)
diff --git a/migration/multifd-colo.c b/migration/multifd-colo.c
index
On Tue, 02 May 2023 12:39:12 +0200
Juan Quintela wrote:
> [...]
>
> my patches are only code movement and cleanups, so Lukas any clue?
>
> Lukas, I am going to drop the compress code for now and pass the other
> patches. In the meanwhile, I am going to try to setup some machine
> where I can r
On Mon, 08 May 2023 10:12:35 +0200
Juan Quintela wrote:
> Lukas Straub wrote:
> > On Tue, 02 May 2023 12:39:12 +0200
> > Juan Quintela wrote:
> >
> >> [...]
> >>
> >> my patches are only code movement and cleanups, so Lukas any clue?
> >&
This will be used in the next commits to add colo support to multifd.
Signed-off-by: Lukas Straub
---
migration/multifd.c | 11 +--
migration/multifd.h | 2 ++
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/migration/multifd.c b/migration/multifd.c
index fb5e8859de
Hello Everyone,
These patches add support for colo to multifd.
-v2:
- Split out addition of p->block
- Add more comments
Lukas Straub (6):
ram: Add public helper to set colo bitmap
ram: Let colo_flush_ram_cache take the bitmap_mutex
multifd: Introduce multifd-internal.h
mult
This is not required, colo_flush_ram_cache does not run concurrently
with the multifd threads since the cache is only flushed after
everything has been received. But it makes me more comfortable.
This will be used in the next commits to add colo support to multifd.
Signed-off-by: Lukas Straub
This allows to override the behaviour around recv_pages. Think of
it like a "multifd_colo" child class of multifd.
This will be used in the next commits to add colo support to multifd.
Signed-off-by: Lukas Straub
---
migration/meson.build| 1 +
migration/multifd-colo.
The overhead of the mutex in non-multifd mode is negligible,
because in that case its just the single thread taking the mutex.
This will be used in the next commits to add colo support to multifd.
Signed-off-by: Lukas Straub
---
migration/ram.c | 17 ++---
migration/ram.h | 1 +
2
Introduce multifd-internal.h so code that would normally go into
multifd.c can go into an extra file. This way, multifd.c hopefully
won't grow to 4000 lines like ram.c
This will be used in the next commits to add colo support to multifd.
Signed-off-by: Lukas Straub
---
migration/mu
Like in the normal ram_load() path, put the received pages into the
colo cache and mark the pages in the bitmap so that they will be
flushed to the guest later.
Signed-off-by: Lukas Straub
---
migration/multifd-colo.c | 30 +-
1 file changed, 29 insertions(+), 1
On Tue, 9 May 2023 20:15:28 +0200
Juan Quintela wrote:
> From: Lukas Straub
>
> Like in the normal ram_load() path, put the received pages into the
> colo cache and mark the pages in the bitmap so that they will be
> flushed to the guest later.
>
> Signed
On Thu, 11 May 2023 11:52:55 +0200
Juan Quintela wrote:
> Lukas Straub wrote:
> > On Tue, 9 May 2023 20:15:28 +0200
> > Juan Quintela wrote:
> >
> >> From: Lukas Straub
> >>
> >> Like in the normal ram_load() path, put the received pages in
this patch marks s->block_inactive before attempting inactivation,
> rather than after succeeding, in order to prevent any vm_start() until
> it has successfully reactivated all devices.
>
> See also https://bugzilla.redhat.com/show_bug.cgi?id=2058982
>
> Signed-off-by:
ex-team.ru>
Hey,
This series is a good idea, and looks fine to me. Maybe you can remove
the #ifdef CONFIG_REPLICATION/#ifndef CONFIG_REPLICATION from
migration/colo.c too while you are at it.
Regards,
Lukas Straub
> Vladimir Sementsov-Ogievskiy (4):
> block/meson.build: prefer positive
This makes the core compress code more independend from ram.c.
Signed-off-by: Lukas Straub
---
migration/ram.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index d248e1f062..3894d0ae79 100644
--- a/migration/ram.c
.
Signed-off-by: Lukas Straub
---
migration/ram.c | 44 +++-
1 file changed, 35 insertions(+), 9 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index 5ca0f115cf..d248e1f062 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -1476,17 +1476,13
n file"
- Add Reviewed-by: Tags
Lukas Straub (13):
qtest/migration-test.c: Add postcopy tests with compress enabled
ram.c: Let the compress threads return a CompressResult enum
ram.c: Dont change param->block in the compress thread
ram.c: Reset result after sending queued data
ra
Before this series, "nothing to send" was handled by the file buffer
being empty. Now it is tracked via param->result.
Assert that the file buffer state matches the result.
Signed-off-by: Lukas Straub
---
migration/qemu-file.c| 11 +++
migration/qemu-file.h| 1 +
Introduce whitespace to make it easier to reroll the series.
Signed-off-by: Lukas Straub
---
migration/ram.c | 12
1 file changed, 12 insertions(+)
diff --git a/migration/ram.c b/migration/ram.c
index bd3773d4c4..b95c5c720d 100644
--- a/migration/ram.c
+++ b/migration/ram.c
This will be used in the next commits to move save_page_header()
out of compress code.
Signed-off-by: Lukas Straub
---
migration/ram.c | 34 ++
1 file changed, 22 insertions(+), 12 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index 79d881f735
No functional changes intended.
Signed-off-by: Lukas Straub
Reviewed-by: Philippe Mathieu-Daudé
---
migration/ram-compress.c | 203 ++
migration/ram-compress.h | 5 +
migration/ram.c | 204 ---
3 files changed
Add postcopy tests with compress enabled to ensure nothing breaks
with the refactoring in the next commits.
preempt+compress is blocked, so no test needed for that case.
Signed-off-by: Lukas Straub
---
tests/qtest/migration-test.c | 83 +++-
1 file changed, 53
its to move save_page_header()
out of compress code.
Signed-off-by: Lukas Straub
---
migration/ram.c | 32 ++--
1 file changed, 22 insertions(+), 10 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index 820b4ebaeb..5ca0f115cf 100644
--- a/migration/ram.c
Instead introduce a extra parameter to trigger the compress thread.
Now, when the compress thread is done, we know what RAMBlock and
offset it did compress.
This will be used in the next commits to move save_page_header()
out of compress code.
Signed-off-by: Lukas Straub
---
migration/ram.c
Signed-off-by: Lukas Straub
---
migration/ram.c | 18 --
1 file changed, 18 deletions(-)
diff --git a/migration/ram.c b/migration/ram.c
index 42d6a54132..7be09c18e3 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -529,24 +529,6 @@ static bool pss_overlap(PageSearchStatus
Make compression interfaces take send_queued_data() as an argument.
Remove save_page_use_compression() from flush_compressed_data().
This removes the last ram.c dependency from the core compress code.
Signed-off-by: Lukas Straub
---
migration/ram.c | 27 +--
1 file
No functional changes intended.
Signed-off-by: Lukas Straub
---
migration/meson.build| 5 +-
migration/ram-compress.c | 273 +++
migration/ram-compress.h | 65 ++
migration/ram.c | 256 +---
4 files
Make ram-compress.c target independent.
Signed-off-by: Lukas Straub
---
migration/meson.build| 2 +-
migration/ram-compress.c | 17 ++---
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/migration/meson.build b/migration/meson.build
index 262e3c9754..16f642031c
This fixes compress with colo.
Signed-off-by: Lukas Straub
---
Oops, this one slipped trough
migration/migration.c | 9 +
migration/ram.c | 5 -
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/migration/migration.c b/migration/migration.c
index bda4789193
On Thu, 20 Apr 2023 09:09:48 +
"Zhang, Chen" wrote:
> > -Original Message-
> > From: Vladimir Sementsov-Ogievskiy
> > Sent: Thursday, April 20, 2023 6:53 AM
> > To: qemu-devel@nongnu.org
> > Cc: qemu-bl...@nongnu.org; michael.r...@amd.com; arm...@redhat.com;
> > ebl...@redhat.com; ja
On Thu, 20 Apr 2023 12:20:25 +0200
Juan Quintela wrote:
> Lukas Straub wrote:
> > Add postcopy tests with compress enabled to ensure nothing breaks
> > with the refactoring in the next commits.
> >
> > preempt+compress is blocked, so no test needed for that case.
&
On Thu, 27 Apr 2023 18:34:31 +0200
Juan Quintela wrote:
> Signed-off-by: Juan Quintela
Reviewed-by: Lukas Straub
> ---
> migration/multifd.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/migration/multifd.c b/migration/multifd.c
> index 6a59c03dd2..6053
On Thu, 27 Apr 2023 18:34:32 +0200
Juan Quintela wrote:
> There is already include/qemu/stats.h, so stats.h was a bad idea.
> We want this file to not depend on anything else, we will move all the
> migration counters/stats to this struct.
>
> Signed-off-by: Juan Quintela
Rev
On Thu, 27 Apr 2023 18:34:33 +0200
Juan Quintela wrote:
> migration_stats is just too long, and it is going to have more than
> ram counters in the near future.
>
> Signed-off-by: Juan Quintela
Reviewed-by: Lukas Straub
> ---
> migration/migration-stats.c | 2 +-
>
On Thu, 27 Apr 2023 18:34:34 +0200
Juan Quintela wrote:
> It is lousely based on MigrationStats, but that name is taken, so this
> is the best one that I came with.
>
> Signed-off-by: Juan Quintela
Reviewed-by: Lukas Straub
> ---
>
> If you have any good suggestion f
On Thu, 27 Apr 2023 18:34:35 +0200
Juan Quintela wrote:
> Now that we have atomic counters, we can do it on the place that we
> need it, no need to do it inside ram.c.
>
> Signed-off-by: Juan Quintela
Reviewed-by: Lukas Straub
> ---
> migration/ram.c | 12
On Thu, 27 Apr 2023 18:34:36 +0200
Juan Quintela wrote:
> Signed-off-by: Juan Quintela
Reviewed-by: Lukas Straub
> ---
> migration/ram.c | 9 -
> migration/ram.h | 1 -
> migration/rdma.c | 4 +++-
> 3 files changed, 3 insertions(+), 11 deletions(-)
>
>
On Thu, 27 Apr 2023 23:29:43 +0300
Vladimir Sementsov-Ogievskiy wrote:
> Signed-off-by: Vladimir Sementsov-Ogievskiy
> Reviewed-by: Juan Quintela
> Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Lukas Straub
> ---
> block/meson.build | 2 +-
> 1 file changed, 1 insert
()
>colo_process_checkpoint()
>abort()
>
> It could probably make sense to have possibility to enable COLO without
> REPLICATION, but this requires deeper audit of colo & replication code,
> which may be done later if needed.
>
>
On Thu, 27 Apr 2023 23:29:46 +0300
Vladimir Sementsov-Ogievskiy wrote:
> Add option to not build filter-mirror, filter-rewriter and
> colo-compare when they are not needed.
>
> There could be more agile configuration, for example add separate
> options for each filter, but that may be done in fu
consistently use two spaces
> to separate sentences.
>
> To check the generated documentation does not change, I compared the
> generated HTML before and after this commit with "wdiff -3". Finds no
> differences. Comparing with diff is not useful, as the reflown
> parag
;migration: Rename ram_counters to mig_stats
> >migration: Rename RAMStats to MigrationAtomicStats
> >migration/rdma: Split the zero page case from acct_update_position
> >migration/rdma: Unfold last user of acct_update_position()
> >migration: Drop unused p
1 - 100 of 605 matches
Mail list logo