diff mbox

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

Message ID 20180212153715.87555-28-brijesh.singh@amd.com (mailing list archive)
State New, archived
Headers show

Commit Message

Brijesh Singh Feb. 12, 2018, 3:37 p.m. UTC
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é" <berrange@redhat.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
---
 tests/qmp-test.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Dr. David Alan Gilbert Feb. 13, 2018, 4:44 p.m. UTC | #1
* Brijesh Singh (brijesh.singh@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é" <berrange@redhat.com>
> Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> Cc: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

> ---
>  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 / dgilbert@redhat.com / Manchester, UK
diff mbox

Patch

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;