* [Qemu-devel] [RESEND PATCH] tests/acceptance: Specify arch for QueryCPUModelExpansion
@ 2019-09-18 7:06 David Gibson
2019-09-18 11:17 ` Philippe Mathieu-Daudé
2019-09-19 1:25 ` Cleber Rosa
0 siblings, 2 replies; 3+ messages in thread
From: David Gibson @ 2019-09-18 7:06 UTC (permalink / raw)
To: ehabkost, crosa
Cc: philmd, qemu-devel, Wainer dos Santos Moschetta, David Gibson
At the moment this test runs on whatever the host arch is. But it looks
for 'unavailable-features' which is an x86 specific cpu property. Tag it
to always use qemu-system-x86_64.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
---
tests/acceptance/cpu_queries.py | 3 +++
1 file changed, 3 insertions(+)
I sent this a while back, but it seems to have been forgotten. As far
as I can tell the current logic is Just Plain Wrong, on any host other
than x86.
diff --git a/tests/acceptance/cpu_queries.py b/tests/acceptance/cpu_queries.py
index e71edec39f..af47d2795a 100644
--- a/tests/acceptance/cpu_queries.py
+++ b/tests/acceptance/cpu_queries.py
@@ -18,6 +18,9 @@ class QueryCPUModelExpansion(Test):
"""
def test(self):
+ """
+ :avocado: tags=arch:x86_64
+ """
self.vm.set_machine('none')
self.vm.add_args('-S')
self.vm.launch()
--
2.21.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [RESEND PATCH] tests/acceptance: Specify arch for QueryCPUModelExpansion
2019-09-18 7:06 [Qemu-devel] [RESEND PATCH] tests/acceptance: Specify arch for QueryCPUModelExpansion David Gibson
@ 2019-09-18 11:17 ` Philippe Mathieu-Daudé
2019-09-19 1:25 ` Cleber Rosa
1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-09-18 11:17 UTC (permalink / raw)
To: David Gibson, ehabkost, crosa; +Cc: qemu-devel, Wainer dos Santos Moschetta
On 9/18/19 9:06 AM, David Gibson wrote:
> At the moment this test runs on whatever the host arch is. But it looks
> for 'unavailable-features' which is an x86 specific cpu property. Tag it
> to always use qemu-system-x86_64.
>
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
> ---
> tests/acceptance/cpu_queries.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> I sent this a while back, but it seems to have been forgotten. As far
> as I can tell the current logic is Just Plain Wrong, on any host other
> than x86.
>
> diff --git a/tests/acceptance/cpu_queries.py b/tests/acceptance/cpu_queries.py
> index e71edec39f..af47d2795a 100644
> --- a/tests/acceptance/cpu_queries.py
> +++ b/tests/acceptance/cpu_queries.py
> @@ -18,6 +18,9 @@ class QueryCPUModelExpansion(Test):
> """
>
> def test(self):
> + """
> + :avocado: tags=arch:x86_64
> + """
> self.vm.set_machine('none')
> self.vm.add_args('-S')
> self.vm.launch()
>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [RESEND PATCH] tests/acceptance: Specify arch for QueryCPUModelExpansion
2019-09-18 7:06 [Qemu-devel] [RESEND PATCH] tests/acceptance: Specify arch for QueryCPUModelExpansion David Gibson
2019-09-18 11:17 ` Philippe Mathieu-Daudé
@ 2019-09-19 1:25 ` Cleber Rosa
1 sibling, 0 replies; 3+ messages in thread
From: Cleber Rosa @ 2019-09-19 1:25 UTC (permalink / raw)
To: David Gibson; +Cc: philmd, ehabkost, Wainer dos Santos Moschetta, qemu-devel
On Wed, Sep 18, 2019 at 05:06:54PM +1000, David Gibson wrote:
> At the moment this test runs on whatever the host arch is. But it looks
> for 'unavailable-features' which is an x86 specific cpu property. Tag it
> to always use qemu-system-x86_64.
>
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
> ---
> tests/acceptance/cpu_queries.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> I sent this a while back, but it seems to have been forgotten. As far
> as I can tell the current logic is Just Plain Wrong, on any host other
> than x86.
>
> diff --git a/tests/acceptance/cpu_queries.py b/tests/acceptance/cpu_queries.py
> index e71edec39f..af47d2795a 100644
> --- a/tests/acceptance/cpu_queries.py
> +++ b/tests/acceptance/cpu_queries.py
> @@ -18,6 +18,9 @@ class QueryCPUModelExpansion(Test):
> """
>
> def test(self):
> + """
> + :avocado: tags=arch:x86_64
> + """
> self.vm.set_machine('none')
> self.vm.add_args('-S')
> self.vm.launch()
> --
> 2.21.0
>
I've queued on my python-next branch.
Reviewed-by: Cleber Rosa <crosa@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-19 1:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-18 7:06 [Qemu-devel] [RESEND PATCH] tests/acceptance: Specify arch for QueryCPUModelExpansion David Gibson
2019-09-18 11:17 ` Philippe Mathieu-Daudé
2019-09-19 1:25 ` Cleber Rosa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).