From 490c0121b8cd1de62776c18a0843a256b7eed3e3 Mon Sep 17 00:00:00 2001 From: "plai@redhat.com" Date: Tue, 26 Nov 2019 19:36:51 +0000 Subject: [PATCH 07/11] kvm: add call to qemu_add_opts() for -overcommit option RH-Author: plai@redhat.com Message-id: <1574797015-32564-4-git-send-email-plai@redhat.com> Patchwork-id: 92694 O-Subject: [RHEL8.2 qemu-kvm PATCH 3/7] kvm: add call to qemu_add_opts() for -overcommit option Bugzilla: 1634827 RH-Acked-by: Eduardo Habkost RH-Acked-by: Michael S. Tsirkin RH-Acked-by: Igor Mammedov From: Prasad Singamsetty qemu command fails to process -overcommit option. Add the missing call to qemu_add_opts() in vl.c. Signed-off-by: Prasad Singamsetty Message-Id: <20180815175704.105902-1-prasad.singamsetty@oracle.com> Reviewed-by: Mark Kanda Signed-off-by: Paolo Bonzini (cherry picked from commit 1fdd4748711a62d863744f42b958472509a6f202) Signed-off-by: Paul Lai Signed-off-by: Danilo C. L. de Paula --- vl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vl.c b/vl.c index 3cee95f..932c1cf 100644 --- a/vl.c +++ b/vl.c @@ -3145,6 +3145,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); -- 1.8.3.1