Skip to contentSkip to conversation

kvm: add call to qemu_add_opts() for -overcommit option

PATCH Applied [email protected] 4 participants 4 messages Aug 15, 2018 – Sep 3, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm: add call to qemu_add_opts() for -overcommit option

From: Prasad Singamsetty <[email protected]>

qemu command fails to process -overcommit option. Add the missing call to qemu_add_opts() in vl.c.

---
 vl.c | 1 +
 1 file changed, 1 insertion(+)
vl.c +1 -0
index 16b913f9d5..12d27fa028 100644
@@ -2987,6 +2987,7 @@ int main(int argc, char **argv, char **envp)
     qemu_add_opts(&qemu_object_opts);
     qemu_add_opts(&qemu_tpmdev_opts);
     qemu_add_opts(&qemu_realtime_opts);
+    qemu_add_opts(&qemu_overcommit_opts);
     qemu_add_opts(&qemu_msg_opts);
     qemu_add_opts(&qemu_name_opts);
     qemu_add_opts(&qemu_numa_opts);
Signature · 1 line
2.14.0-rc1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · On 8/15/2018 12:57 PM, [email protected] wrote:

From: Prasad Singamsetty <[email protected]>

qemu command fails to process -overcommit option. Add the missing call to qemu_add_opts() in vl.c.

Quoted 17 lines
---
  vl.c | 1 +
  1 file changed, 1 insertion(+)
vl.c +1 -0
index 16b913f9d5..12d27fa028 100644
@@ -2987,6 +2987,7 @@ int main(int argc, char **argv, char **envp)
      qemu_add_opts(&qemu_object_opts);
      qemu_add_opts(&qemu_tpmdev_opts);
      qemu_add_opts(&qemu_realtime_opts);
+    qemu_add_opts(&qemu_overcommit_opts);
      qemu_add_opts(&qemu_msg_opts);
      qemu_add_opts(&qemu_name_opts);
      qemu_add_opts(&qemu_numa_opts);
#2 lore raw
In reply to [email protected]
Quoted 16 lines · On 15/08/2018 19:57, [email protected] wrote:

From: Prasad Singamsetty <[email protected]>

qemu command fails to process -overcommit option. Add the missing call to qemu_add_opts() in vl.c.

---
 vl.c | 1 +
 1 file changed, 1 insertion(+)
vl.c +0 -0
index 16b913f9d5..12d27fa028 100644

vl.c int main(int argc, char **argv, char **envp) · line 2993

Quoted 7 lines
vl.c +1 -0
@@ -2987,6 +2987,7 @@ int main(int argc, char **argv, char **envp)
     qemu_add_opts(&qemu_object_opts);
     qemu_add_opts(&qemu_tpmdev_opts);
     qemu_add_opts(&qemu_realtime_opts);
+    qemu_add_opts(&qemu_overcommit_opts);
     qemu_add_opts(&qemu_msg_opts);
     qemu_add_opts(&qemu_name_opts);
     qemu_add_opts(&qemu_numa_opts);

Queued, thanks.

Paolo

#3 lore raw
In reply to [email protected]
Quoted 16 lines · On 2018-08-15 19:57, [email protected] wrote:

From: Prasad Singamsetty <[email protected]>

qemu command fails to process -overcommit option. Add the missing call to qemu_add_opts() in vl.c.

---
 vl.c | 1 +
 1 file changed, 1 insertion(+)
vl.c +0 -0
index 16b913f9d5..12d27fa028 100644

vl.c int main(int argc, char **argv, char **envp) · line 2993

Quoted 7 lines
vl.c +1 -0
@@ -2987,6 +2987,7 @@ int main(int argc, char **argv, char **envp)
     qemu_add_opts(&qemu_object_opts);
     qemu_add_opts(&qemu_tpmdev_opts);
     qemu_add_opts(&qemu_realtime_opts);
+    qemu_add_opts(&qemu_overcommit_opts);
     qemu_add_opts(&qemu_msg_opts);
     qemu_add_opts(&qemu_name_opts);
     qemu_add_opts(&qemu_numa_opts);

I think this should go into the stable release as well.

Thomas