New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 618431 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature



Sign in to add a comment

qemu: build system/softmmu binaries statically too

Project Member Reported by vapier@chromium.org, Jun 8 2016

Issue description

we want to run the system programs outside of the chroot for a few reasons, but doing so requires building with USE=static-softmmu, so let's enable that

alternatively, we could look into generating a standalone package like we do with the cross-compiler, but this might be simpler for all the different moving pieces ...
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 9 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/84ab8658b2abecea1513aab68d8145d926399b99

commit 84ab8658b2abecea1513aab68d8145d926399b99
Author: Mike Frysinger <vapier@chromium.org>
Date: Wed Jun 08 20:06:09 2016

libusb: upgraded package to upstream

Upgraded dev-libs/libusb to version 1.0.20 for all.
Upgraded virtual/libusb to version 1-r2 for all.

This is needed by newer qemu.

BUG= chromium:618431 
TEST=precq passes
TEST=building statically w/usb support allows passthru of devices

Change-Id: Ia993988cbd27757ce043f345f90d830faab1d814
Reviewed-on: https://chromium-review.googlesource.com/351050
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>

[modify] https://crrev.com/84ab8658b2abecea1513aab68d8145d926399b99/dev-libs/libusb/Manifest
[add] https://crrev.com/84ab8658b2abecea1513aab68d8145d926399b99/virtual/libusb/libusb-1-r2.ebuild
[rename] https://crrev.com/84ab8658b2abecea1513aab68d8145d926399b99/dev-libs/libusb/libusb-1.0.20.ebuild
[modify] https://crrev.com/84ab8658b2abecea1513aab68d8145d926399b99/dev-libs/libusb/metadata.xml
[modify] https://crrev.com/84ab8658b2abecea1513aab68d8145d926399b99/virtual/libusb/metadata.xml
[delete] https://crrev.com/a714c5ea5fef9bd08cdb5547505bd5db4c8343c1/virtual/libusb/libusb-1-r1.ebuild

Project Member

Comment 2 by bugdroid1@chromium.org, Jun 9 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/a714c5ea5fef9bd08cdb5547505bd5db4c8343c1

commit a714c5ea5fef9bd08cdb5547505bd5db4c8343c1
Author: Mike Frysinger <vapier@chromium.org>
Date: Wed Jun 08 20:17:03 2016

qemu: pull in upstream static curl/ssl linking fix

BUG= chromium:618431 
TEST=precq passes
TEST=building statically w/usb support allows passthru of devices

Change-Id: Id38f52df01ad7f0b3652ade83aac0f2827332c17
Reviewed-on: https://chromium-review.googlesource.com/351060
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>

[modify] https://crrev.com/a714c5ea5fef9bd08cdb5547505bd5db4c8343c1/app-emulation/qemu/qemu-2.6.0.ebuild
[modify] https://crrev.com/a714c5ea5fef9bd08cdb5547505bd5db4c8343c1/app-emulation/qemu/files/qemu-binfmt.initd-r1
[add] https://crrev.com/a714c5ea5fef9bd08cdb5547505bd5db4c8343c1/app-emulation/qemu/files/qemu-2.6.0-crypto-static.patch

Project Member

Comment 3 by bugdroid1@chromium.org, Aug 3 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/1a8ebff2fb1ff2e89f6c081686909df24bd80f21

commit 1a8ebff2fb1ff2e89f6c081686909df24bd80f21
Author: Mike Frysinger <vapier@chromium.org>
Date: Wed Jun 08 20:23:58 2016

curl: upgraded package to upstream

Upgraded net-misc/curl to version 7.49.1 for all.
This includes a linking/static fix that qemu needs.

BUG= chromium:618431 
TEST=precq passes

Change-Id: I7325bfe7e56681efb1d4f2ccde4b9043b81ccb39
Reviewed-on: https://chromium-review.googlesource.com/351080
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>

[modify] https://crrev.com/1a8ebff2fb1ff2e89f6c081686909df24bd80f21/net-misc/curl/Manifest
[rename] https://crrev.com/1a8ebff2fb1ff2e89f6c081686909df24bd80f21/net-misc/curl/curl-7.49.1.ebuild

Comment 4 by vapier@chromium.org, Sep 28 2016

Status: Fixed (was: Started)
Project Member

Comment 5 by bugdroid1@chromium.org, Sep 28 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/ec533b1881f9792d5c7d4ea25694d53cb2e4474e

commit ec533b1881f9792d5c7d4ea25694d53cb2e4474e
Author: Mike Frysinger <vapier@chromium.org>
Date: Wed Jun 08 20:52:52 2016

qemu: build system binaries statically

This makes the programs usable outside of the chroot, and by other
systems that want recent versions of qemu.

BUG= chromium:618431 
TEST=precq passes

Change-Id: Ia43799420d31c36e4fa144c711a0cc431fab46b9
Reviewed-on: https://chromium-review.googlesource.com/351861
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>

[modify] https://crrev.com/ec533b1881f9792d5c7d4ea25694d53cb2e4474e/profiles/default/linux/package.use

Project Member

Comment 6 by bugdroid1@chromium.org, Oct 1 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/crosutils/+/c55ab68898511ab62aae3d36a86d0d7edce40939

commit c55ab68898511ab62aae3d36a86d0d7edce40939
Author: Nicolas Norvez <norvez@chromium.org>
Date: Fri Sep 23 15:17:14 2016

cros_vm: use the SDK's version of qemu

By default, use the version of qemu shipped with the SDK rather than the
default one shipped with the system that may not support all required features
(e.g. support for virtio_gpu).
This also gives us a more consistent behaviour when VMs are deployed on
different hosts with different versions of qemu.
Requires CL:351861 so qemu can be used from outside the chroot.

BUG= chromium:618431 
BUG= chromium:636309 
TEST=cbuildbot --remote cyan-android-pfq after applying CL:389132 to
enable VM tests.
TEST=cros_run_vm_update --qemu_binary='xxxx' and check that the correct
qemu binary gets picked.
CQ-DEPEND=CL:351861

Change-Id: Ibd7e120229b0a64b3d38a7cb779d5efbdd8914bd
Reviewed-on: https://chromium-review.googlesource.com/389152
Commit-Ready: Nicolas Norvez <norvez@chromium.org>
Tested-by: Nicolas Norvez <norvez@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>

[modify] https://crrev.com/c55ab68898511ab62aae3d36a86d0d7edce40939/lib/cros_vm_lib.sh

Project Member

Comment 7 by bugdroid1@chromium.org, Oct 1 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/crosutils/+/c55ab68898511ab62aae3d36a86d0d7edce40939

commit c55ab68898511ab62aae3d36a86d0d7edce40939
Author: Nicolas Norvez <norvez@chromium.org>
Date: Fri Sep 23 15:17:14 2016

cros_vm: use the SDK's version of qemu

By default, use the version of qemu shipped with the SDK rather than the
default one shipped with the system that may not support all required features
(e.g. support for virtio_gpu).
This also gives us a more consistent behaviour when VMs are deployed on
different hosts with different versions of qemu.
Requires CL:351861 so qemu can be used from outside the chroot.

BUG= chromium:618431 
BUG= chromium:636309 
TEST=cbuildbot --remote cyan-android-pfq after applying CL:389132 to
enable VM tests.
TEST=cros_run_vm_update --qemu_binary='xxxx' and check that the correct
qemu binary gets picked.
CQ-DEPEND=CL:351861

Change-Id: Ibd7e120229b0a64b3d38a7cb779d5efbdd8914bd
Reviewed-on: https://chromium-review.googlesource.com/389152
Commit-Ready: Nicolas Norvez <norvez@chromium.org>
Tested-by: Nicolas Norvez <norvez@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>

[modify] https://crrev.com/c55ab68898511ab62aae3d36a86d0d7edce40939/lib/cros_vm_lib.sh

Comment 8 by dchan@chromium.org, Oct 7 2016

Labels: VerifyIn-55

Comment 9 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 10 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 11 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 12 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 13 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 15 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)
Status: Fixed (was: Archived)

Sign in to add a comment