yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-add-call-to-qemu_add_opts-for-overcommit-option.patch

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