Signed-off-by: Michael Labiuk
---
tests/qtest/hd-geo-test.c | 97 +++
1 file changed, 97 insertions(+)
diff --git a/tests/qtest/hd-geo-test.c b/tests/qtest/hd-geo-test.c
index 61f4c24b81..278464c379 100644
--- a/tests/qtest/hd-geo-test.c
+++ b/tests/qtest/hd-g
Signed-off-by: Michael Labiuk
---
tests/qtest/drive_del-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qtest/drive_del-test.c b/tests/qtest/drive_del-test.c
index 467e752b0d..44b9578801 100644
--- a/tests/qtest/drive_del-test.c
+++ b/tests/qtest/drive_del-test.c
Move sending 'device_del' command to separate function.
Function can be used in case of addition action is needed to start
actual removing device after sending command.
Signed-off-by: Michael Labiuk
---
tests/qtest/device-plug-test.c | 15 ++-
tests/qtest/drive_del-test.c | 6 +---
Add pci bridge setting to run hotplug tests on q35 machine type.
Hotplug tests was bounded to 'pc' machine type by commit 7b172333f1b
v5 -> v4:
* Unify device removing in tests.
* Using qtest_has_machine("q35") as condition.
* fixed typos.
* Replaced snprintf.
v4 -> v3:
* Moving helper function
Configure pci bridge setting to run tests on 'q35' machine type.
Signed-off-by: Michael Labiuk
---
tests/qtest/drive_del-test.c | 107 +++
1 file changed, 107 insertions(+)
diff --git a/tests/qtest/drive_del-test.c b/tests/qtest/drive_del-test.c
index 106c613f4f.
Configure pci bridge setting to plug pci device and unplug.
Signed-off-by: Michael Labiuk
---
tests/qtest/device-plug-test.c | 41 ++
1 file changed, 41 insertions(+)
diff --git a/tests/qtest/device-plug-test.c b/tests/qtest/device-plug-test.c
index 3841de1b8c..3
Add pci bridge setting to test hotplug.
Duplicate tests for plugging scsi and virtio devices for q35 machine type.
Signed-off-by: Michael Labiuk
---
tests/qtest/hd-geo-test.c | 76 ++-
1 file changed, 75 insertions(+), 1 deletion(-)
diff --git a/tests/qtest/h
Using g_autofree char* and g_strdup_printf(...) instead of ugly
snprintf on stack array.
Signed-off-by: Michael Labiuk
---
tests/qtest/drive_del-test.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/tests/qtest/drive_del-test.c b/tests/qtest/drive_del-test.c
inde
Configure pci bridge setting to test ivshmem on 'q35'.
Signed-off-by: Michael Labiuk
---
tests/qtest/ivshmem-test.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/tests/qtest/ivshmem-test.c b/tests/qtest/ivshmem-test.c
index 9611d05eb5..cd550c8935 100644
--- a/tests/qtes
Moving common code to function.
Signed-off-by: Michael Labiuk
---
tests/qtest/hd-geo-test.c | 144 +++---
1 file changed, 57 insertions(+), 87 deletions(-)
diff --git a/tests/qtest/hd-geo-test.c b/tests/qtest/hd-geo-test.c
index ba772f4d7a..61f4c24b81 100644
---
Signed-off-by: Michael Labiuk
---
tests/qtest/hd-geo-test.c | 105 +++---
1 file changed, 98 insertions(+), 7 deletions(-)
diff --git a/tests/qtest/hd-geo-test.c b/tests/qtest/hd-geo-test.c
index 413cf964c0..58b1107d64 100644
--- a/tests/qtest/hd-geo-test.c
+++ b/
Configure pci bridge setting to test ivshmem on 'q35'.
Signed-off-by: Michael Labiuk
---
tests/qtest/ivshmem-test.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/tests/qtest/ivshmem-test.c b/tests/qtest/ivshmem-test.c
index 9611d05eb5..0f9755abc6 100644
---
Move common code for device removing to function.
Signed-off-by: Michael Labiuk
---
tests/qtest/device-plug-test.c | 42 ++
1 file changed, 17 insertions(+), 25 deletions(-)
diff --git a/tests/qtest/device-plug-test.c b/tests/qtest/device-plug-test.c
index a1fb99
Configure pci bridge setting to plug pci device and unplug.
Signed-off-by: Michael Labiuk
---
tests/qtest/device-plug-test.c | 41 ++
1 file changed, 41 insertions(+)
diff --git a/tests/qtest/device-plug-test.c b/tests/qtest/device-plug-test.c
index e595b45b66..d
Add pci bridge setting to test hotplug.
Duplicate tests for plugging scsi and virtio devices for q35 machine type.
Signed-off-by: Michael Labiuk
---
tests/qtest/hd-geo-test.c | 76 +++
1 file changed, 76 insertions(+)
diff --git a/tests/qtest/hd-geo-test.c b/
Add pci bridge setting to run hotplug tests on q35 machine type.
Hotplug tests was bounded to 'pc' machine type by commit 7b172333f1b
Changes from v3:
* Moving helper function process_device_remove() to separate commit.
* Refactoring hd-geo-test to avoid code duplication.
Michael Labiuk (7):
t
Moving common code to function.
Signed-off-by: Michael Labiuk
---
tests/qtest/hd-geo-test.c | 133 +++---
1 file changed, 53 insertions(+), 80 deletions(-)
diff --git a/tests/qtest/hd-geo-test.c b/tests/qtest/hd-geo-test.c
index 58b1107d64..d488ad9ac0 100644
---
Configure pci bridge setting to run tests on 'q35' machine type.
Signed-off-by: Michael Labiuk
---
tests/qtest/drive_del-test.c | 111 +++
1 file changed, 111 insertions(+)
diff --git a/tests/qtest/drive_del-test.c b/tests/qtest/drive_del-test.c
index 5e6d58b4dd.
Configure pci bridge setting to test ivshmem on 'q35'.
Signed-off-by: Michael Labiuk
---
tests/qtest/ivshmem-test.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/tests/qtest/ivshmem-test.c b/tests/qtest/ivshmem-test.c
index 9611d05eb5..0f9755abc6 100644
--- a
Configure pci bridge setting to plug pci device and unplug.
Move common code for device removing to function.
Signed-off-by: Michael Labiuk
---
tests/qtest/device-plug-test.c | 83 --
1 file changed, 58 insertions(+), 25 deletions(-)
diff --git a/tests/qtest/devic
Add pci bridge setting to run hotplug tests on q35 machine type.
Hotplug tests was bounded to 'pc' machine type by commit 7b172333f1b
Michael Labiuk (5):
tests/x86: Add subtest with 'q35' machine type to device-plug-test
tests/x86: Add 'q35' machine type to ivshmem-test
tests/x86: Add 'q35'
Signed-off-by: Michael Labiuk
---
tests/qtest/hd-geo-test.c | 105 +++---
1 file changed, 98 insertions(+), 7 deletions(-)
diff --git a/tests/qtest/hd-geo-test.c b/tests/qtest/hd-geo-test.c
index 19354690ae..61a92bdbe1 100644
--- a/tests/qtest/hd-geo-test.c
+++ b/
Add pci bridge setting to test hotplug.
Duplicate tests for plugging scsi and virtio devices for q35 machine type.
Signed-off-by: Michael Labiuk
---
tests/qtest/hd-geo-test.c | 148 ++
1 file changed, 148 insertions(+)
diff --git a/tests/qtest/hd-geo-test.c b/
Configure pci bridge setting
Also run tests on 'q35' machine type.
Signed-off-by: Michael Labiuk
---
tests/qtest/drive_del-test.c | 111 +++
1 file changed, 111 insertions(+)
diff --git a/tests/qtest/drive_del-test.c b/tests/qtest/drive_del-test.c
index 5e6d58b4dd
Configure pci bridge setting to test ivshmem on 'q35'.
Signed-off-by: Michael Labiuk
---
tests/qtest/ivshmem-test.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/tests/qtest/ivshmem-test.c b/tests/qtest/ivshmem-test.c
index e23a97fa8e..c4ca7efc62 100644
--- a
Add pci bridge setting to test hotplug.
Duplicate tests for plugging scsi and virtio devices for q35 machine type.
Signed-off-by: Michael Labiuk
---
tests/qtest/hd-geo-test.c | 148 ++
1 file changed, 148 insertions(+)
diff --git a/tests/qtest/hd-geo-test.c b/
Configure pci bridge setting to plug pci device and unplug.
Signed-off-by: Michael Labiuk
---
tests/qtest/device-plug-test.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/tests/qtest/device-plug-test.c b/tests/qtest/device-plug-test.c
index 2e3137843e..2f07b37ba1
Configure pci bridge setting
Also run tests on 'q35' machine type.
Signed-off-by: Michael Labiuk
---
tests/qtest/drive_del-test.c | 111 +++
1 file changed, 111 insertions(+)
diff --git a/tests/qtest/drive_del-test.c b/tests/qtest/drive_del-test.c
index 5e6d58b4dd
Add pci bridge setting to run hotplug tests on q35 machine type.
Hotplug tests was bounded to 'pc' machine type by commit 7b172333f1b
Michael Labiuk (4):
tests/x86: Add subtest with 'q35' machine type to device-plug-test
tests/x86: Add 'q35' machine type to ivshmem-test
tests/x86: Add 'q35'
Add pci bridge setting to run hotplug tests on q35 machine type.
Hotplug tests was bounded to 'pc' machine type by commit 7b172333f1b
Signed-off-by: Michael Labiuk
---
tests/qtest/device-plug-test.c | 26 ++
tests/qtest/drive_del-test.c | 111 +
tests/qtest/hd-geo-
30 matches
Mail list logo