[PATCH 1/2 RESEND] KVM: MMU: audit: allow audit more guests at the same time

2010-12-23 Thread Xiao Guangrong
It only allows to audit one guest in the system since: - 'audit_point' is a glob variable - mmu_audit_disable() is called in kvm_mmu_destroy(), so audit is disabled after a guest exited this patch fix those issues then allow to audit more guests at the same time Signed-off-by: Xiao Guangrong

[PATCH 2/2] KVM: MMU: handle 'map_writable' in set_spte() function

2010-12-23 Thread Xiao Guangrong
Move the operation of 'writable' to set_spte() to clean up code Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/kvm/mmu.c |4 ++-- arch/x86/kvm/paging_tmpl.h | 11 ++- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/arch/x86/kvm/mmu.c

[PATCH 1/2] KVM: test: add the test case to check PFEC on prefetch pte path

2010-12-23 Thread Xiao Guangrong
Check page fault error code on prefetch pte path Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- x86/access.c | 74 +++-- 1 files changed, 66 insertions(+), 8 deletions(-) diff --git a/x86/access.c b/x86/access.c index

[PATCH 2/2] KVM: test: dump page mapping if test fail

2010-12-23 Thread Xiao Guangrong
It can help us to fix the bug Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- x86/access.c | 22 +- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/x86/access.c b/x86/access.c index f43f7f1..709d1a6 100644 --- a/x86/access.c +++ b/x86/access.c

Re: [PATCH 3/3] Provide control over unmapped pages (v2)

2010-12-23 Thread Balbir Singh
* MinChan Kim minchan@gmail.com [2010-12-14 20:02:45]: +                       if (should_reclaim_unmapped_pages(zone)) +                               wakeup_kswapd(zone, order); I think we can put the logic into zone_watermark_okay. I did some checks and zone_watermark_ok is used

Re: [PATCH 2/3] Refactor zone_reclaim (v2)

2010-12-23 Thread Balbir Singh
* MinChan Kim minchan@gmail.com [2010-12-15 07:38:42]: On Tue, Dec 14, 2010 at 8:45 PM, Balbir Singh bal...@linux.vnet.ibm.com wrote: * MinChan Kim minchan@gmail.com [2010-12-14 19:01:26]: Hi Balbir, On Fri, Dec 10, 2010 at 11:31 PM, Balbir Singh bal...@linux.vnet.ibm.com

Re: [PATCH -v3 0/8] kvm/svm: implement new DecodeAssist features

2010-12-23 Thread Marcelo Tosatti
On Tue, Dec 21, 2010 at 11:11:59AM +0100, Andre Przywara wrote: Hi, this is version 3 of the DecodeAssist patches. I added 3 clean up patches which are not SVM specific. Changes between v2 and v3: - now includes the (unchanged) CR8 handling fix - move complete_insn_gp() helper function

Re: [PATCH] KVM: MMU: Initialize base_role for tdp mmus

2010-12-23 Thread Marcelo Tosatti
On Tue, Dec 21, 2010 at 04:26:01PM +0200, Avi Kivity wrote: Signed-off-by: Avi Kivity a...@redhat.com --- arch/x86/kvm/mmu.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message

Re: [PATCH 0/2] Optimize atomic efer loading

2010-12-23 Thread Marcelo Tosatti
On Tue, Dec 21, 2010 at 12:54:18PM +0200, Avi Kivity wrote: In some cases we resort to loading EFER via the atomic msr load on entry/exit facility. This is incredibly slow. Use the faster entry/exit LOAD_IA32_EFER controls instead, when available. Avi Kivity (2): KVM: VMX: Add

Re: [PATCH kvm-unit-tests] Honor cpuid.nx when enabling efer.nxe

2010-12-23 Thread Marcelo Tosatti
On Tue, Dec 21, 2010 at 06:40:53PM +0200, Avi Kivity wrote: Signed-off-by: Avi Kivity a...@redhat.com --- x86/vmexit.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to

Re: QEMU, MCE, unpoison memory address across reboot

2010-12-23 Thread Marcelo Tosatti
On Wed, Dec 22, 2010 at 10:52:51AM +0800, Huang Ying wrote: In Linux kernel HWPoison processing implementation, the virtual address in processes mapping the error physical memory page is marked as HWPoison. So that, the further accessing to the virtual address will kill corresponding

kvm bug in kernel 2.6.37rc7

2010-12-23 Thread nicolas prochazka
Hello, When I'm trying to install windows seven guest, i obtain : ( also with 2.6.36.1 , 2.6.36.2 ) kernel BUG at arch/x86/kvm/mmu.c:479! invalid opcode: [#1] SMP last sysfs file: /sys/devices/system/cpu/cpu1/cache/index2/shared_cpu_map CPU 0 Modules linked in: kvm_intel kvm Pid: 10239,

Re: QEMU, MCE, unpoison memory address across reboot

2010-12-23 Thread Andi Kleen
Can't you free and reallocate all guest memory instead, on reboot, if there's a hwpoisoned page? Then you don't need this interface. I think that would be more efficient. You can potentially save a lot of memory if the new guest doesn't need as much as the old one. -Andi -- To unsubscribe

Re: [PATCH 1/3] kvm, x86: introduce kvm_mce_in_progress

2010-12-23 Thread Marcelo Tosatti
On Wed, Dec 22, 2010 at 12:24:22PM +0900, Jin Dongming wrote: Hi, Marcelo-san I modified the patches sent before and made them work well on origin/uq/master tree. Resend the patches. Applied all 3, thanks. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a

[PATCH 0/3] Unmapped Page Control (v3)

2010-12-23 Thread Balbir Singh
The following series implements page cache control, this is a split out version of patch 1 of version 3 of the page cache optimization patches posted earlier at Previous posting http://lwn.net/Articles/419564/ For those with LWN.net access, there is a detailed coverage of the patchset at

[PATCH 1/3] Move zone_reclaim() outside of CONFIG_NUMA (v3)

2010-12-23 Thread Balbir Singh
This patch moves zone_reclaim and associated helpers outside CONFIG_NUMA. This infrastructure is reused in the patches for page cache control that follow. Signed-off-by: Balbir Singh bal...@linux.vnet.ibm.com --- include/linux/mmzone.h |4 ++-- include/linux/swap.h |4 ++--

[PATCH 2/3] Refactor zone_reclaim code (v3)

2010-12-23 Thread Balbir Singh
Changelog v3 1. Renamed zone_reclaim_unmapped_pages to zone_reclaim_pages Refactor zone_reclaim, move reusable functionality outside of zone_reclaim. Make zone_reclaim_unmapped_pages modular Signed-off-by: Balbir Singh bal...@linux.vnet.ibm.com --- mm/vmscan.c | 35

[PATCH 3/3] Provide control over unmapped pages (v3)

2010-12-23 Thread Balbir Singh
Changelog v2 1. Use a config option to enable the code (Andrew Morton) 2. Explain the magic tunables in the code or at-least attempt to explain them (General comment) 3. Hint uses of the boot parameter with unlikely (Andrew Morton) 4. Use better names (balanced is not a good naming convention)

Re: [PATCH] pci-stub: ignore zero-length id parameters

2010-12-23 Thread Jesse Barnes
On Wed, 22 Dec 2010 10:06:36 +0100 Tejun Heo t...@kernel.org wrote: pci-stub uses strsep() to separate list of ids and generates a warning message when it fails to parse an id. However, not specifying the parameter results in ids set to an empty string. strsep() happily returns the empty

Re: [PATCH 3/3] Provide control over unmapped pages (v2)

2010-12-23 Thread Minchan Kim
On Thu, Dec 23, 2010 at 5:33 PM, Balbir Singh bal...@linux.vnet.ibm.com wrote: * MinChan Kim minchan@gmail.com [2010-12-14 20:02:45]: +                       if (should_reclaim_unmapped_pages(zone)) +                               wakeup_kswapd(zone, order); I think we can put the

Re: QEMU, MCE, unpoison memory address across reboot

2010-12-23 Thread Huang Ying
Hi, Andi, On Fri, 2010-12-24 at 00:57 +0800, Andi Kleen wrote: Can't you free and reallocate all guest memory instead, on reboot, if there's a hwpoisoned page? Then you don't need this interface. I think that would be more efficient. You can potentially save a lot of memory if the new

[PATCH 10/17] Call init handler of event-tap at main() in vl.c.

2010-12-23 Thread Yoshiaki Tamura
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- vl.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/vl.c b/vl.c index 8118194..0f57c95 100644 --- a/vl.c +++ b/vl.c @@ -162,6 +162,7 @@ int main(int argc, char **argv) #include qemu-queue.h #include

[PATCH 00/19] Kemari for KVM v0.2.1

2010-12-23 Thread Yoshiaki Tamura
Hi, This patch series is a revised version of Kemari for KVM, which applied comments for the previous post. The current code is based on qemu.git 9ed5726c043958359b0f1fa44ab3e4f25f9d9a47. The changes from v0.2 - v0.2.1 are: - Move event-tap to net/block layer and use stubs (Blue, Paul, MST,

[PATCH 11/17] ioport: insert event_tap_ioport() to ioport_write().

2010-12-23 Thread Yoshiaki Tamura
Record ioport event to replay it upon failover. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- ioport.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ioport.c b/ioport.c index aa4188a..74aebf5 100644 --- a/ioport.c +++ b/ioport.c @@ -27,6 +27,7 @@

[PATCH 03/17] Introduce skip_header parameter to qemu_loadvm_state().

2010-12-23 Thread Yoshiaki Tamura
Introduce skip_header parameter to qemu_loadvm_state() so that it can be called iteratively without reading the header. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- migration.c |2 +- savevm.c| 24 +--- sysemu.h|2 +- 3 files changed, 15

[PATCH 08/17] savevm: introduce util functions to control ft_trans_file from savevm layer.

2010-12-23 Thread Yoshiaki Tamura
To utilize ft_trans_file function, savevm needs interfaces to be exported. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- hw/hw.h |5 ++ savevm.c | 148 ++ 2 files changed, 153 insertions(+), 0 deletions(-) diff

[PATCH 09/17] Introduce event-tap.

2010-12-23 Thread Yoshiaki Tamura
event-tap controls when to start FT transaction, and provides proxy functions to called from net/block devices. While FT transaction, it queues up net/block requests, and flush them when the transaction gets completed. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by:

[PATCH 13/17] net: insert event-tap to qemu_send_packet() and qemu_sendv_packet_async().

2010-12-23 Thread Yoshiaki Tamura
event-tap function is called only when it is on. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- net.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/net.c b/net.c index 9ba5be2..1176124 100644 --- a/net.c +++ b/net.c @@ -36,6 +36,7 @@ #include

[PATCH 07/17] Introduce fault tolerant VM transaction QEMUFile and ft_mode.

2010-12-23 Thread Yoshiaki Tamura
This code implements VM transaction protocol. Like buffered_file, it sits between savevm and migration layer. With this architecture, VM transaction protocol is implemented mostly independent from other existing code. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by:

[PATCH 16/17] migration: introduce migrate_ft_trans_{put,get}_ready(), and modify migrate_fd_put_ready() when ft_mode is on.

2010-12-23 Thread Yoshiaki Tamura
Introduce migrate_ft_trans_put_ready() which kicks the FT transaction cycle. When ft_mode is on, migrate_fd_put_ready() would open ft_trans_file and turn on event_tap. To end or cancel FT transaction, ft_mode and event_tap is turned off. migrate_ft_trans_get_ready() is called to receive ack

[PATCH 05/17] vl.c: add deleted flag for deleting the handler.

2010-12-23 Thread Yoshiaki Tamura
Make deleting handlers robust against deletion of any elements in a handler by using a deleted flag like in file descriptors. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- vl.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/vl.c b/vl.c

[PATCH 06/17] virtio: update last_avail_idx when inuse is decreased.

2010-12-23 Thread Yoshiaki Tamura
virtio save/load is currently sending last_avail_idx, but inuse isn't. This causes inconsistent state when using Kemari which replays outstanding requests on the secondary. By letting last_avail_idx to be updated after inuse is decreased, it would be possible to replay the outstanding requests.

[PATCH 12/17] Insert event_tap_mmio() to cpu_physical_memory_rw() in exec.c.

2010-12-23 Thread Yoshiaki Tamura
Record mmio write event to replay it upon failover. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- exec.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/exec.c b/exec.c index 49c28b1..4a171cc 100644 --- a/exec.c +++ b/exec.c @@ -33,6 +33,7 @@

[PATCH 01/17] Make QEMUFile buf expandable, and introduce qemu_realloc_buffer() and qemu_clear_buffer().

2010-12-23 Thread Yoshiaki Tamura
Currently buf size is fixed at 32KB. It would be useful if it could be flexible. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- hw/hw.h |2 ++ savevm.c | 20 +++- 2 files changed, 21 insertions(+), 1 deletions(-) diff --git a/hw/hw.h b/hw/hw.h index

[PATCH 14/17] block: insert event-tap to bdrv_aio_writev() and bdrv_aio_flush().

2010-12-23 Thread Yoshiaki Tamura
event-tap function is called only when it is on, and requests sent from device emulators. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- block.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/block.c b/block.c index 9b5e9e1..39009fc 100644

[PATCH 17/17] migration-tcp: modify tcp_accept_incoming_migration() to handle ft_mode, and add a hack not to close fd when ft_mode is enabled.

2010-12-23 Thread Yoshiaki Tamura
When ft_mode is set in the header, tcp_accept_incoming_migration() sets ft_trans_incoming() as a callback, and call qemu_file_get_notify() to receive FT transaction iteratively. We also need a hack no to close fd before moving to ft_transaction mode, so that we can reuse the fd for it.

[PATCH 04/17] qemu-char: export socket_set_nodelay().

2010-12-23 Thread Yoshiaki Tamura
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- qemu-char.c |2 +- qemu_socket.h |1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index edc9ad6..737d347 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2116,7 +2116,7 @@ static

[PATCH 15/17] savevm: introduce qemu_savevm_trans_{begin,commit}.

2010-12-23 Thread Yoshiaki Tamura
Introduce qemu_savevm_state_{begin,commit} to send the memory and device info together, while avoiding cancelling memory state tracking. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- savevm.c | 88 ++ sysemu.h |

Re: [Qemu-devel] [PATCH 00/19] Kemari for KVM v0.2.1

2010-12-23 Thread Yoshiaki Tamura
Oops. Some patches were missing. Will resend. Yoshi 2010/12/24 Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp: Hi, This patch series is a revised version of Kemari for KVM, which applied comments for the previous post.  The current code is based on qemu.git

[PATCH 04/19] qemu-char: export socket_set_nodelay().

2010-12-23 Thread Yoshiaki Tamura
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- qemu-char.c |2 +- qemu_socket.h |1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index edc9ad6..737d347 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2116,7 +2116,7 @@ static

[PATCH 02/19] Introduce read() to FdMigrationState.

2010-12-23 Thread Yoshiaki Tamura
Currently FdMigrationState doesn't support read(), and this patch introduces it to get response from the other side. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- migration-tcp.c | 15 +++ migration.c | 12 migration.h |3 +++ 3 files

[PATCH 00/19] Kemari for KVM v0.2.1

2010-12-23 Thread Yoshiaki Tamura
Hi, This patch series is a revised version of Kemari for KVM, which applied comments for the previous post. The current code is based on qemu.git 9ed5726c043958359b0f1fa44ab3e4f25f9d9a47. The changes from v0.2 - v0.2.1 are: - Move event-tap to net/block layer and use stubs (Blue, Paul, MST,

[PATCH 13/19] net: insert event-tap to qemu_send_packet() and qemu_sendv_packet_async().

2010-12-23 Thread Yoshiaki Tamura
event-tap function is called only when it is on. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- net.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/net.c b/net.c index 9ba5be2..1176124 100644 --- a/net.c +++ b/net.c @@ -36,6 +36,7 @@ #include

[PATCH 06/19] virtio: update last_avail_idx when inuse is decreased.

2010-12-23 Thread Yoshiaki Tamura
virtio save/load is currently sending last_avail_idx, but inuse isn't. This causes inconsistent state when using Kemari which replays outstanding requests on the secondary. By letting last_avail_idx to be updated after inuse is decreased, it would be possible to replay the outstanding requests.

[PATCH 15/19] savevm: introduce qemu_savevm_trans_{begin,commit}.

2010-12-23 Thread Yoshiaki Tamura
Introduce qemu_savevm_state_{begin,commit} to send the memory and device info together, while avoiding cancelling memory state tracking. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- savevm.c | 88 ++ sysemu.h |

[PATCH 08/19] savevm: introduce util functions to control ft_trans_file from savevm layer.

2010-12-23 Thread Yoshiaki Tamura
To utilize ft_trans_file function, savevm needs interfaces to be exported. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- hw/hw.h |5 ++ savevm.c | 148 ++ 2 files changed, 153 insertions(+), 0 deletions(-) diff

[PATCH 18/19] Introduce -k option to enable FT migration mode (Kemari).

2010-12-23 Thread Yoshiaki Tamura
When -k option is set to migrate command, it will turn on ft_mode to start FT migration mode (Kemari). Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- hmp-commands.hx |7 --- migration.c |3 +++ qmp-commands.hx |7 --- 3 files changed, 11 insertions(+), 6

[PATCH 09/19] Introduce event-tap.

2010-12-23 Thread Yoshiaki Tamura
event-tap controls when to start FT transaction, and provides proxy functions to called from net/block devices. While FT transaction, it queues up net/block requests, and flush them when the transaction gets completed. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by:

[PATCH 03/19] Introduce skip_header parameter to qemu_loadvm_state().

2010-12-23 Thread Yoshiaki Tamura
Introduce skip_header parameter to qemu_loadvm_state() so that it can be called iteratively without reading the header. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- migration.c |2 +- savevm.c| 24 +--- sysemu.h|2 +- 3 files changed, 15

[PATCH 07/19] Introduce fault tolerant VM transaction QEMUFile and ft_mode.

2010-12-23 Thread Yoshiaki Tamura
This code implements VM transaction protocol. Like buffered_file, it sits between savevm and migration layer. With this architecture, VM transaction protocol is implemented mostly independent from other existing code. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by:

[PATCH 01/19] Make QEMUFile buf expandable, and introduce qemu_realloc_buffer() and qemu_clear_buffer().

2010-12-23 Thread Yoshiaki Tamura
Currently buf size is fixed at 32KB. It would be useful if it could be flexible. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- hw/hw.h |2 ++ savevm.c | 20 +++- 2 files changed, 21 insertions(+), 1 deletions(-) diff --git a/hw/hw.h b/hw/hw.h index

[PATCH 11/19] ioport: insert event_tap_ioport() to ioport_write().

2010-12-23 Thread Yoshiaki Tamura
Record ioport event to replay it upon failover. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- ioport.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ioport.c b/ioport.c index aa4188a..74aebf5 100644 --- a/ioport.c +++ b/ioport.c @@ -27,6 +27,7 @@

[PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2010-12-23 Thread Yoshiaki Tamura
The option looks like, -incoming protocol:address:port,ft_mode Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- migration.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/migration.c b/migration.c index 730af12..32fef86 100644 --- a/migration.c

[PATCH 16/19] migration: introduce migrate_ft_trans_{put,get}_ready(), and modify migrate_fd_put_ready() when ft_mode is on.

2010-12-23 Thread Yoshiaki Tamura
Introduce migrate_ft_trans_put_ready() which kicks the FT transaction cycle. When ft_mode is on, migrate_fd_put_ready() would open ft_trans_file and turn on event_tap. To end or cancel FT transaction, ft_mode and event_tap is turned off. migrate_ft_trans_get_ready() is called to receive ack

[PATCH 14/19] block: insert event-tap to bdrv_aio_writev() and bdrv_aio_flush().

2010-12-23 Thread Yoshiaki Tamura
event-tap function is called only when it is on, and requests sent from device emulators. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- block.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/block.c b/block.c index 9b5e9e1..39009fc 100644

[PATCH 12/19] Insert event_tap_mmio() to cpu_physical_memory_rw() in exec.c.

2010-12-23 Thread Yoshiaki Tamura
Record mmio write event to replay it upon failover. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- exec.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/exec.c b/exec.c index 49c28b1..4a171cc 100644 --- a/exec.c +++ b/exec.c @@ -33,6 +33,7 @@

[PATCH 10/19] Call init handler of event-tap at main() in vl.c.

2010-12-23 Thread Yoshiaki Tamura
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- vl.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/vl.c b/vl.c index 8118194..0f57c95 100644 --- a/vl.c +++ b/vl.c @@ -162,6 +162,7 @@ int main(int argc, char **argv) #include qemu-queue.h #include

[PATCH 17/19] migration-tcp: modify tcp_accept_incoming_migration() to handle ft_mode, and add a hack not to close fd when ft_mode is enabled.

2010-12-23 Thread Yoshiaki Tamura
When ft_mode is set in the header, tcp_accept_incoming_migration() sets ft_trans_incoming() as a callback, and call qemu_file_get_notify() to receive FT transaction iteratively. We also need a hack no to close fd before moving to ft_transaction mode, so that we can reuse the fd for it.

[PATCH 05/19] vl.c: add deleted flag for deleting the handler.

2010-12-23 Thread Yoshiaki Tamura
Make deleting handlers robust against deletion of any elements in a handler by using a deleted flag like in file descriptors. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- vl.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/vl.c b/vl.c

Re: QEMU, MCE, unpoison memory address across reboot

2010-12-23 Thread Huang Ying
On Thu, 2010-12-23 at 22:28 +0800, Marcelo Tosatti wrote: Can't you free and reallocate all guest memory instead, on reboot, if there's a hwpoisoned page? Then you don't need this interface. Consider about this method. It seems that some guest RAMs are not allocated in