i386: move cpu_load_efer into SOFTMMU-only section of cpu.h

cpu_load_efer is now used only for softmmu code.

Therefore, make this inline function not visible anymore
in CONFIG_USER_ONLY builds.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Message-Id: <20210218172156.25520-18-cfontana@suse.de>
117 jobs for review/i386-cleanups-v20 in 78 minutes and 29 seconds (queued for 4 seconds)
latest
Status Name Job ID Coverage
  Containers
passed amd64-alpine-container #1045266197

00:02:36

passed amd64-centos7-container #1045266198

00:02:45

passed amd64-centos8-container #1045266199

00:02:40

passed amd64-debian10-container #1045266200

00:02:39

passed amd64-debian11-container #1045266201

00:02:22

passed amd64-fedora-container #1045266204

00:14:54

passed amd64-opensuse-leap-container #1045266212

00:02:51

passed amd64-ubuntu-container #1045266211

00:02:55

passed amd64-ubuntu1804-container #1045266209

00:02:54

passed amd64-ubuntu2004-container #1045266210

00:03:09

passed cris-fedora-cross-container #1045266203

00:02:31

passed docker-edk2 #1045266195

00:01:24

passed docker-opensbi #1045266196

00:01:25

passed i386-fedora-cross-container #1045266206

00:02:36

passed win32-fedora-cross-container #1045266207

00:06:04

passed win64-fedora-cross-container #1045266208

00:05:48

passed xtensa-debian-cross-container #1045266202

00:02:33

 
  Containers Layer2
passed alpha-debian-cross-container #1045266213

00:02:41

passed amd64-debian-container #1045266216

00:03:15

passed amd64-debian-cross-container #1045266214

00:02:49

passed amd64-debian-user-cross-container #1045266215

00:03:20

passed arm64-debian-cross-container #1045266217

00:02:59

passed arm64-test-debian-cross-container #1045266218

00:02:39

passed armel-debian-cross-container #1045266219

00:02:55

passed armhf-debian-cross-container #1045266220

00:02:54

passed hppa-debian-cross-container #1045266221

00:02:44

passed m68k-debian-cross-container #1045266222

00:02:42

passed mips-debian-cross-container #1045266225

00:02:52

passed mips64-debian-cross-container #1045266223

00:02:41

passed mips64el-debian-cross-container #1045266224

00:02:51

passed mipsel-debian-cross-container #1045266226

00:02:53

passed powerpc-debian-cross-container #1045266227

00:02:41

passed ppc64-debian-cross-container #1045266228

00:02:42

passed ppc64el-debian-cross-container #1045266229

00:02:53

passed riscv64-debian-cross-container #1045266230

00:02:40

passed s390x-debian-cross-container #1045266231

00:02:56

passed sh4-debian-cross-container #1045266232

00:02:42

passed sparc64-debian-cross-container #1045266233

00:02:42

passed tricore-debian-cross-container #1045266234

00:02:41

 
  Build
passed build-coroutine-sigaltstack #1045266286

00:15:34

passed build-coroutine-ucontext #1045266285

00:16:49

passed build-crypto-old-gcrypt #1045266289

00:12:43

passed build-crypto-old-nettle #1045266287

00:12:16

passed build-crypto-only-gnutls #1045266290

00:12:33

passed build-deprecated #1045266280

00:13:43

passed build-disabled #1045266269

00:28:08

passed build-edk2 #1045266235

00:40:58

passed build-libvhost-user #1045266300

00:03:14

passed build-opensbi #1045266237

00:00:53

passed build-oss-fuzz #1045266282

00:44:43

passed build-some-softmmu #1045266273

00:14:34

passed build-some-softmmu-plugins #1045266276

00:23:33

passed build-system-alpine #1045266262

00:37:10

passed build-system-centos #1045266267

00:21:26

passed build-system-debian #1045266264

00:30:45

passed build-system-fedora #1045266266

00:28:18

passed build-system-opensuse #1045266268

00:19:27

passed build-system-ubuntu #1045266263

00:29:54

passed build-tcg-disabled #1045266270

00:21:17

passed build-tci #1045266284

00:33:57

passed build-tools-and-docs-debian #1045266265

00:09:04

passed build-trace-ftrace-system #1045266292

00:15:12

failed build-trace-multi-user #1045266291

00:03:07

passed build-trace-ust-system #1045266293

00:22:36

failed build-user #1045266271

00:03:35

failed build-user-centos7 #1045266275

00:02:30

failed build-user-plugins #1045266274

00:03:16

failed build-user-static #1045266272

00:03:23

passed build-without-default-devices #1045266295

00:48:28

passed build-without-default-features #1045266296

00:44:53

passed check-dco #1045266298

00:01:12

failed check-patch #1045266297
allowed to fail

00:01:14

passed clang-system #1045266277

00:45:26

failed clang-user #1045266278

00:03:35

passed cross-amd64-xen-only #1045266260

00:13:18

passed cross-arm64-system #1045266243

00:51:49

failed cross-arm64-user #1045266244

00:02:40

passed cross-arm64-xen-only #1045266261

00:15:42

passed cross-armel-system #1045266238

00:48:47

failed cross-armel-user #1045266240

00:02:37

passed cross-armhf-system #1045266241

00:48:43

failed cross-armhf-user #1045266242

00:02:37

passed cross-i386-system #1045266245

00:52:44

failed cross-i386-user #1045266246

00:02:21

passed cross-mips-system #1045266247

00:54:00

failed cross-mips-user #1045266248

00:02:35

passed cross-mips64el-system #1045266251

00:52:34

failed cross-mips64el-user #1045266252

00:02:36

passed cross-mipsel-system #1045266249

00:53:22

failed cross-mipsel-user #1045266250

00:02:36

passed cross-ppc64el-system #1045266253

00:50:59

failed cross-ppc64el-user #1045266254

00:02:41

passed cross-s390x-kvm-only #1045266257

00:10:38

passed cross-s390x-system #1045266255

00:46:26

failed cross-s390x-user #1045266256

00:02:36

passed cross-win32-system #1045266258

00:57:52

passed cross-win64-system #1045266259

01:12:21

passed gprof-gcov #1045266281

00:46:46

passed tsan-build #1045266279

00:38:19

 
  Test
passed acceptance-system-alpine #1045266305

00:10:29

passed acceptance-system-centos #1045266321

00:17:31

passed acceptance-system-debian #1045266314

00:07:37

passed acceptance-system-fedora #1045266318

00:08:01

passed acceptance-system-opensuse #1045266323

00:20:03

passed acceptance-system-ubuntu #1045266309

00:11:56

passed check-crypto-old-gcrypt #1045266326

00:09:02

passed check-crypto-old-nettle #1045266325

00:09:02

passed check-crypto-only-gnutls #1045266327

00:08:27

passed check-deprecated #1045266324

00:03:16

passed check-system-alpine #1045266303

00:08:27

passed check-system-centos #1045266320

00:10:23

passed check-system-debian #1045266311

00:18:08

passed check-system-fedora #1045266316

00:10:19

passed check-system-opensuse #1045266322

00:14:21

passed check-system-ubuntu #1045266307

00:14:15

passed pages #1045266328

00:09:31

 
  Deploy
passed pages:deploy

00:14:41

 
Name Stage Failure
failed
build-user-centos7 Build
Program keycodemapdb/tools/keymap-gen found: YES
Program scripts/decodetree.py found: YES
Program nm found: YES
Program scripts/undefsym.py found: YES
Program scripts/feature_to_c.sh found: YES

../meson.build:2136:4: ERROR: Key hexagon is not in dict
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
cross-mips-user Build

../meson.build:2136:4: ERROR: Key hexagon is not in dict

A full log can be found at /builds/stsquad/qemu/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
cross-mips64el-user Build

../meson.build:2136:4: ERROR: Key hexagon is not in dict

A full log can be found at /builds/stsquad/qemu/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
check-patch Build
a6b23532e2d237f89e604012c1a6c3b7cd1e3e6b:134: WARNING: Block comments use a leading /* on a separate line
a6b23532e2d237f89e604012c1a6c3b7cd1e3e6b:187: WARNING: Block comments use a leading /* on a separate line
a6b23532e2d237f89e604012c1a6c3b7cd1e3e6b:201: WARNING: Block comments use a leading /* on a separate line
a6b23532e2d237f89e604012c1a6c3b7cd1e3e6b:217: WARNING: Block comments use a leading /* on a separate line
a6b23532e2d237f89e604012c1a6c3b7cd1e3e6b:307: WARNING: Block comments use a leading /* on a separate line
total: 0 errors, 7 warnings, 895 lines checked
❌ FAIL one or more commits failed scripts/checkpatch.pl
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
cross-i386-user Build

../meson.build:2136:4: ERROR: Key hexagon is not in dict

A full log can be found at /builds/stsquad/qemu/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
cross-armel-user Build

../meson.build:2136:4: ERROR: Key hexagon is not in dict

A full log can be found at /builds/stsquad/qemu/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
cross-arm64-user Build

../meson.build:2136:4: ERROR: Key hexagon is not in dict

A full log can be found at /builds/stsquad/qemu/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
cross-armhf-user Build

../meson.build:2136:4: ERROR: Key hexagon is not in dict

A full log can be found at /builds/stsquad/qemu/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
build-user-plugins Build
Program keycodemapdb/tools/keymap-gen found: YES
Program scripts/decodetree.py found: YES
Program nm found: YES
Program scripts/undefsym.py found: YES
Program scripts/feature_to_c.sh found: YES

../meson.build:2136:4: ERROR: Key hexagon is not in dict
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
cross-s390x-user Build

../meson.build:2136:4: ERROR: Key hexagon is not in dict

A full log can be found at /builds/stsquad/qemu/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
build-trace-multi-user Build
Program keycodemapdb/tools/keymap-gen found: YES
Program scripts/decodetree.py found: YES
Program nm found: YES
Program scripts/undefsym.py found: YES
Program scripts/feature_to_c.sh found: YES

../meson.build:2136:4: ERROR: Key hexagon is not in dict
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
cross-mipsel-user Build

../meson.build:2136:4: ERROR: Key hexagon is not in dict

A full log can be found at /builds/stsquad/qemu/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
cross-ppc64el-user Build

../meson.build:2136:4: ERROR: Key hexagon is not in dict

A full log can be found at /builds/stsquad/qemu/build/meson-logs/meson-log.txt

ERROR: meson setup failed

Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
build-user-static Build
Program keycodemapdb/tools/keymap-gen found: YES
Program scripts/decodetree.py found: YES
Program nm found: YES
Program scripts/undefsym.py found: YES
Program scripts/feature_to_c.sh found: YES

../meson.build:2136:4: ERROR: Key hexagon is not in dict
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
build-user Build
Program keycodemapdb/tools/keymap-gen found: YES
Program scripts/decodetree.py found: YES
Program nm found: YES
Program scripts/undefsym.py found: YES
Program scripts/feature_to_c.sh found: YES

../meson.build:2136:4: ERROR: Key hexagon is not in dict
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
clang-user Build
Program keycodemapdb/tools/keymap-gen found: YES
Program scripts/decodetree.py found: YES
Program nm found: YES
Program scripts/undefsym.py found: YES
Program scripts/feature_to_c.sh found: YES

../meson.build:2136:4: ERROR: Key hexagon is not in dict
Cleaning up file based variables
ERROR: Job failed: exit code 1