[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] d6b6ae: exec: Fix qemu_ram_block_from_host fo
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] d6b6ae: exec: Fix qemu_ram_block_from_host for Xen |
Date: |
Mon, 13 Jun 2016 05:30:06 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: d6b6aec4091a11e5429aac4d56ad0295c5316375
https://github.com/qemu/qemu/commit/d6b6aec4091a11e5429aac4d56ad0295c5316375
Author: Anthony PERARD <address@hidden>
Date: 2016-06-13 (Mon, 13 Jun 2016)
Changed paths:
M exec.c
Log Message:
-----------
exec: Fix qemu_ram_block_from_host for Xen
Since f615f39 (exec: remove ram_addr argument from
qemu_ram_block_from_host), migration under Xen is likely to fail, with a
SEGV of QEMU. But the commit only reveal a bug with the calculation of
the offset value in qemu_ram_block_from_host().
This patch calculates the offset from the ram_addr as
qemu_ram_addr_from_host() will later calculate the ram_addr from the
offset.
Signed-off-by: Anthony PERARD <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Commit: 88c16567d2cd23da328787187910b013ee43ebca
https://github.com/qemu/qemu/commit/88c16567d2cd23da328787187910b013ee43ebca
Author: Wen Congyang <address@hidden>
Date: 2016-06-13 (Mon, 13 Jun 2016)
Changed paths:
M migration/savevm.c
M qapi-schema.json
M qmp-commands.hx
Log Message:
-----------
Introduce "xen-load-devices-state"
Introduce a "xen-load-devices-state" QAPI command that can be used to
load the state of all devices, but not the RAM or the block devices of
the VM.
We only have hmp commands savevm/loadvm, and qmp commands
xen-save-devices-state.
We use this new command for COLO:
1. suspend both primary vm and secondary vm
2. sync the state
3. resume both primary vm and secondary vm
In such case, we need to update all devices' state in any time.
Signed-off-by: Wen Congyang <address@hidden>
Signed-off-by: Changlong Xie <address@hidden>
Reviewed-by: Anthony PERARD <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Commit: 8fdf038722a00693e68b4f76a66d39781572c3ec
https://github.com/qemu/qemu/commit/8fdf038722a00693e68b4f76a66d39781572c3ec
Author: Peter Maydell <address@hidden>
Date: 2016-06-13 (Mon, 13 Jun 2016)
Changed paths:
M exec.c
M migration/savevm.c
M qapi-schema.json
M qmp-commands.hx
Log Message:
-----------
Merge remote-tracking branch 'remotes/sstabellini/tags/xen-20160613-tag' into
staging
Xen 2016/06/13
# gpg: Signature made Mon 13 Jun 2016 11:53:18 BST
# gpg: using RSA key 0x894F8F4870E1AE90
# gpg: Good signature from "Stefano Stabellini <address@hidden>"
# Primary key fingerprint: D04E 33AB A51F 67BA 07D3 0AEA 894F 8F48 70E1 AE90
* remotes/sstabellini/tags/xen-20160613-tag:
Introduce "xen-load-devices-state"
exec: Fix qemu_ram_block_from_host for Xen
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/da2fdd0bd151...8fdf038722a0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] d6b6ae: exec: Fix qemu_ram_block_from_host for Xen,
GitHub <=