Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.03] qemu: 2.11.1 -> 2.11.2 #45136

Merged
merged 1 commit into from Aug 17, 2018
Merged

[18.03] qemu: 2.11.1 -> 2.11.2 #45136

merged 1 commit into from Aug 17, 2018

Conversation

andir
Copy link
Member

@andir andir commented Aug 16, 2018

Motivation for this change

This is a bugfix release that also allows (more) Spectre migitations.
In particular for CVE-2018-3639 (Spectre v4).
CVE-2018-7550 is also addressed,

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

This is a bugfix release that also allows (more) Spectre migitations.
In particular for CVE-2018-3639 (Spectre v4).
CVE-2018-7550 is also addressed,
@andir andir changed the title qemu: 2.11.1 -> 2.11.2 [18.03] qemu: 2.11.1 -> 2.11.2 Aug 16, 2018
@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: qemu

Partial log (click to expand)

install -d -m 0755 "/nix/store/am4znxfnamkrrirf59v6p206b8b2b36m-qemu-2.11.2/bin"
install -c -m 0755 qemu-system-xtensaeb  "/nix/store/am4znxfnamkrrirf59v6p206b8b2b36m-qemu-2.11.2/bin"
strip "/nix/store/am4znxfnamkrrirf59v6p206b8b2b36m-qemu-2.11.2/bin/qemu-system-xtensaeb"
glibPreFixupPhase
post-installation fixup
gzipping man pages under /nix/store/am4znxfnamkrrirf59v6p206b8b2b36m-qemu-2.11.2/share/man/
strip is /nix/store/q4mjflkrrpvajlawjngyr0d1bhpyb5ij-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/am4znxfnamkrrirf59v6p206b8b2b36m-qemu-2.11.2/bin
patching script interpreter paths in /nix/store/am4znxfnamkrrirf59v6p206b8b2b36m-qemu-2.11.2
/nix/store/am4znxfnamkrrirf59v6p206b8b2b36m-qemu-2.11.2

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: qemu

Partial log (click to expand)

  CC      mipsn32-linux-user/tcg/tcg-op.o
  CC      mipsn32el-linux-user/tcg/tcg-op.o
  CC      mipsn32-linux-user/tcg/optimize.o
  CC      mipsn32el-linux-user/tcg/optimize.o
  CC      mipsn32-linux-user/tcg/tcg-common.o
  CC      mipsn32-linux-user/fpu/softfloat.o
  CC      mipsn32el-linux-user/tcg/tcg-common.o
  CC      mipsn32el-linux-user/fpu/softfloat.o
building of '/nix/store/7c6szsia7379j2rg3knmk4r6v7gxh6yp-qemu-2.11.2.drv' timed out after 1800 seconds
error: build of '/nix/store/7c6szsia7379j2rg3knmk4r6v7gxh6yp-qemu-2.11.2.drv' failed

@GrahamcOfBorg
Copy link

Timed out, unknown build status on aarch64-linux (full log)

Attempted: qemu

Partial log (click to expand)

  CC      sparc32plus-linux-user/accel/tcg/user-exec-stub.o
  CC      sparc32plus-linux-user/accel/tcg/user-exec.o
  CC      sparc32plus-linux-user/accel/tcg/translate-all.o
  CC      sparc32plus-linux-user/accel/tcg/cpu-exec-common.o
  CC      sparc32plus-linux-user/accel/tcg/cpu-exec.o
  CC      sparc32plus-linux-user/accel/tcg/tcg-runtime.o
  CC      sparc32plus-linux-user/accel/stubs/hax-stub.o
  CC      sparc32plus-linux-user/accel/stubs/kvm-stub.o
building of '/nix/store/m5yjhrpp81rwx2fd8zhvv33d3yrslbdy-qemu-2.11.2.drv' timed out after 3600 seconds
error: build of '/nix/store/m5yjhrpp81rwx2fd8zhvv33d3yrslbdy-qemu-2.11.2.drv' failed

@andir
Copy link
Member Author

andir commented Aug 16, 2018

Lets see if we can build a Qemu just for local VM tests faster then the full thing...

@GrahamcOfBorg test simple

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: tests.simple

Partial log (click to expand)

machine# [  132.909667] systemd-shutdown[1]: Detaching DM devices.
machine# [  132.950853] ACPI: Preparing to enter system sleep state S5
machine# [  132.954492] reboot: Power down
vde_switch: EOF data port: Interrupted system call
collecting coverage data
syncing
test script finished in 136.97s
vde_switch: EOF on stdin, cleaning up and exiting
cleaning up
/nix/store/8vwpigspygbazxg8w0392bmwjdngirha-vm-test-run-simple

@GrahamcOfBorg
Copy link

Timed out, unknown build status on aarch64-linux (full log)

Attempted: tests.simple

Partial log (click to expand)

  CC      hw/char/cmsdk-apb-uart.o
  CC      hw/char/imx_serial.o
  CC      hw/core/qdev.o
building of '/nix/store/vg750zpnpmx6njhvrynl4wm9g4sfrpih-qemu-host-cpu-only-for-vm-tests-2.11.2.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/6izfdzkv2wy60wwq38xm5yr3qbvhash9-nixos-test-driver.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/gv4w3i96034i88xcdkj0azmgxc8ivzk0-run-nixos-vm.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ksm7wqkg3w35v45v1vcdrgahac5k9qaq-nixos-vm.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dchrivns3kl65crdqd3mbq0dxjxnshx0-nixos-test-driver-simple.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/1aaxyqq9bf3ps9h0s2if382mlg8rdwdj-vm-test-run-simple.drv': 1 dependencies couldn't be built
error: build of '/nix/store/1aaxyqq9bf3ps9h0s2if382mlg8rdwdj-vm-test-run-simple.drv' failed

@andir
Copy link
Member Author

andir commented Aug 17, 2018

Lets try this again...

@GrahamcOfBorg test simple

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: tests.simple

Partial log (click to expand)

machine# [    6.246662] systemd-shutdown[1]: Detaching DM devices.
machine# [    6.249725] ACPI: Preparing to enter system sleep state S5
machine# [    6.250530] reboot: Power down
vde_switch: EOF data port: Interrupted system call
/nix/store/6n7mb5a3g06dqb2kdh54m5nbmvb9gnlz-vm-test-run-simple
collecting coverage data
syncing
test script finished in 7.19s
vde_switch: EOF on stdin, cleaning up and exiting
cleaning up

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: tests.simple

Partial log (click to expand)

machine# [   20.170814] systemd-shutdown[1]: All loop devices detached.
machine# [   20.175194] systemd-shutdown[1]: Detaching DM devices.
machine# [   20.200498] reboot: Power down
vde_switch: EOF data port: Interrupted system call
collecting coverage data
syncing
test script finished in 20.97s
vde_switch: EOF on stdin, cleaning up and exiting
cleaning up
/nix/store/wnlayizdqbl9lcw75m2519k1w4swwzra-vm-test-run-simple

@andir andir merged commit b3432db into NixOS:release-18.03 Aug 17, 2018
@andir andir deleted the 18.03/qemu branch August 17, 2018 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants