Skip to contentSkip to conversation

Remove old global variable smp_cpus

PATCH In review Stefan Weil 2 participants 2 messages Jul 12, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove old global variable smp_cpus

---
 include/sysemu/sysemu.h | 1 -
 1 file changed, 1 deletion(-)
include/sysemu/sysemu.h +0 -1
index 984c439ac9..9b849cb770 100644
@@ -103,7 +103,6 @@ extern const char *keyboard_layout;
 extern int win2k_install_hack;
 extern int alt_grab;
 extern int ctrl_grab;
-extern int smp_cpus;
 extern unsigned int max_cpus;
 extern int cursor_hide;
 extern int graphic_rotate;
Signature · 1 line
2.20.1
#1 lore raw

Le 12/07/2019 à 15:19, Stefan Weil a écrit :

Quoted 11 lines
---
 include/sysemu/sysemu.h | 1 -
 1 file changed, 1 deletion(-)
include/sysemu/sysemu.h +0 -0
index 984c439ac9..9b849cb770 100644

include/sysemu/sysemu.h extern const char *keyboard_layout; · line 108

Quoted 7 lines
include/sysemu/sysemu.h +0 -1
@@ -103,7 +103,6 @@ extern const char *keyboard_layout;
 extern int win2k_install_hack;
 extern int alt_grab;
 extern int ctrl_grab;
-extern int smp_cpus;
 extern unsigned int max_cpus;
 extern int cursor_hide;
 extern int graphic_rotate;
Fixes a5e0b331193a ("vl.c: Replace smp global variables with smp

machine properties")

I thin you can also remove max_cpus.

Thanks,
Laurent