Skip to contentSkip to conversation

util/qemu-config: fix missing machine command line options

PATCH Marcel Apfelbaum 2 participants 4 messages Oct 12, 2015 – Oct 14, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Marcel Apfelbaum

author Reviewed-by
#1 lore raw
Quoted 5 lines · Tony Krowiak

Commit 0a7cf217 ("util/qemu-config: fix regression of qmp_query_command_line_options") aimed to restore parsing of global machine options, but missed two: "aes-key-wrap" and "dea-key-wrap" (which were present in the initial version of that patch). Let's add them to the machine_opts again.

Adding qemu-devel

Hi,

I thought I hunted them all, anyway, thanks for adding them.

Quoted 29 lines
Fixes 0a7cf217
CC Marcel Apfelbaum <[email protected]>
---
  util/qemu-config.c |    8 ++++++++
  1 files changed, 8 insertions(+), 0 deletions(-)
util/qemu-config.c +8 -0
index 5fcfd0e..687fd34 100644
@@ -219,6 +219,14 @@ static QemuOptsList machine_opts = {
              .name = "suppress-vmdesc",
              .type = QEMU_OPT_BOOL,
              .help = "Set on to disable self-describing migration",
+        },{
+            .name = "aes-key-wrap",
+            .type = QEMU_OPT_BOOL,
+            .help = "enable/disable AES key wrapping using the CPACF wrapping key",
+        },{
+            .name = "dea-key-wrap",
+            .type = QEMU_OPT_BOOL,
+            .help = "enable/disable DEA key wrapping using the CPACF wrapping key",
          },
          { /* End of list */ }
      }
#2 lore raw
Quoted 7 lines · On Mon, 12 Oct 2015 18:42:04 +0300 Marcel Apfelbaum <[email protected]> wrote:
Quoted 5 lines · Tony Krowiak

Commit 0a7cf217 ("util/qemu-config: fix regression of qmp_query_command_line_options") aimed to restore parsing of global machine options, but missed two: "aes-key-wrap" and "dea-key-wrap" (which were present in the initial version of that patch). Let's add them to the machine_opts again.

Quoted 7 lines

Adding qemu-devel

Hi,

I thought I hunted them all, anyway, thanks for adding them.

Thanks.

util/qemu-config.c yields -ENOMAINTAINER; any obvious tree for this to go through, or should I simply include this with the next batch of s390x patches (as these are s390x options)?

Quoted 32 lines
Quoted 31 lines
Fixes 0a7cf217
CC Marcel Apfelbaum <[email protected]>
---
  util/qemu-config.c |    8 ++++++++
  1 files changed, 8 insertions(+), 0 deletions(-)
util/qemu-config.c +8 -0
index 5fcfd0e..687fd34 100644
@@ -219,6 +219,14 @@ static QemuOptsList machine_opts = {
              .name = "suppress-vmdesc",
              .type = QEMU_OPT_BOOL,
              .help = "Set on to disable self-describing migration",
+        },{
+            .name = "aes-key-wrap",
+            .type = QEMU_OPT_BOOL,
+            .help = "enable/disable AES key wrapping using the CPACF wrapping key",
+        },{
+            .name = "dea-key-wrap",
+            .type = QEMU_OPT_BOOL,
+            .help = "enable/disable DEA key wrapping using the CPACF wrapping key",
          },
          { /* End of list */ }
      }
#3 lore raw
Quoted 16 lines · Cornelia Huck
Quoted 13 lines · On Mon, 12 Oct 2015 18:42:04 +0300 Marcel Apfelbaum <[email protected]> wrote:
Quoted 5 lines · Tony Krowiak

Commit 0a7cf217 ("util/qemu-config: fix regression of qmp_query_command_line_options") aimed to restore parsing of global machine options, but missed two: "aes-key-wrap" and "dea-key-wrap" (which were present in the initial version of that patch). Let's add them to the machine_opts again.

Adding qemu-devel

Hi,

I thought I hunted them all, anyway, thanks for adding them.

Quoted 8 lines
Quoted 1 line

Thanks.

util/qemu-config.c yields -ENOMAINTAINER; any obvious tree for this to go through, or should I simply include this with the next batch of s390x patches (as these are s390x options)?

Just take it to your tree.
Thanks!
Marcel

Quoted 33 lines
Quoted 32 lines
Quoted 31 lines
Fixes 0a7cf217
CC Marcel Apfelbaum <[email protected]>
---
   util/qemu-config.c |    8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)
util/qemu-config.c +8 -0
index 5fcfd0e..687fd34 100644
@@ -219,6 +219,14 @@ static QemuOptsList machine_opts = {
               .name = "suppress-vmdesc",
               .type = QEMU_OPT_BOOL,
               .help = "Set on to disable self-describing migration",
+        },{
+            .name = "aes-key-wrap",
+            .type = QEMU_OPT_BOOL,
+            .help = "enable/disable AES key wrapping using the CPACF wrapping key",
+        },{
+            .name = "dea-key-wrap",
+            .type = QEMU_OPT_BOOL,
+            .help = "enable/disable DEA key wrapping using the CPACF wrapping key",
           },
           { /* End of list */ }
       }
#4 lore raw
Quoted 21 lines · On Tue, 13 Oct 2015 16:46:29 +0300 Marcel Apfelbaum <[email protected]> wrote:
Quoted 20 lines · Cornelia Huck
Quoted 7 lines · On Mon, 12 Oct 2015 18:42:04 +0300 Marcel Apfelbaum <[email protected]> wrote:
Quoted 5 lines · Tony Krowiak

Commit 0a7cf217 ("util/qemu-config: fix regression of qmp_query_command_line_options") aimed to restore parsing of global machine options, but missed two: "aes-key-wrap" and "dea-key-wrap" (which were present in the initial version of that patch). Let's add them to the machine_opts again.

Quoted 7 lines

Adding qemu-devel

Hi,

I thought I hunted them all, anyway, thanks for adding them.

Thanks.

Quoted 13 lines
Quoted 4 lines

util/qemu-config.c yields -ENOMAINTAINER; any obvious tree for this to go through, or should I simply include this with the next batch of s390x patches (as these are s390x options)?

Just take it to your tree.
Thanks!
Marcel

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Fixes 0a7cf217

Fixed up that line to contain the subject as well and queued to my s390-next tree.

Quoted 30 lines
Quoted 29 lines
Quoted 28 lines
Quoted 27 lines
---
   util/qemu-config.c |    8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)
util/qemu-config.c +8 -0
index 5fcfd0e..687fd34 100644
@@ -219,6 +219,14 @@ static QemuOptsList machine_opts = {
               .name = "suppress-vmdesc",
               .type = QEMU_OPT_BOOL,
               .help = "Set on to disable self-describing migration",
+        },{
+            .name = "aes-key-wrap",
+            .type = QEMU_OPT_BOOL,
+            .help = "enable/disable AES key wrapping using the CPACF wrapping key",
+        },{
+            .name = "dea-key-wrap",
+            .type = QEMU_OPT_BOOL,
+            .help = "enable/disable DEA key wrapping using the CPACF wrapping key",
           },
           { /* End of list */ }
       }