El 23/02/11 08:49, Nikola Ciprich escribió:
Hello Avi,
Hi,
when trying to compile(link) various targets, I get:
LINK sparc-softmmu/qemu-system-sparc
pci-stub.o: In function `do_pci_info_print':
/usr/src/redhat/BUILD/qemu-kvm-0.14.0/hw/pci-stub.c:36: multiple definition
of
On Wed, Feb 23, 2011 at 09:05:37AM +0100, klondike wrote:
I hit this problem too and after a long night I tracked it back to some
odd merge, this patch solved the issue for me.
2010-11-10Francisco Blas Izquierdo Riera klond...@xiscosoft.es
Somehow pci.o was added so it was
On 2011-02-23 09:05, klondike wrote:
El 23/02/11 08:49, Nikola Ciprich escribió:
Hello Avi,
Hi,
when trying to compile(link) various targets, I get:
LINK sparc-softmmu/qemu-system-sparc
pci-stub.o: In function `do_pci_info_print':
/usr/src/redhat/BUILD/qemu-kvm-0.14.0/hw/pci-stub.c:36:
well, now it seems I've got another problem here:
In file included from /usr/src/redhat/BUILD/qemu-kvm-0.14.0/hw/pci.c:32:
/usr/src/redhat/BUILD/qemu-kvm-0.14.0/qemu-kvm.h:11:17: error: cpu.h: No such
file or directory
/usr/src/redhat/BUILD/qemu-kvm-0.14.0/qemu-kvm.h:630:21: error: attempt to
El 23/02/11 09:29, Nikola Ciprich escribió:
well, now it seems I've got another problem here:
In file included from /usr/src/redhat/BUILD/qemu-kvm-0.14.0/hw/pci.c:32:
/usr/src/redhat/BUILD/qemu-kvm-0.14.0/qemu-kvm.h:11:17: error: cpu.h: No such
file or directory
El 23/02/11 09:28, Jan Kiszka escribió:
On 2011-02-23 09:05, klondike wrote:
El 23/02/11 08:49, Nikola Ciprich escribió:
Hello Avi,
Hi,
when trying to compile(link) various targets, I get:
LINK sparc-softmmu/qemu-system-sparc
pci-stub.o: In function `do_pci_info_print':
On Wed, Feb 23, 2011 at 02:59:04PM +0800, Sheng Yang wrote:
On Wednesday 23 February 2011 08:19:21 Alex Williamson wrote:
On Sun, 2011-01-30 at 13:11 +0800, Sheng Yang wrote:
Then we can support mask bit operation of assigned devices now.
Looks pretty good overall. A few comments
On 02/23/2011 03:38 AM, Xiao Guangrong wrote:
On 02/22/2011 10:32 PM, Avi Kivity wrote:
On 02/22/2011 10:16 AM, Xiao Guangrong wrote:
Cache guest page number to guest frame number to avoid walk guest page table
frequently, the 'vtlb' idea is from Xen.
Note:
we can't use vtlb in ept
What's the current status of files in kvm/ subdirectory
in the qemu-kvm distribution (0.14 or git) ?
As far as I can see, all that is old and unused stuff,
which only confuses users. It is not used during build
the Makefiles are obsolete and refers to non-existed
files/directories, some
On 2011-02-23 12:04, Michael Tokarev wrote:
What's the current status of files in kvm/ subdirectory
in the qemu-kvm distribution (0.14 or git) ?
As far as I can see, all that is old and unused stuff,
which only confuses users. It is not used during build
the Makefiles are obsolete and
23.02.2011 14:31, Jan Kiszka wrote:
On 2011-02-23 12:04, Michael Tokarev wrote:
What's the current status of files in kvm/ subdirectory
in the qemu-kvm distribution (0.14 or git) ?
[]
I think there are a few bits still in use:
- kvm/kvm_stat
this is a tiny useful tool, yes, and we package
Hi all,
sorry for the previous partial e-mail, I hit the send button accidentally
;-).
I have a setup with a kvm-based virtual machine running a stock RedHat 6.1
(yes, that old) on a rather current debian host.
1. uname in host: 2.6.26-2-amd64 #1 SMP Wed May 12 18:03:14 UTC 2010
x86_64
On 2011-02-23 12:42, Michael Tokarev wrote:
23.02.2011 14:31, Jan Kiszka wrote:
On 2011-02-23 12:04, Michael Tokarev wrote:
What's the current status of files in kvm/ subdirectory
in the qemu-kvm distribution (0.14 or git) ?
[]
I think there are a few bits still in use:
- kvm/kvm_stat
On 02/22/2011 08:54 PM, Alex Williamson wrote:
This series introduces a new weight-balanced binary tree (wbtree) for
general use. It's largely leveraged from the rbtree, copying it's
rotate functions, while introducing different rebalance and erase
functions. This tree is particularly useful
23.02.2011 15:58, Jan Kiszka wrote:
On 2011-02-23 12:42, Michael Tokarev wrote:
[]
- kvm/include (latest kernel headers) *)
This directory is always used (in configure)
unless -kerneldir is specified - who uses that
nowadays? I dunno.
It may not be relevant to distros, provided they
On Mon, Feb 21, 2011 at 11:24:50AM +0800, Lai Jiangshan wrote:
On 02/21/2011 11:21 AM, Lai Jiangshan wrote:
The hash array of async gfns may still contain some left gfns after
kvm_clear_async_pf_completion_queue() called, need to clear them.
sorry.
Signed-off-by: Lai Jiangshan
On Wed, Feb 23, 2011 at 12:34:45PM +0100,
andreas.a...@de.transport.bombardier.com wrote:
Hi all,
sorry for the previous partial e-mail, I hit the send button accidentally
;-).
I have a setup with a kvm-based virtual machine running a stock RedHat 6.1
(yes, that old) on a rather
On 2011-02-23 14:15, Michael Tokarev wrote:
23.02.2011 15:58, Jan Kiszka wrote:
On 2011-02-23 12:42, Michael Tokarev wrote:
[]
- kvm/include (latest kernel headers) *)
This directory is always used (in configure)
unless -kerneldir is specified - who uses that
nowadays? I dunno.
It may
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 | 149 ++
2 files changed, 154 insertions(+), 0 deletions(-)
diff
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 d611100..e192eec 100644
--- a/exec.c
+++ b/exec.c
@@ -33,6 +33,7 @@
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 @@
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 9a31334f419c1d773cf4b4bfbbdace96fbf8a4f4.
The changes from v0.2.10 - v0.2.11 are:
- rebased to 0.14
- upon unregistering event-tap, set
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
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 ec4745d..724b549 100644
--- a/net.c
+++ b/net.c
@@ -36,6 +36,7 @@
#include
When kemari: is set in front of URI of migrate command, it will turn
on ft_mode to start FT migration mode (Kemari). On the receiver side,
the option looks like, -incoming kemari:protocol:address:port
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp
Acked-by: Paolo Bonzini
For regular migration inuse == 0 always as requests are flushed before
save. However, event-tap log when enabled introduces an extra queue
for requests which is not being flushed, thus the last inuse requests
are left in the event-tap queue. Move the last_avail_idx value sent
to the remote back
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
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:
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 bd4e944..c4f1940 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2111,7 +2111,7 @@ static
event-tap function is called only when it is on, and requests were
sent from device emulators.
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp
Acked-by: Kevin Wolf kw...@redhat.com
---
block.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git
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
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 4e263c3..614ac9c 100644
--- a/vl.c
+++ b/vl.c
@@ -162,6 +162,7 @@ int main(int argc, char **argv)
#include qemu-queue.h
#include
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
Introduce qemu_savevm_trans_{begin,commit} to send the memory and
device info together, while avoiding cancelling memory state tracking.
This patch also abstracts common code between
qemu_savevm_state_{begin,iterate,commit}.
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp
---
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:
Currently FdMigrationState doesn't support read(), and this patch
introduces it to get response from the other side. Note that this
won't change the existing migration protocol to be bi-directional.
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp
---
migration-tcp.c | 15
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.
Tests:
Hotplug of virtioserial and console.
Hotplug of virtio-serial-pci device.
Signed-off-by: Jiří Župka jzu...@redhat.com
---
client/tests/kvm/scripts/virtio_console_guest.py |3 +-
client/tests/kvm/tests/virtio_console.py | 382 +-
23.02.2011 16:45, Jan Kiszka wrote:
On 2011-02-23 14:15, Michael Tokarev wrote:
[]
It only matters if you want to build qemu-kvm for OLDER
kernel without support of some features which are used by
the userspace you're building. Provided 3 things:
It also matters if you are building for a
This reverts commit c65827770b5e7282b5fb9da29c1de85ed08e816e
Signed-off-by: Ryousei Takano takano-ryou...@aist.go.jp
---
I am trying to run OpenMP (i.e., multi-threaded) programs using Intel
Math Kernel Library (MKL) on a guest OS. In the qemu-kvm-0.12.5,
my program works fine. In the
On 2011-02-23 15:38, Ryousei Takano wrote:
This reverts commit c65827770b5e7282b5fb9da29c1de85ed08e816e
Reasoning would belong here, not below the separator.
Signed-off-by: Ryousei Takano takano-ryou...@aist.go.jp
---
I am trying to run OpenMP (i.e., multi-threaded) programs using Intel
On 2011-02-23 15:30, Michael Tokarev wrote:
23.02.2011 16:45, Jan Kiszka wrote:
On 2011-02-23 14:15, Michael Tokarev wrote:
[]
It only matters if you want to build qemu-kvm for OLDER
kernel without support of some features which are used by
the userspace you're building. Provided 3 things:
Hi Jan,
On Wed, Feb 23, 2011 at 11:47 PM, Jan Kiszka jan.kis...@siemens.com wrote:
On 2011-02-23 15:38, Ryousei Takano wrote:
This reverts commit c65827770b5e7282b5fb9da29c1de85ed08e816e
Reasoning would belong here, not below the separator.
Signed-off-by: Ryousei Takano
On Wed, Feb 23, 2011 at 12:18:36PM +0530, Krishna Kumar2 wrote:
Michael S. Tsirkin m...@redhat.com wrote on 02/23/2011 12:09:15 PM:
Hi Michael,
Yes. Michael Tsirkin had wanted to see how the MQ RX patch
would look like, so I was in the process of getting the two
working together.
On Wed, 2011-02-23 at 14:59 +0800, Sheng Yang wrote:
On Wednesday 23 February 2011 08:19:21 Alex Williamson wrote:
On Sun, 2011-01-30 at 13:11 +0800, Sheng Yang wrote:
+static int msix_table_mmio_read(struct kvm_io_device *this, gpa_t addr,
int len, +void
On Wed, 2011-02-23 at 15:09 +0200, Avi Kivity wrote:
On 02/22/2011 08:55 PM, Alex Williamson wrote:
Signed-off-by: Alex Williamsonalex.william...@redhat.com
---
include/linux/wbtree.h | 55
lib/Makefile |3 +
lib/wbtree.c | 170
On 02/23/2011 07:02 PM, Alex Williamson wrote:
obj-$(CONFIG_WEIGHT_BALANCED_TREE) += wbtree.o
then kvm can select it, and the impact on non-kvm kernels is removed.
Then we'd have issues trying to build an external kvm module for a
pre-existing non-kvm kernel. Do we care?
Officially,
On 2011-02-23 16:53, Ryousei Takano wrote:
Hi Jan,
On Wed, Feb 23, 2011 at 11:47 PM, Jan Kiszka jan.kis...@siemens.com wrote:
On 2011-02-23 15:38, Ryousei Takano wrote:
This reverts commit c65827770b5e7282b5fb9da29c1de85ed08e816e
Reasoning would belong here, not below the separator.
We've been supporting kvmclock MSRs in the 0x4b564d00-0x4b564dff range
for a while now, but we're not exposing it yet, meaning nobody is using it.
This simple patch takes care of that.
Signed-off-by: Glauber Costa glom...@redhat.com
---
arch/x86/kvm/x86.c |1 +
include/linux/kvm.h |1 +
On Wed, 2011-02-23 at 15:12 +0200, Avi Kivity wrote:
On 02/22/2011 08:54 PM, Alex Williamson wrote:
This series introduces a new weight-balanced binary tree (wbtree) for
general use. It's largely leveraged from the rbtree, copying it's
rotate functions, while introducing different
* Chigurupati, Chaks (ch...@wichorus.com) wrote:
If my hardware is VT-d capable and the host is latest linux+kvm with all
the needed VT-d support but the guest is an older linux (say 2.6.27), will
I be able to use PCI pass-through to hot-plug a PCI device from one guest
to another guest? Any
On Wed, Feb 23, 2011 at 09:34:19AM -0700, Alex Williamson wrote:
On Wed, 2011-02-23 at 14:59 +0800, Sheng Yang wrote:
On Wednesday 23 February 2011 08:19:21 Alex Williamson wrote:
On Sun, 2011-01-30 at 13:11 +0800, Sheng Yang wrote:
+static int msix_table_mmio_read(struct kvm_io_device
Thanks Chris.
On 2/23/11 10:30 AM, Chris Wright chr...@sous-sol.org wrote:
* Chigurupati, Chaks (ch...@wichorus.com) wrote:
If my hardware is VT-d capable and the host is latest linux+kvm with all
the needed VT-d support but the guest is an older linux (say 2.6.27),
will
I be able to use PCI
No answer from isc so far.
I think it's a problem that the popular dhclient
has had this bug for so long.
Anyone knows what else can be done?
On Mon, Dec 27, 2010 at 07:16:32PM +0200, Michael S. Tsirkin wrote:
When an AF_INET socket is used, linux would sometimes
return a packet without the
On Mon, 21 Feb 2011 09:37:57 +0800
Lai Jiangshan la...@cn.fujitsu.com wrote:
Hi, Luiz Capitulino
Any problem?
Sorry for the delay. Looks good in general to me know, there's only one
small problem and it's the error message:
(qemu) nmi 100
Parameter 'cpu-index' expects a CPU number
On Wed, 2011-02-23 at 20:39 +0200, Michael S. Tsirkin wrote:
On Wed, Feb 23, 2011 at 09:34:19AM -0700, Alex Williamson wrote:
On Wed, 2011-02-23 at 14:59 +0800, Sheng Yang wrote:
On Wednesday 23 February 2011 08:19:21 Alex Williamson wrote:
On Sun, 2011-01-30 at 13:11 +0800, Sheng Yang
On 01/27/2011 02:20 AM, Lai Jiangshan wrote:
Make we can inject NMI via qemu-monitor-protocol.
We use inject-nmi for the qmp command name, the meaning is clearer.
Signed-off-by: Lai Jiangshanla...@cn.fujitsu.com
---
diff --git a/hmp-commands.hx b/hmp-commands.hx
index ec1a4db..e763bf9 100644
On Wed, Feb 23, 2011 at 12:11 AM, Chris Wright chr...@sous-sol.org wrote:
* James Neave (robo...@gmail.com) wrote:
On Tue, Feb 22, 2011 at 1:51 AM, Chris Wright chr...@sous-sol.org wrote:
* James Neave (robo...@gmail.com) wrote:
Does anybody know the debug kernel switches for iommu?
Two
On Wed, Feb 23, 2011 at 7:44 PM, James Neave robo...@gmail.com wrote:
On Wed, Feb 23, 2011 at 12:11 AM, Chris Wright chr...@sous-sol.org wrote:
* James Neave (robo...@gmail.com) wrote:
On Tue, Feb 22, 2011 at 1:51 AM, Chris Wright chr...@sous-sol.org wrote:
* James Neave (robo...@gmail.com)
On Wed, 2011-02-23 at 19:08 +0200, Avi Kivity wrote:
On 02/23/2011 07:02 PM, Alex Williamson wrote:
obj-$(CONFIG_WEIGHT_BALANCED_TREE) += wbtree.o
then kvm can select it, and the impact on non-kvm kernels is removed.
Then we'd have issues trying to build an external kvm module
On Wed, 23 Feb 2011 13:25:38 -0600
Anthony Liguori anth...@codemonkey.ws wrote:
On 01/27/2011 02:20 AM, Lai Jiangshan wrote:
Make we can inject NMI via qemu-monitor-protocol.
We use inject-nmi for the qmp command name, the meaning is clearer.
Signed-off-by: Lai
On Mon, 2011-01-31 at 17:18 -0200, Marcelo Tosatti wrote:
On Mon, Jan 24, 2011 at 10:37:56PM -0700, Alex Williamson wrote:
On Mon, 2011-01-24 at 08:44 -0700, Alex Williamson wrote:
I'll look at how we might be
able to allocate slots on demand. Thanks,
Here's a first cut just to see
Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote:
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
Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote:
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
Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote:
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.
Could you explain
On Wed, Feb 23, 2011 at 10:52:09AM +0530, Krishna Kumar2 wrote:
Simon Horman ho...@verge.net.au wrote on 02/22/2011 01:17:09 PM:
Hi Simon,
I have a few questions about the results below:
1. Are the (%) comparisons between non-mq and mq virtio?
Yes - mainline kernel with
Hello Avi et al,
seems like I've hit regression in 2.6.37:
32bit SMP centos guest stopped booting, they just hang during initrd phase.
(haven't tried
different distros)
UP guest are OK.
when I (forcibly) compiled kvm-kmod-2.6.36.2 and used it in 2.6.37, even
the SMP guests boot fine.
does
Hi Jan,
Thanks for your help.
On Thu, Feb 24, 2011 at 2:26 AM, Jan Kiszka jan.kis...@siemens.com wrote:
On 2011-02-23 16:53, Ryousei Takano wrote:
Hi Jan,
On Wed, Feb 23, 2011 at 11:47 PM, Jan Kiszka jan.kis...@siemens.com wrote:
On 2011-02-23 15:38, Ryousei Takano wrote:
This reverts
Juan Quintela wrote:
Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp wrote:
Introduce skip_header parameter to qemu_loadvm_state() so that it can
be called iteratively without reading the header.
Signed-off-by: Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp
---
migration.c |2 +-
savevm.c
Juan Quintela wrote:
Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp wrote:
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 Tamuratamura.yoshi...@lab.ntt.co.jp
---
vl.c | 13 +
Juan Quintela wrote:
Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp wrote:
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.
Introduce qemu_loadvm_state_no_header() so that it can be called
iteratively without reading the header, and qemu_loadvm_state()
becomes a wrapper of it.
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp
---
savevm.c | 45 +++--
1 files
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 9a31334f419c1d773cf4b4bfbbdace96fbf8a4f4.
The changes from v0.2.11 - v0.2.12 are:
- fix vm_state_notify() to use QLIST_FOREACH_SAFE (Juan)
-
For regular migration inuse == 0 always as requests are flushed before
save. However, event-tap log when enabled introduces an extra queue
for requests which is not being flushed, thus the last inuse requests
are left in the event-tap queue. Move the last_avail_idx value sent
to the remote back
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:
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 | 150 ++
2 files changed, 155 insertions(+), 0 deletions(-)
diff
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 @@
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 bd4e944..c4f1940 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2111,7 +2111,7 @@ static
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
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
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:
When kemari: is set in front of URI of migrate command, it will turn
on ft_mode to start FT migration mode (Kemari). On the receiver side,
the option looks like, -incoming kemari:protocol:address:port
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp
Acked-by: Paolo Bonzini
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 d611100..e192eec 100644
--- a/exec.c
+++ b/exec.c
@@ -33,6 +33,7 @@
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 | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/vl.c b/vl.c
Introduce qemu_savevm_trans_{begin,commit} to send the memory and
device info together, while avoiding cancelling memory state tracking.
This patch also abstracts common code between
qemu_savevm_state_{begin,iterate,commit}.
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp
---
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.
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 ec4745d..724b549 100644
--- a/net.c
+++ b/net.c
@@ -36,6 +36,7 @@
#include
event-tap function is called only when it is on, and requests were
sent from device emulators.
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp
Acked-by: Kevin Wolf kw...@redhat.com
---
block.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git
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 0bda77d..0ea1fb7 100644
--- a/vl.c
+++ b/vl.c
@@ -162,6 +162,7 @@ int main(int argc, char **argv)
#include qemu-queue.h
#include
Currently FdMigrationState doesn't support read(), and this patch
introduces it to get response from the other side. Note that this
won't change the existing migration protocol to be bi-directional.
Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp
---
migration-tcp.c | 15
Luiz Capitulino lcapitul...@redhat.com writes:
On Mon, 21 Feb 2011 09:37:57 +0800
Lai Jiangshan la...@cn.fujitsu.com wrote:
Hi, Luiz Capitulino
Any problem?
Sorry for the delay. Looks good in general to me know, there's only one
small problem and it's the error message:
(qemu) nmi
On 2011-02-24 02:29, Ryousei Takano wrote:
Hi Jan,
Thanks for your help.
On Thu, Feb 24, 2011 at 2:26 AM, Jan Kiszka jan.kis...@siemens.com wrote:
On 2011-02-23 16:53, Ryousei Takano wrote:
Hi Jan,
On Wed, Feb 23, 2011 at 11:47 PM, Jan Kiszka jan.kis...@siemens.com wrote:
On 2011-02-23
92 matches
Mail list logo