is still necessary to notify users that we exit COLO mode.
Cc: Markus Armbruster
Cc: Michael Roth
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
docs/qmp-events.txt | 17 +
migration/colo.c| 13 +
qapi-schema.json| 16
qapi/event
_incoming_co' records the original migration incoming coroutine.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
v10: fix a bug about fd leak which is found by Dave.
---
include/migration/colo.h | 7 +++
include/migration/migration.h | 7 +++
migr
earn if colo is supported.
Cc: Juan Quintela
Cc: Amit Shah
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Signed-off-by: Gonglei
---
v10:
- Rename capability 'colo' to experimental 'x-colo' (Eric's suggestion).
- Rename
If we detect some error in colo, we will wait for some time,
hoping users also detect it. If users don't issue failover command.
We will go into default failover procedure, which the PVM will takeover
work while SVM is exit in default.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zh
If VM is in COLO FT state, we should do some extra work before normal shutdown
process. SVM will ignore the shutdown command if this command is issued directly
to it, PVM will send the shutdown command to SVM if it gets this command.
Cc: Paolo Bonzini
Signed-off-by: zhanghailiang
Signed-off-by
set the value.
Signed-off-by: zhanghailiang
---
include/migration/failover.h | 10 ++
migration/colo-failover.c| 37 +
migration/colo.c | 4
trace-events | 1 +
4 files changed, 52 insertions(+)
diff --git a
If we start qemu with -S, the runstate will change from 'prelaunch' to 'running'
after going into colo state.
So it is necessary to update the global runstate after going into colo state.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
migration/colo.c | 5
the size of VM state, so in master,
we use qsb to store VM state temporarily, get the data size by call
qsb_get_length()
and then migrate the data to the qsb in the secondary side.
Signed-off-by: zhanghailiang
Signed-off-by: Gonglei
Signed-off-by: Li Zhijian
---
migratio
We need to record the address of the dirty pages that received from PVM,
It will help flushing pages that cached into SVM.
Signed-off-by: zhanghailiang
---
v10:
- New patch split from v9's patch 13
- Rebase to master to use 'migration_bitmap_rcu'
---
migra
o and post-copy, we need
both directions communication, so here we rename the file member to indicate
this path.
Signed-off-by: zhanghailiang
Cc: Dr. David Alan Gilbert
---
Will be dropped if post-copy is merged.
---
include/migration/migration.h | 4 ++--
migration/exec.c | 4
read. (Dave's suggestion)
- Add several netfilter related APIs to support buffer/release packets
for COLO (patch 32 ~ patch 36)
zhanghailiang (38):
configure: Add parameter for configure to enable/disable COLO support
migration: Introduce capability 'x-colo' to migration
ned-off-by: zhanghailiang
Reviewed-by: Dr. David Alan Gilbert
---
include/migration/migration.h | 3 +++
migration/migration.c | 43 +++
2 files changed, 30 insertions(+), 16 deletions(-)
diff --git a/include/migration/migration.h b/include/migration/migrati
We should not do failover work while the main thread is loading
VM's state, otherwise it will destroy the consistent of VM's memory and
device state.
Here we add a new failover status 'RELAUNCH' which means we should
relaunch the process of failover.
Signed-off-by: zhanghai
m the file into
qsb, this is used to get VM state from socket into a buffer.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Reviewed-by: Dr. David Alan Gilbert
---
include/migration/qemu-file.h | 3 ++-
migration/qemu-file-buf.c | 58 ++
For COLO or MC FT, We need a function to release all the buffered packets
actively.
Signed-off-by: zhanghailiang
Cc: Jason Wang
---
v10: new patch
---
include/net/filter.h | 1 +
include/net/net.h| 4
net/filter-buffer.c | 15 +++
net/net.c| 24
Guest will enter this state when paused to save/restore VM state
under colo checkpoint.
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Signed-off-by: Gonglei
Reviewed-by: Dr. David Alan Gilbert
Reviewed-by: Eric Blake
---
qapi-schema.json | 7
rict synchronization is required, a opposite direction
sync-point should be added.
3) Since sync-points are single direction, the remote side may
go forward a lot when this side just receives the sync-point.
4) For now, we only support 'periodic' checkpoint, for which
the Second
Do checkpoint periodically, the default interval is 200ms.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
migration/colo.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/migration/colo.c b/migration/colo.c
index 0efab21..a6791f4 100644
--- a/migration/colo.c
configure --enable-colo/--disable-colo to switch COLO
support on/off.
COLO support is off by default.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Signed-off-by: Gonglei
Reviewed-by: Dr. David Alan Gilbert
---
configure | 11 +++
1 file changed, 11 insertions(+)
diff --git
Hi Dave,
Thanks for feedback, i have recorded this problem, maybe we can optimize this
calling in the future.
Thanks,
zhanghailiang
On 2015/10/21 22:10, Dr. David Alan Gilbert wrote:
Hi,
Not something I found on this set; but on your older set, where you have
the experimental 'live
ate(), and make it
public.
Signed-off-by: zhanghailiang
Reviewed-by: Dr. David Alan Gilbert
---
Hi,
This is picked from COLO frame series, Dave suggests me
to submit it by itself.
I fixed a little for the commit message. and keep Dave's reviewed-by tag.
Thanks.
---
include/migration/m
On 2015/10/21 20:17, Eric Blake wrote:
On 09/02/2015 02:22 AM, zhanghailiang wrote:
We need communications protocol of user-defined to control the checkpoint
process.
The new checkpoint request is started by Primary VM, and the interactive process
like below:
Checkpoint synchronizing points
On 2015/10/21 20:18, Eric Blake wrote:
On 09/02/2015 02:22 AM, zhanghailiang wrote:
Guest will enter this state when paused to save/restore VM state
under colo checkpoint.
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Signed-off-by: Gonglei
On 2015/10/21 3:32, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
On 2015/10/19 17:54, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
Add a new member 'to_src_file' to MigrationIncomingState and a
On 2015/10/19 17:54, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
Add a new member 'to_src_file' to MigrationIncomingState and a
new member 'from_dst_file' to MigrationState.
They will be used for returning messages from destinatio
On 2015/10/19 17:17, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
Switch from normal migration loadvm process into COLO checkpoint process if
COLO mode is enabled.
We add three new members to struct MigrationIncomingState,
'have_colo_incoming_t
On 2015/10/10 0:18, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
For migration destination, we also need to know its state,
we will use it in COLO.
Here we add a new member 'state' for MigrationIncomingState,
and also use migrate_set_state()
On 2015/10/10 0:53, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
Add a migrate state: MIGRATION_STATUS_COLO, enter this migration state
after the first live migration successfully finished.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Signed
On 2015/10/3 2:45, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
We can know if VM in destination should go into COLO mode by refer to
the info that been migrated from PVM.
We skip this section if colo is not enabled (i.e.
migrate_set_capability colo off
On 2015/10/3 0:02, Eric Blake wrote:
On 09/02/2015 02:22 AM, zhanghailiang wrote:
We add helper function colo_supported() to indicate whether
colo is supported or not, with which we use to control whether or not
showing 'colo' string to users, they can use qmp command
Ping again ...
On 2015/9/2 16:22, zhanghailiang wrote:
This is the 9th version of COLO.
Please Note that, this version is very different from the previous versions.
since we have decided to realize proxy in qemu, which based on slirp in qemu.
We dropped all the original colo proxy related part
Reviewed-by: zhanghailiang
On 2015/9/14 19:51, Markus Armbruster wrote:
g_new(T, n) is neater than g_malloc(sizeof(T) * n). It's also safer,
for two reasons. One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more
config_fd should be closed before return, or there will
be a resource leak error.
Signed-off-by: zhanghailiang
---
hw/pci-host/piix.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c
index 1fb71c8..7b2fbf9 100644
--- a/hw
Ping...
Hi Juan & Amit,
Could you please help review this series ?
Since it is already comes v9, i really hope to get your feedback on this series
:)
Thanks,
zhanghailiang
On 2015/9/2 16:22, zhanghailiang wrote:
This is the 9th version of COLO.
Please Note that, this version is
e the ramdisk for the disk.
# qemu-img create -f qcow2 /mnt/ramfs/active_disk.img 10G
# qemu-img create -f qcow2 /mnt/ramfs/hidden_disk.img 10G
Please note, the size should be same with VM's disk.
Thanks.
zhanghailiang
Thanks!
On 09/02/2015 04:22 PM, zhanghailiang wrote:
This is the 9th
We will buffer all the net packets that sended by PVM, and release
them during the checkpoint process.
Signed-off-by: zhanghailiang
Signed-off-by: Yang Hongyang
---
migration/colo.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/migration/colo.c b/migration/colo.c
index d7a14ba
Add checkpoint-delay parameter for migrate-set-parameters, so that
we can control the checkpoint frequency when COLO is in periodic mode.
Cc: Luiz Capitulino
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
hmp.c | 8
during checkpoint.
Besides, we move the colo_flush_ram_cache to the proper position after the
above change.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
include/sysemu/sysemu.h | 5 ++
migration/colo.c| 43 +++
migration/ram.c | 8 ---
migration
data
transferring in the later checkpoint.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
migration/colo.c | 51 +--
1 file changed, 37 insertions(+), 14 deletions(-)
diff --git a/migration/colo.c b/migration/colo.c
index 22ca7e5
For Secondary VM, we forbid it shutdown directly when in COLO mode,
FOR Primary VM's shutdown, we should do some work to ensure the consistent
action
between PVM and SVM.
Cc: Paolo Bonzini
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
include/sysemu/sysemu.h | 3 +++
migr
We should not do failover work while the main thread is loading
VM's state, otherwise it will destroy the consistent of VM's memory and
device state.
Here we add a new failover status 'RELAUNCH' which means we should
relaunch the process of failover.
Signed-off-by: zhanghai
is still necessary to notify users that we exit COLO mode.
Cc: Markus Armbruster
Cc: Michael Roth
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
docs/qmp/qmp-events.txt | 17 +
migration/colo.c| 17 +
qapi-schema.json| 16 +++
If we start qemu with -S, the runstate will change from 'prelaunch' to 'running'
after going into colo state.
So it is necessary to update the global runstate after going into colo state.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
migration/colo.c | 5
s to wake up the blocking
operation in failover BH. Besides, we should close the corresponding file
descriptors
after failvoer BH shutdown them, or there will be an error.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
migration/colo.c | 35 +++
1 file cha
set the value.
Signed-off-by: zhanghailiang
---
include/migration/failover.h | 10 ++
migration/colo-failover.c| 37 +
migration/colo.c | 4
trace-events | 1 +
4 files changed, 52 insertions(+)
diff --git a
qemu_loadvm_state is too long, and we can simplify it by splitting up
with three helper functions.
Signed-off-by: zhanghailiang
---
migration/savevm.c | 165 +++--
1 file changed, 96 insertions(+), 69 deletions(-)
diff --git a/migration/savevm.c
If we detect some error in colo, we will wait for some time,
hoping users also detect it. If users don't issue failover command.
We will go into default failover procedure, which the PVM will takeover
work while SVM is exit in default.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zh
Guest will enter this state when paused to save/restore VM state
under colo checkpoint.
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Signed-off-by: Gonglei
Reviewed-by: Dr. David Alan Gilbert
---
qapi-schema.json | 7 ++-
vl.c
If users require SVM to takeover work, colo incoming thread should
exit from loop while failover BH helps backing to migration incoming
coroutine.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
migration/colo.c | 41 ++---
1 file changed, 38
side will
exit COLO mode and take over operation. If sent to the Secondary, the
secondary will run failover work, then take over server operation to
become the new Primary.
Cc: Luiz Capitulino
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Sig
From: Wen Congyang
Make sure master start block replication after slave's block replication
started.
Signed-off-by: zhanghailiang
Signed-off-by: Wen Congyang
Signed-off-by: Yang Hongyang
Signed-off-by: Li Zhijian
---
migration/colo.c
7;s state.
Signed-off-by: zhanghailiang
Signed-off-by: Yang Hongyang
Signed-off-by: Li Zhijian
Signed-off-by: Gonglei
---
include/exec/cpu-all.h | 1 +
include/migration/colo.h | 3 ++
migration/colo.c | 14 ++--
migration/ram.c | 93
For PVM, if there is failover request from users.
The colo thread will exit the loop while the failover BH does the
cleanup work and resumes VM.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
include/migration/colo.h | 4 +++
include/migration/failover.h | 1 +
migration/colo
o and post-copy, we need
both directions communication, so here we rename the file member to indicate
this path.
Signed-off-by: zhanghailiang
Cc: Dr. David Alan Gilbert
---
include/migration/migration.h | 4 ++--
migration/exec.c | 4 ++--
migration/fd.c| 4
all content of PVM's RAM cache into SVM's MEMORY,
we do this in a more efficient way:
Only flush any page that dirtied by PVM since last checkpoint.
In this way, we can ensure SVM's memory same with PVM's.
Besides, we must ensure flush RAM cache before load device state.
Si
Add a new member 'to_src_file' to MigrationIncomingState and a
new member 'from_dst_file' to MigrationState.
They will be used for returning messages from destination to source.
It will also be used by post-copy migration.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zh
Do checkpoint periodically, the default interval is 200ms.
Signed-off-by: zhanghailiang
Signed-off-by: Yang Hongyang
---
migration/colo.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/migration/colo.c b/migration/colo.c
index b6a6d66..07e0c1b 100644
--- a/migration/colo.c
m the file into
qsb, this is used to get VM state from socket into a buffer.
Signed-off-by: Yang Hongyang
Signed-off-by: zhanghailiang
Reviewed-by: Dr. David Alan Gilbert
---
include/migration/qemu-file.h | 3 ++-
migration/qemu-file-buf.c | 58 ++
can ensure the data is intact.
Signed-off-by: zhanghailiang
Signed-off-by: Yang Hongyang
Signed-off-by: Gonglei
Reviewed-by: Dr. David Alan Gilbert
---
migration/colo.c | 49 +++--
1 file changed, 47 insertions(+), 2 deletions(-)
diff --git a
kpoint delay time (patch 25)
- Add new patch (patch 29/30) to seperate the process of saving/loading
device and state during checkpoint. which will reduce the data size
for sending and also reduce the qsb size used in checkpoint.
Wen Congyang (1):
COLO: Add block replication into colo process
_incoming_co' records the original migration incoming coroutine.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Signed-off-by: Yang Hongyang
---
include/migration/colo.h | 7 +++
include/migration/migration.h | 7 +++
migration/colo-comm.c | 1
configure --enable-colo/--disable-colo to switch COLO
support on/off.
COLO support is off by default.
Signed-off-by: zhanghailiang
Signed-off-by: Yang Hongyang
Signed-off-by: Gonglei
---
configure | 11 +++
1 file changed, 11 insertions(+)
diff --git a/configure b/configure
index
the size of VM state, so in master,
we use qsb to store VM state temporarily, get the data size by call
qsb_get_length()
and then migrate the data to the qsb in the secondary side.
Signed-off-by: zhanghailiang
Signed-off-by: Yang Hongyang
Signed-off-by: Gonglei
Signed-off-by: Li Zhijian
rict synchronization is required, a opposite direction
sync-point should be added.
3) Since sync-points are single direction, the remote side may
go forward a lot when this side just receives the sync-point.
4) For now, we only support 'periodic' checkpoint, for which
the Second
ned-off-by: zhanghailiang
---
include/migration/migration.h | 3 +++
migration/migration.c | 38 +++---
2 files changed, 26 insertions(+), 15 deletions(-)
diff --git a/include/migration/migration.h b/include/migration/migration.h
index 05de3a1..a62068f 100644
---
/destination;
Signed-off-by: zhanghailiang
Signed-off-by: Yang Hongyang
Signed-off-by: Gonglei
---
include/migration/colo.h | 2 ++
migration/Makefile.objs | 1 +
migration/colo-comm.c| 54
vl.c | 3 ++-
4 files changed
Add a migrate state: MIGRATION_STATUS_COLO, enter this migration state
after the first live migration successfully finished.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Signed-off-by: Gonglei
---
include/migration/colo.h | 3 +++
migration/colo.c | 58
earn if colo is supported.
Cc: Juan Quintela
Cc: Amit Shah
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Yang Hongyang
Signed-off-by: Gonglei
---
include/migration/colo.h | 20
include/migration/migration.h | 1 +
migration/Makefil
On 2015/8/29 6:06, Eric Blake wrote:
On 07/29/2015 02:45 AM, zhanghailiang wrote:
We leave users to use whatever heartbeat solution they want, if the heartbeat
is lost, or other errors they detect, they can use command
'colo_lost_heartbeat' to tell COLO to do failover, COLO will do
On 2015/8/31 23:07, Eric Blake wrote:
On 08/31/2015 03:27 AM, zhanghailiang wrote:
+Data: None.
+
+ - "mode": COLO mode, 'primary' or 'secondary'
+ - "error": Error message (json-string, optional)
The "Data: None" designation is inconsiste
On 2015/8/29 6:26, Eric Blake wrote:
On 07/29/2015 02:45 AM, zhanghailiang wrote:
With this command, we can control the period of checkpoint, if
there is no comparison of net packets.
Cc: Luiz Capitulino
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Li
Hi Eric
This patch will be dropped in next version since we will realize
the proxy in qemu.
Thanks,
zhanghailiang
On 2015/8/29 6:24, Eric Blake wrote:
On 07/29/2015 02:45 AM, zhanghailiang wrote:
The 'forward_nic' should be assigned with network name,
for exmple, 'eth2'.
On 2015/8/29 6:13, Eric Blake wrote:
On 07/29/2015 02:45 AM, zhanghailiang wrote:
If some errors happen during VM's COLO FT stage, it's import to notify the users
s/import/important/
this event, Togehter with 'colo_lost_heartbeat', users can intervene in COLO's
s/
On 2015/8/29 5:58, Eric Blake wrote:
On 07/29/2015 02:45 AM, zhanghailiang wrote:
Guest will enter this state when paused to save/restore VM state
under colo checkpoint.
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Signed-off-by: Gonglei
On 2015/8/29 5:55, Eric Blake wrote:
On 07/29/2015 02:45 AM, zhanghailiang wrote:
Add a migrate state: MIGRATION_STATUS_COLO, enter this migration state
after the first live migration successfully finished.
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
Signed-off-by: Gonglei
On 2015/8/29 5:54, Eric Blake wrote:
On 07/29/2015 02:45 AM, zhanghailiang wrote:
We add helper function colo_supported() to indicate whether
colo is supported or not, with which we use to control whether or not
showing 'colo' string to users, they can use qmp command
On 2015/8/27 20:43, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
Hi Dave,
On 2015/8/27 18:40, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
We need communications protocol of user-defined to control the
Hi Dave,
On 2015/8/27 18:40, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
We need communications protocol of user-defined to control the checkpoint
process.
The new checkpoint request is started by Primary VM, and the interactive process
like below
On 2015/8/24 22:38, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
This is the 8th version of COLO.
I'm seeing an occasional error:
pcibus_reset: Assertion `bus->irq_count[i] == 0' failed.
on the secondary; have you seen that?
bus->
On 2015/8/18 18:45, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
Hi Dave,
On 2015/6/16 18:26, Dr. David Alan Gilbert (git) wrote:
From: "Dr. David Alan Gilbert"
Open a return path, and handle messages that are received upon it.
Signed-
d fixes up all the different implementations of them.
Note that I've not yet followed this deeply into bdrv_ implementations.
Signed-off-by: Dr. David Alan Gilbert
---
Reviewed-by: zhanghailiang
include/migration/qemu-file.h | 8
migration/qemu-file-buf.c | 7 ---
On 2015/8/13 18:51, Dr. David Alan Gilbert (git) wrote:
From: "Dr. David Alan Gilbert"
This time convert the external functions:
qemu_get_buffer, qemu_peek_buffer
qemu_put_buffer and qemu_put_buffer_async
Signed-off-by: Dr. David Alan Gilbert
---
Reviewed-by: zha
---
Reviewed-by: zhanghailiang
migration/migration.c | 75 ---
trace-events | 2 ++
2 files changed, 49 insertions(+), 28 deletions(-)
diff --git a/migration/migration.c b/migration/migration.c
index 662e77e..46bb410 100644
On 2015/8/5 19:24, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
This is the 8th version of COLO.
Here is only COLO frame part, include: VM checkpoint,
failover, proxy API, block replication API, not include block replication.
The block part is treated
ut then I thought: would the realtime
case want a migration to happen at all?
Then disable migration with realtime looks like saner. But that
decission don't belong to this series.
I added this patch because Zhanghailiang had reported trying to use it and it
failing.
Zhanghailiang: Do you
On 2015/8/5 19:24, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
This is the 8th version of COLO.
Here is only COLO frame part, include: VM checkpoint,
failover, proxy API, block replication API, not include block replication.
The block part is treated
igrationIncomingState struct, rename
its original
'file' member to 'input_file',and add a new 'output_file'.
IMHO, this will make things more clear.
Thanks,
zhanghailiang
+QemuThreadrp_thread;
+bool error;
+} rp_state;
+
doubl
Seems pretty good overall~
For the part of migration parameters command, we have discussed before and
Markus promised to reconstruct this part in qemu 2.5 cycle. But for now,
it is OK.
Cc: Markus Armbruster
On 2015/8/5 3:26, Dr. David Alan Gilbert (git) wrote:
From: "Dr. David Alan Gilbert"
On 2015/7/31 9:08, Yang Hongyang wrote:
On 07/31/2015 01:53 AM, Dr. David Alan Gilbert wrote:
* Yang Hongyang (yan...@cn.fujitsu.com) wrote:
On 07/30/2015 09:59 PM, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
On 2015/7/30 20:30, Dr. David Alan
On 2015/7/31 1:53, Dr. David Alan Gilbert wrote:
* Yang Hongyang (yan...@cn.fujitsu.com) wrote:
On 07/30/2015 09:59 PM, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
On 2015/7/30 20:30, Dr. David Alan Gilbert wrote:
* Gonglei (arei.gong...@huawei.com
On 2015/7/30 20:30, Dr. David Alan Gilbert wrote:
* Gonglei (arei.gong...@huawei.com) wrote:
On 2015/7/30 19:56, Dr. David Alan Gilbert wrote:
* Jason Wang (jasow...@redhat.com) wrote:
On 07/30/2015 04:03 PM, Dr. David Alan Gilbert wrote:
* Dong, Eddie (eddie.d...@intel.com) wrote:
A quest
On 2015/7/30 11:32, Jason Wang wrote:
On 07/29/2015 05:43 PM, zhanghailiang wrote:
On 2015/7/29 17:24, Jason Wang wrote:
On 07/29/2015 05:17 PM, zhanghailiang wrote:
On 2015/7/29 16:57, Jason Wang wrote:
On 07/29/2015 04:45 PM, zhanghailiang wrote:
We also change the parameters of
On 2015/7/29 17:24, Jason Wang wrote:
On 07/29/2015 05:17 PM, zhanghailiang wrote:
On 2015/7/29 16:57, Jason Wang wrote:
On 07/29/2015 04:45 PM, zhanghailiang wrote:
We also change the parameters of launch_script().
A quick question (I don't go through the codes tough). What'
On 2015/7/29 16:57, Jason Wang wrote:
On 07/29/2015 04:45 PM, zhanghailiang wrote:
We also change the parameters of launch_script().
A quick question (I don't go through the codes tough). What's the plan
for management(libvirt)? I believe some setup (iptables, fd creation)
Make sure master start block replication after slave's block replication
started.
Signed-off-by: zhanghailiang
Signed-off-by: Wen Congyang
Signed-off-by: Yang Hongyang
Signed-off-by: Li Zhijian
---
migration/colo.c | 71 +---
trace-e
With this command, we can control the period of checkpoint, if
there is no comparison of net packets.
Cc: Luiz Capitulino
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
hmp-commands.hx| 15 +++
hmp.c | 7
tefan Hajnoczi
Cc: Jason Wang
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
configure | 22 +++-
net/colo-nic.c | 160 +
2 files changed, 180 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 33
earn if colo is supported.
Cc: Juan Quintela
Cc: Amit Shah
Cc: Eric Blake
Cc: Markus Armbruster
Signed-off-by: zhanghailiang
Signed-off-by: Yang Hongyang
Signed-off-by: Gonglei
---
include/migration/colo.h | 20
include/migration/migration.h | 1 +
migration/Makefil
Signed-off-by: zhanghailiang
Signed-off-by: Li Zhijian
---
include/net/colo-nic.h | 2 ++
migration/colo.c | 22 +++---
net/colo-nic.c | 23 +++
3 files changed, 44 insertions(+), 3 deletions(-)
diff --git a/include/net/colo-nic.h b/include
stent).
Signed-off-by: zhanghailiang
Signed-off-by: Yang Hongyang
---
migration/colo.c | 29 +
1 file changed, 21 insertions(+), 8 deletions(-)
diff --git a/migration/colo.c b/migration/colo.c
index f9f2156..f5bb668 100644
--- a/migration/colo.c
+++ b/migration/c
701 - 800 of 1429 matches
Mail list logo