cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-vl-make-boot_strict-variable-static-not-used-outside.patch

0a122b
From b3528ac97ab6b8f33179ed706f6fb09acf28d06a Mon Sep 17 00:00:00 2001
0a122b
From: Amos Kong <akong@redhat.com>
0a122b
Date: Tue, 14 Jan 2014 09:56:40 +0100
0a122b
Subject: [PATCH 16/16] vl: make boot_strict variable static (not used outside vl.c)
0a122b
0a122b
RH-Author: Amos Kong <akong@redhat.com>
0a122b
Message-id: <1389693400-21546-3-git-send-email-akong@redhat.com>
0a122b
Patchwork-id: 56653
0a122b
O-Subject: [RHEL-7.0 qemu-kvm PATCH 2/2] vl: make boot_strict variable static (not used outside vl.c)
0a122b
Bugzilla: 997817
0a122b
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
0a122b
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
0a122b
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
0a122b
0a122b
From: Michael Tokarev <mjt@tls.msk.ru>
0a122b
0a122b
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
0a122b
Reviewed-by: Amos Kong <akong@redhat.com>
0a122b
(cherry picked from commit 6f2bfda35cf1c7b8a5913570b808396ab9299873)
0a122b
---
0a122b
 vl.c |    2 +-
0a122b
 1 files changed, 1 insertions(+), 1 deletions(-)
0a122b
0a122b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
0a122b
---
0a122b
 vl.c |    2 +-
0a122b
 1 files changed, 1 insertions(+), 1 deletions(-)
0a122b
0a122b
diff --git a/vl.c b/vl.c
0a122b
index 11899dc..5aea00c 100644
0a122b
--- a/vl.c
0a122b
+++ b/vl.c
0a122b
@@ -232,7 +232,7 @@ int ctrl_grab = 0;
0a122b
 unsigned int nb_prom_envs = 0;
0a122b
 const char *prom_envs[MAX_PROM_ENVS];
0a122b
 int boot_menu;
0a122b
-bool boot_strict;
0a122b
+static bool boot_strict;
0a122b
 uint8_t *boot_splash_filedata;
0a122b
 size_t boot_splash_filedata_size;
0a122b
 uint8_t qemu_extra_params_fw[2];
0a122b
-- 
0a122b
1.7.1
0a122b