Re: [Qemu-devel] [PATCH v8 27/28] tests/qmp-test: blacklist query-sev-launch-measure command

2018-02-13 Thread Dr. David Alan Gilbert
* Brijesh Singh (brijesh.si...@amd.com) wrote:
> The query-sev-launch-measure command returns a measurement of encrypted
> memory when SEV is enabled otherwise it returns an error. Blacklist the
> command in qmp-test to fix the 'make check' failure.
> 
> Cc: "Daniel P. Berrangé" 
> Cc: "Dr. David Alan Gilbert" 
> Cc: Markus Armbruster 
> Signed-off-by: Brijesh Singh 

Reviewed-by: Dr. David Alan Gilbert 

> ---
>  tests/qmp-test.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/qmp-test.c b/tests/qmp-test.c
> index 908f9b981f6e..d8720798ad0b 100644
> --- a/tests/qmp-test.c
> +++ b/tests/qmp-test.c
> @@ -202,6 +202,8 @@ static bool query_is_blacklisted(const char *cmd)
>  "query-gic-capabilities", /* arm */
>  /* Success depends on target-specific build configuration: */
>  "query-pci",  /* CONFIG_PCI */
> +/* Success depends on launching SEV guest */
> +"query-sev-launch-measure",
>  NULL
>  };
>  int i;
> -- 
> 2.14.3
> 
--
Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK



[Qemu-devel] [PATCH v8 27/28] tests/qmp-test: blacklist query-sev-launch-measure command

2018-02-12 Thread Brijesh Singh
The query-sev-launch-measure command returns a measurement of encrypted
memory when SEV is enabled otherwise it returns an error. Blacklist the
command in qmp-test to fix the 'make check' failure.

Cc: "Daniel P. Berrangé" 
Cc: "Dr. David Alan Gilbert" 
Cc: Markus Armbruster 
Signed-off-by: Brijesh Singh 
---
 tests/qmp-test.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/qmp-test.c b/tests/qmp-test.c
index 908f9b981f6e..d8720798ad0b 100644
--- a/tests/qmp-test.c
+++ b/tests/qmp-test.c
@@ -202,6 +202,8 @@ static bool query_is_blacklisted(const char *cmd)
 "query-gic-capabilities", /* arm */
 /* Success depends on target-specific build configuration: */
 "query-pci",  /* CONFIG_PCI */
+/* Success depends on launching SEV guest */
+"query-sev-launch-measure",
 NULL
 };
 int i;
-- 
2.14.3