:
- Fix warning of line over 80 characters
v3:
- Improve commit messages
Oksana Vohchana (3):
python/qemu/machine: Adding functions _send_fds and _recv_fds
python/qemu/machine: Updates send_fd_scm function
Acceptance test: add FD migration
python/qemu/machine.py| 88
to send or receive data through the
Unix domain socket file descriptor.
This is useful for obtaining a socket that belongs to a different
network namespace.
Signed-off-by: Oksana Vohchana
---
python/qemu/machine.py | 24
1 file changed, 24 insertions(+)
diff --git
.
The parameter data include qmp message like getfd or add-fd.
Signed-off-by: Oksana Vohchana
---
python/qemu/machine.py | 64 ++
1 file changed, 40 insertions(+), 24 deletions(-)
diff --git a/python/qemu/machine.py b/python/qemu/machine.py
index 976316e5f5..906ca118db
The patch adds a new type of migration test through the file descriptor.
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 21 +
1 file changed, 21 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index a8367ca023
QEMUMachine writes some messages to the default logger.
But it sometimes to hard the read the output if we have requested to
more than one VM.
This patch adds name in QMP command if it needs and labels with it in
debug mode.
Signed-off-by: Oksana Vohchana
---
python/qemu/machine.py | 8
Provides new functions related to the rdma migration test
Adds functions to check if service RDMA is enabled and gets
the ip address on the interface where it was configured
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 26 ++
1 file changed, 26
Adds test for RDMA migration check
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 9 +
1 file changed, 9 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index 5632d74f14..9b58b5a629 100644
--- a/tests/acceptance/migration.py
test: adds param 'address'
in _get_free_port
- provides import check for netifaces library
- makes fix to _get_ip_rdma function
- adds skip to test if not upload python module
Oksana Vohchana (4):
Acceptance test: adds param 'address' in _get_free_port
Acceptance test: EXEC migration
In the migration test function _get_free_port works only for localhost,
but in the case to use migration through an RDMA we need to get a free port
on the configured network RDMA-interface.
This patch is the start for another migration option
Signed-off-by: Oksana Vohchana
---
tests/acceptance
Improves EXEC migration to run whole test stage
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index e4c39b85a1..8209dcf71d 100644
--- a/tests/acceptance
Along with VM migration via TCP, we can use migration through EXEC
and UNIX transport protocol
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 50 ---
1 file changed, 35 insertions(+), 15 deletions(-)
diff --git a/tests/acceptance/migration.py
This series makes refactoring to migration test and adds new tests with
EXEC and UNIX protocols
---
v2:
- Removes unnecessary symbols and unused method
v3:
- Makes refactoring and split into 2 patches
- Provides TCP and EXEC migration
Oksana Vohchana (2):
Acceptance test: provides to use
Along with VM migration via TCP, we can use migration through EXEC
and UNIX transport protocol
Signed-off-by: Oksana Vohchana
---
v2:
- Removes unnecessary symbols and unused method
v3:
- Makes refactoring and split into 2 patches
Signed-off-by: Oksana Vohchana
---
tests/acceptance
Along with VM migration via TCP, we can use migration through EXEC
and UNIX transport protocol
Signed-off-by: Oksana Vohchana
---
v2:
- Removes unnecessary symbols and unused method
v3:
- Makes refactoring and split into 2 patches
- Provides TCP and EXEC migration
Signed-off-by: Oksana
This series makes refactoring to migration test and adds new tests with
EXEC and UNIX protocols
---
v2:
- Removes unnecessary symbols and unused method
v3:
- Makes refactoring and split into 2 patches
- Provides TCP and EXEC migration
Oksana Vohchana (2):
Acceptance test: provides to use
Along with VM migration via TCP, we can use migration through EXEC
and UNIX transport protocol
Signed-off-by: Oksana Vohchana
---
v2:
- Removes unnecessary symbols and unused method
v3:
- Makes refactoring and split into 2 patches
Signed-off-by: Oksana Vohchana
---
tests/acceptance
Along with VM migration via TCP, we can use migration through EXEC
and UNIX transport protocol
Signed-off-by: Oksana Vohchana
---
v2:
- Removes unnecessary symbols and unused method
v3:
- Makes refactoring and split into 2 patches
- Provides TCP and EXEC migration
Signed-off-by: Oksana
Along with VM migration via TCP, we can use migration through EXEC
and UNIX transport protocol
Signed-off-by: Oksana Vohchana
---
v2:
- Removes unnecessary symbols and unused method
---
tests/acceptance/migration.py | 51 ---
1 file changed, 36 insertions
Along with VM migration via TCP, we can use migration through EXEC
and UNIX transport protocol
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 50 ---
1 file changed, 35 insertions(+), 15 deletions(-)
diff --git a/tests/acceptance/migration.py
Along with VM migration via TCP, we can use migration through EXEC
and UNIX transport protocol
---
tests/acceptance/migration.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index 8bbe28d52d..1f6a674843
This series adds a new migration test through RDMA and provides new
functions to it.
The last update by mistake was not provided a full scenario to the EXEC
migration test. One of patch fixed it.
Oksana Vohchana (4):
Acceptance test: add address as param
Acceptance test: EXEC migration
Improves EXEC migration to run whole test stage
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index e4c39b85a1..8209dcf71d 100644
--- a/tests/acceptance
Adds functions to check if service RDMA is enabled and gets the interface
where it was configured
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 17 +
1 file changed, 17 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
Provides param address in _get_free_port()
because by default it takes free port only on the localhost
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/acceptance/migration.py b/tests/acceptance
Adds test for RDMA migration check
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 8
1 file changed, 8 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index bbd88f8dda..c0a3031e67 100644
--- a/tests/acceptance/migration.py
Adds a new migration test through the file descriptor.
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 21 +
1 file changed, 21 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index a8367ca023..7f4879ce5d 100644
to another.
Signed-off-by: Oksana Vohchana
---
python/qemu/machine.py | 64 ++
1 file changed, 40 insertions(+), 24 deletions(-)
diff --git a/python/qemu/machine.py b/python/qemu/machine.py
index 976316e5f5..906ca118db 100644
--- a/python/qemu/machine.py
+++ b/p
It provides new possibilities to send or receive data through the Unix domain
socket file descriptor.
This is useful for obtaining a socket that belongs to a different network
namespace.
Signed-off-by: Oksana Vohchana
---
python/qemu/machine.py | 24
1 file changed, 24
of line over 80 characters
Oksana Vohchana (3):
Adding functions _send_fds and _recv_fds
Updates send_fd_scm function
Acceptance test: FD migration
python/qemu/machine.py| 88 +--
tests/acceptance/migration.py | 21 +
2 files changed, 85
To test migration through the file descriptor we should build and provide
a path to socket_scm_helper file. This way is inconvenient for acceptance
testing.
This series provides new functions to receive and send messages over a UNIX
socket. And adds a new migration test.
Oksana Vohchana (3
It provides new possibilities to send or receive data through the Unix domain
socket file descriptor.
This is useful for obtaining a socket that belongs to a different network
namespace.
Signed-off-by: Oksana Vohchana
---
python/qemu/machine.py | 18 ++
1 file changed, 18
Adds a new migration test through the file descriptor.
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 20
1 file changed, 20 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index a8367ca023..b96a897f3b 100644
to another.
Signed-off-by: Oksana Vohchana
---
python/qemu/machine.py | 56 +-
1 file changed, 34 insertions(+), 22 deletions(-)
diff --git a/python/qemu/machine.py b/python/qemu/machine.py
index 8c5bd64795..0936b71856 100644
--- a/python/qemu/machine.py
+++ b/p
QEMUMachine writes some messages to the default logger.
But it sometimes hard to read the output if we have requests to
more than one VM.
This patch adds a label to the logger in the debug mode.
Signed-off-by: Oksana Vohchana
---
v2:
- Instead of shown the label in the message it provides
QEMUMachine writes some messages to the default logger.
But it sometimes hard to read the output if we have requests to
more than one VM.
This patch adds a label to the logger in the debug mode.
Signed-off-by: Oksana Vohchana
---
v2:
- Instead of shown the label in the message it provides
the Migration class
V5:
- improvement to comments
- updates to functions
Oksana Vohchana (3):
Acceptance test: adds param 'address' in _get_free_port
Acceptance test: provides new functions
Acceptance test: provides to use RDMA transport for migration test
tests/acceptance/migration.py
In the migration test function _get_free_port works only for localhost,
but in the case to use migration through an RDMA we need to get a free port
on the configured network RDMA-interface.
This patch is the start for another migration option
Signed-off-by: Oksana Vohchana
---
tests/acceptance
Adds test for RDMA migration check
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 12
1 file changed, 12 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index 1c3a684395..99563ae850 100644
--- a/tests/acceptance
Provides new functions related to the rdma migration test
Adds functions to check if service RDMA is enabled and gets
the ip address on the interface where it was configured
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 45 +++
1 file changed
QEMUMachine writes some messages to the default logger.
But it sometimes hard to read the output if we have requests to
more than one VM.
This patch adds a label to the logger in the debug mode.
Signed-off-by: Oksana Vohchana
---
v2:
- Instead of shown the label in the message it provides
The exec migration test isn't run a whole test scenario.
This patch fixes it
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index a8367ca023
Provides new functions related to the rdma migration test
Adds functions to check if service RDMA is enabled and gets
the ip address on the interface where it was configured
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 30 ++
1 file changed, 30
In the migration test function _get_free_port works only for localhost,
but in the case to use migration through an RDMA we need to get a free port
on the configured network RDMA-interface.
This patch is the start for another migration option
Signed-off-by: Oksana Vohchana
---
tests/acceptance
Adds test for RDMA migration check
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 12
1 file changed, 12 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index a783f3915b..c8673114a9 100644
--- a/tests/acceptance
test: adds param 'address'
in _get_free_port
- provides import check for netifaces library
- makes fix to _get_ip_rdma function
- adds skip to test if not upload python module
V3:
- removes unrelated changes
- updates functions with new avocado features
Oksana Vohchana (3):
Acceptance test
Adds test for RDMA migration check
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 12
1 file changed, 12 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index 59144f18fd..c96da1dd4b 100644
--- a/tests/acceptance
Provides new functions related to the rdma migration test
Adds functions to check if service RDMA is enabled and gets
the ip address on the interface where it was configured
Signed-off-by: Oksana Vohchana
---
tests/acceptance/migration.py | 32
1 file changed
the Migration class
Oksana Vohchana (3):
Acceptance test: adds param 'address' in _get_free_port
Acceptance test: provides new functions
Acceptance test: provides to use RDMA transport for migration test
tests/acceptance/migration.py | 48 +--
1 file changed
In the migration test function _get_free_port works only for localhost,
but in the case to use migration through an RDMA we need to get a free port
on the configured network RDMA-interface.
This patch is the start for another migration option
Signed-off-by: Oksana Vohchana
---
tests/acceptance
49 matches
Mail list logo