thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

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

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