Commit graph

7280 commits

Author SHA1 Message Date
Oystein Eftevaag
603b90d31e Upstream changes to ProtoTube
Changes needed to pass ProtoTubes over Tubes.

Bug: 292136226
Change-Id: I0e31f761e088ac128bd585a8c102a7841b89e52b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4750299
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: Oystein Eftevaag <oysteine@chromium.org>
2023-08-07 19:35:33 +00:00
Noah Gold
654447f562 hypervisor: stop calling WHvSuspendPartitionTime.
In Vcpu::on_suspend for WHPX, we were calling WHvSuspendPartitionTime
which didn't make sense for several reasons:
* on_suspend is intended to help with guest timekeeping. We don't need
  this on WHPX because the clock is managed via virtio-pvclock.
* WHvSuspendPartitionTime is a partition (read: VM) wide operation.
  That means it should be called once on the VM, not on every VCPU.
  Calling it on every VCPU yields errors on subsequent VCPUs.

BUG=b:294134741
TEST=ran virtio-pvclock enabled VM across a S3 and S4 host suspend. No
complaints from the guest kernel in the serial logs.

Change-Id: Ic5f71d277bf393db74e809cf8e0de3d95b4f895b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4752840
Reviewed-by: Colin Downs-Razouk <colindr@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Noah Gold <nkgold@google.com>
2023-08-07 18:46:41 +00:00
Noah Gold
7b5a98de2b devices: fix vsock feature acks.
Previously we were masking bits off rather than appending them.

BUG=none
TEST=builds

Change-Id: Ia49f39c6dcbf8af83f102a7c999c86902f125ff5
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4753007
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Auto-Submit: Noah Gold <nkgold@google.com>
2023-08-07 18:16:50 +00:00
Alyssa Ross
6795b3edf3 vmm_vhost: renumber SHARED_MEMORY_REGIONS
0x0002_0000 is now standardized as VHOST_USER_PROTOCOL_F_XEN_MMAP[1].
Renumber SHARED_MEMORY_REGIONS to an available value to avoid
interoperability problems with other vhost-user implementations.

(It would be nice if VHOST_USER_PROTOCOL_F_SHARED_MEMORY was
standardised, to avoid this problem in future!)

[1]: f21e95ee97

TEST=run crosvm vhost-user-gpu device with cross domain

Change-Id: I56c36e5ef75b68fd4244dee1206a2cd1bee7c452
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4727935
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-07 17:41:47 +00:00
Alyssa Ross
708fb72f3b rutabaga_gfx/ffi: fix installing on Linux
* If $(DESTDIR)$(libdir) wasn't already a directory, the library
   would be installed to that path, rather than inside that directory.

 * The unversioned library links would be installed directly into
   prefix rather than into libdir, where nothing would find them.

TEST=make install with prefix pointing to an empty/non-existent path.

Change-Id: If6e2844e0d854a53dd61a88b02f91334f3311eeb
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4754156
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
2023-08-07 17:36:04 +00:00
Ryuichiro Chiba
956ad28a20 devices: usb: Support Bulk Streams
This CL introduces support for Bulk Streams (USB3.2 spec Rev.1.1 Section
4.4.6.4).
At this point, we only support Linear Streams Array for Stream Context
Array structure (see xHCI spec Rev.1.2 Section 4.12.2) and up to 16 streams.

BUG=b:242816284
TEST=`./tools/dev_container ./tools/presubmit`
TEST=Confirmed a UAS device (Samsung PSSD T7) worked on refvm

Change-Id: I3186cc33ca04d52b9a090bbf5e08f4f04617ea28
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4712778
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Morg <morg@google.com>
Commit-Queue: Ryuichiro Chiba <chibar@chromium.org>
2023-08-07 08:39:35 +00:00
Ryuichiro Chiba
4909eae6b1 devices: usb: Refactor codes for dealing with stalled commands
This CL refactors codes for dealing with stalled commands as
preparation for Stream support.

BUG=None
TEST=`./tools/dev_container ./tools/presubmit`
TEST=termina vm recognizes a SanDisk Ultra USB 3.0 flash device without device reset

Change-Id: I3616bf47eea9a5d9e74ed238962a6f99e9566e28
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4712777
Reviewed-by: Morg <morg@google.com>
Commit-Queue: Ryuichiro Chiba <chibar@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-07 03:05:55 +00:00
Federico 'Morg' Pareschi
68f13464d7 docs: explain username and password in the example
BUG=None
TEST=compile mdbook

Change-Id: I347f4c0112c66cec326121c7b4830aaf9975b398
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4756204
Auto-Submit: Morg <morg@google.com>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
2023-08-07 02:47:09 +00:00
recipe-roller
2f91e7a976 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773547965325827921

depot_tools:
b7c550a6bc~..6d0c235dae4b7e664122eba4a02f97d4cf155241
  b7c550a (vapier@chromium.org)
      cipd: delay reading version files
  138e187 (arthurmilchior@chromium.org)
      [depot_tools] clarify that new-branch also switch.
  6d0c235 (brucedawson@chromium.org)
      Print reproxy start/stop times

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: Idb6d61ef9374a73e12c6e2c87ac24a43422cbf8c
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4752483
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-06 02:57:50 +00:00
Momoko Hattori
82fd50f3c7 fs: Ask spaced to set quota project ID and project inheritance flag
As a part of migrating ArcQuota D-Bus methods from cryptohome to spaced,
this CL replaces the use of the following ArcQuota methods in crosvm
to the new ones in spaced added in CL:4714787.
- SetMediaRWDataFileProjectId (-> replaced with SetProjectId)
- SetMediaRWDataFileProjectInheritanceFlag (-> replaced with
  SetProjectInheritanceFlag)

Also moves the validation of project ID which is done in cryptohome's
SetMediaRWDataFileProjectId, as the spaced counterpart does not have it.

BUG=b:229122701
TEST=See CL:4714787.

Change-Id: I1736efa68cc8bfae9b3bf9a3debb5de7aa925f61
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4712775
Reviewed-by: Ryo Hashimoto <hashimoto@chromium.org>
Commit-Queue: Momoko Hattori <momohatt@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-08-05 04:06:31 +00:00
Momoko Hattori
d968c4f178 system_api: Add spaced D-Bus bindings and update other bindings
This CL adds spaced D-Bus bindings, which will be used in a follow-up
CL. Also updates other bindings as a result of running
update_bindings.sh.

BUG=b:229122701
TEST=./update_bindings.sh
TEST=emerge-<BOARD> crosvm

Change-Id: I363272b223d399e82873fb6697f54742cebb874b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4712774
Commit-Queue: Momoko Hattori <momohatt@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-08-05 04:06:09 +00:00
Noah Gold
9d3d5513bf devices: clarify snapshot error messages.
The device name was missing in the logs, which made it tricky to
troubleshoot.

BUG=b:294134741
TEST=builds

Change-Id: I9b2420410090af313936611dbd6b2ccd4243d185
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4749228
Reviewed-by: Frederick Mayle <fmayle@google.com>
Auto-Submit: Noah Gold <nkgold@google.com>
Reviewed-by: Richard Zhang <rizhang@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
2023-08-04 22:34:28 +00:00
Noah Gold
07baa786f6 devices: fix vsock device acked feature tracking.
It looks like this wasn't implemented when the device was written, and
acked features were just written to the advertised features. This CL
fixes that problem.

BUG=b:294134741
TEST=snapshots don't fail with this device (snapshots verify advertised
features).

Change-Id: Ia7f438a7eaf3ab4060f91731786d66194c237f39
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4749227
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
Reviewed-by: Richard Zhang <rizhang@google.com>
2023-08-04 22:34:28 +00:00
Noah Gold
7a5226e6e9 cros_async: avoid unblock in Tube until readable.
Because unblock tasks cannot be canceled, and the ones started for
AsyncTube hold locks, this can cause code trying to convert the
AsyncTube back to a Tube to stall because the lock is held on the
unblock thread and won't ever be released until the global pool is
shutdown.

The right solution is to abandon unblock or make it cancellable.
Those are significant undertakings, so in the interim, we can
avoid starting unblock until the read notifier is triggered.
This way, we won't actually be in unblock, and the lock will
not be held.

BUG=b:294134741
TEST=snapshot no longer stalls on Windows.

Change-Id: I36bfd0ca5546c43f766c431a2fb97d2b87a679ae
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4749226
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
Reviewed-by: Richard Zhang <rizhang@google.com>
2023-08-04 22:30:42 +00:00
Noah Gold
2bfd77c093 src: fix device control thread cleanup on Windows.
It looks like this logic was missed during the initial port. This CL
adds it.

BUG=b:294134741
TEST=verified the VM exits as expected instead of stalling when the
subsequent CL fixes the weird async bug that was causing the existing
broken state to somehow work correctly.

Change-Id: I3a6294e3e8f09ebfead71293168b0bfb7eb7ed52
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4749225
Reviewed-by: Frederick Mayle <fmayle@google.com>
Reviewed-by: Richard Zhang <rizhang@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
2023-08-04 22:26:40 +00:00
Zihan Chen
594c215bed e2e_tests: Add initramfs definition and documentation
A light weight, purely static initramfs has been added to allow
running tests that are slightly more complex. This also allow
us to inject e2e_test components (e.g. delegate) into pre-built
containers from 3rd-party sources.

TEST=VM can boot from initramfs produced by make

Change-Id: Id27faa61a54bd151187dc6231d996efaaa6ae890
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4718770
Commit-Queue: Zihan Chen <zihanchen@google.com>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-08-04 19:43:15 +00:00
Daniel Verkamp
a419a9631e devices: virtio-wl: track acked feature bitmap
Rather than updating several flags during the VirtioDevice ack_features
callback, just accumulate the virtio feature bits in a single u64 like
other devices, and use those bits to determine the features to enable
during activate(). This should make it simpler to correctly snapshot and
restore the device state.

BUG=None
TEST=tools/dev_container tools/presubmit
TEST=Start Crostini and run Wayland GUI apps

Change-Id: I1f009137300b0d341e707f759bb5e8111f219fc7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4749224
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Elie Kheirallah <khei@google.com>
2023-08-04 18:40:20 +00:00
recipe-roller
9debd5fd52 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773670644200695441

depot_tools:
b9b690ec0e
  b9b690e (vapier@chromium.org)
      setup & share current uname -s value

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I290563040617e3262420faf26004dea3cf2e8d5e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4752934
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-04 18:32:21 +00:00
Alexandre Courbot
f484411e29 video: decoder: vaapi: use cros-codecs 0.0.4
The cros-codecs API has changed a lot, and it supports zero-copy
decoding as well as HEVC now.

BUG=b:262824148
TEST=presubmit

Change-Id: Icc2a258642cef012b5640f1c71ccff481b5808f2
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4744560
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Frederick Mayle <fmayle@google.com>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Auto-Submit: Alexandre Courbot <acourbot@chromium.org>
2023-08-04 18:17:26 +00:00
recipe-roller
d595182165 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773712801510314401

depot_tools:
ce3e819465
  ce3e819 (jwata@google.com)
      [autosiso] Add single file compile support on Windows

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I07d299722e7da3ae0a5eba0f952ed08a68e6748b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4747017
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-04 07:18:08 +00:00
Noah Gold
082cf06b10 devices: implement no-op snapshot for PIC & PIT.
These devices are only in use during very early boot, and on split IRQ
chip implementations, not having a no-op implementation means that those
implementations can't use snapshotting at all. This CL adds a no-op
implementation for snapshot & restore for those devices.

BUG=b:294134741
TEST=snapshotting doesn't hit errors on these devices now, and succeeds
for WHPX (a split IRQ chip impl.).

Change-Id: I562ee00f6ec25d08fb516aba01a0b418f3e9f7d3
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4749685
Commit-Queue: Noah Gold <nkgold@google.com>
Reviewed-by: Elie Kheirallah <khei@google.com>
Reviewed-by: Frederick Mayle <fmayle@google.com>
2023-08-04 04:52:06 +00:00
recipe-roller
520a917eda Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773722866926562449

depot_tools:
fc36eba70b
  fc36eba (fancl@chromium.org)
      Revert "New vpython to depot_tools"

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I9f1a0a6dd44866cb52925addd79d54739dc6aba7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4747014
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-04 04:36:36 +00:00
recipe-roller
4ec7c9d4c5 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773746146870002305

depot_tools:
04e04ae337~..248aa8ba818b752ef507c73db988b6d32bb90df1
  04e04ae (vapier@chromium.org)
      ensure_bootstrap: always resolve base_dir with dirname
  248aa8b (vapier@chromium.org)
      setup & share path to depot_tools checkout

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I1ef945cde1ff4f443103aa43206da8c86d90ff65
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4750302
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-03 22:26:29 +00:00
maciek swiech
7912625a3c balloon: rename WSS to WS pt 2
remove 'old' pre-transition function definitions

BUG=b/288432539
TEST=cargo build, cargo build --no-default-features, cargo build --features registered_events
TEST=emerge-volteer crosvm && emerge-volteer vm_host_tools

Change-Id: I50bbe777185948fcfe265236da43c0e47d7e762b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4718766
Commit-Queue: maciek swiech <drmasquatch@google.com>
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-03 21:28:24 +00:00
Sebastian Hereu
507473f20a CONTRIBUTION.md : update incorrect command in docs
CONTRIBUTION.md instructs contributors to run a 'git checkout' instruction to switch to a new branch to make their changes. The old instruction used the --branch flag to specify the branch when -b really should have been used. Running the old command causes git to return an error.

Change-Id: I4a19592c59566e814fd5c16d900af568c32412ea
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4748941
Commit-Queue: Sebastian Hereu <sebastianhereu@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-03 19:36:52 +00:00
recipe-roller
5876e580ea Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773759986814847393

depot_tools:
e8b6776755~..7131bc56098c2d6e2e408c7885b85b5176c1724d
  e8b6776 (vapier@chromium.org)
      ensure_bootstrap/update_depot_tools: drop cwd symlink resolution
  08e2e0c (vapier@chromium.org)
      update_depot_tools: always resolve base_dir with dirname
  7131bc5 (gavinmak@google.com)
      Remove chromium style plugin solution

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I3a39624d78972d4c79a3f85570774ec92ad1e172
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4748862
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-03 18:47:36 +00:00
recipe-roller
64a26d18d0 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773776345136502833

depot_tools:
029025a07c~..582edfab2ca50fa14b7b32e25f702f08f718dbc8
  029025a (vapier@chromium.org)
      vpython: only run uname once
  582edfa (bentekkie@google.com)
      [reclient] Dont limit local resources if RBE_remote_disabled=1

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I1c242c23669fc939274524cc13fec9f7b2e8573a
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4747001
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-03 14:30:43 +00:00
Sebastian Hereu
52b8ec92cf devices: fw_cfg: subtraction overflow fix
OVMF was causing a subtraction overflow exception bc the FW_CFG_FILE_FIRST offset was erroneously subtracted from the u16 selector argument to write(). Subtracting the offset was necessary in previous versions of fw_cfg, but after the recent refactoring of fw_cfg's code, the subtraction is no longer needed

BUG=b:243051819
TEST=ran "cargo test fw_cfg" under /devices

Change-Id: I46c14383a98c55cec1f69515f7275875468bde61
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4743843
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Sebastian Hereu <sebastianhereu@google.com>
Reviewed-by: Denise Costin <dcostin@google.com>
2023-08-03 14:21:39 +00:00
recipe-roller
94a1493797 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773817240127835697

depot_tools:
729de5761e
  729de57 (pkotwicz@chromium.org)
      Remove redundant message in case "git cl split" fails upload

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: Iddfb0c6cde5400cc76f508102df137e9bc310736
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4743712
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-03 03:37:24 +00:00
recipe-roller
8c2ecdaab0 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773826048180161825

depot_tools:
e13840bd9a
  e13840b (gavinmak@google.com)
      Remove explicit refs/heads/master revision from gerrit solution

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I0acc5e349118ce36b6e6f247790b94e989608e3e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4743709
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-03 01:17:26 +00:00
recipe-roller
63c71ce6b5 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773840515571473713

depot_tools:
a0b8a06623
  a0b8a06 (vadimsh@chromium.org)
      Roll lucicfg v1.39.10 -> v1.39.11

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I542617aa9d5ac3efbd7261a8cdbf7e403212bf2d
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4743704
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-02 21:26:25 +00:00
Daniel Verkamp
6540c7e29d devices: vhost-user: vmm: remove max_queue_num
The vmm handler code does not need to check that the queue index is in
range. This is already checked in two places already: the generic
VirtioDevice code will not produce invalid indexes, and the backend
vhost-user device must be prepared to handle invalid indexes by
returning an error.

Removing the max_queue_num parameter will help in cleaning up the
VhostUserVirtioDevice QueueSizes mechanism.

BUG=b:262291811
TEST=tools/presubmit --all
TEST=boot x86_64 Linux from a vhost-user block device

Change-Id: Ia44cb916aedadf0fbdecec8f0bf0d0299cc5816b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4103911
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-02 20:14:27 +00:00
recipe-roller
1ebcc7d681 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773851211724057681

depot_tools:
071df9a729
  071df9a (sdefresne@chromium.org)
      [cpplint] Use `with` statement to ensure file descriptor is closed

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I8ae76957debf28567239efbe7fb96ba862807442
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4743860
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-02 18:41:03 +00:00
recipe-roller
b563e7ed5c Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773853728778217553

depot_tools:
43083529de
  4308352 (fancl@chromium.org)
      New vpython to depot_tools

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ie6f03259285934d67676f63fd774ad46db15380e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4743859
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-02 17:57:57 +00:00
Gurchetan Singh
25605ceb6a docs: improve gfxstream/rutabaga info
Shoutout to akihiko.odaki@ for suggestions:

"Why not install dependencies in one command?
sudo apt install libdrm libglm-dev libstb-dev

The cmake command for AEMU is broken into two lines but the newline
character between them are not escaped. It should be one line or the
newline should be escaped.

It also gives a warning:
CMake Warning:
   Ignoring extra path from command line:

    "../"

And it's probably better to have a dedicated build directory. /build is
in .gitignore so you may:
cmake -DAEMU_COMMON_GEN_PKGCONFIG=ON \
       -DAEMU_COMMON_BUILD_CONFIG=gfxstream \
       -DENABLE_VKCEREAL_TESTS=OFF -B build

It's also better to use the following commands to build and install it
just in case the system has a different backend (like Ninja):
cmake --build build -j
sudo cmake --install build

The build directory of gfxstream may be named just "build" so that you
can blindly copy the command on Arm64 or whatever and to ignore it with
.gitignore.

You may build and install it with the following command:
meson install -C build
No need for separate build command and sudo. Meson takes care of that.

The documentation has one command for building and installing Rutabaga,
but that may cause a problem. For example, you may have rustup
configured for a normal user but not for the superuser. Perhaps it's
better not to have "build" as a dependency of "install" and have two
commands for each of the steps:
make
sudo make install"

BUG=b:291606715
TEST=compile book

Change-Id: I7f75b0ebfda825bcf0f7d0ffee574669ee6ee801
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4743519
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Auto-Submit: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2023-08-02 17:17:19 +00:00
Ryuichiro Chiba
ea5d5660d3 usb_util: Fix request codes of USB device requests
Fix request codes of USB device standard requests to match the values
defined in USB 2.0 specification.

BUG=None
TEST=`./tools/dev_container ./tools/presubmit`

Change-Id: Id2292f9ca763f04d875602561464b3c0dc927a9d
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4712776
Reviewed-by: Morg <morg@google.com>
Commit-Queue: Ryuichiro Chiba <chibar@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-02 05:56:09 +00:00
recipe-roller
dc94f6fcdf Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773926080541044673

depot_tools:
70d971a135
  70d971a (pkotwicz@chromium.org)
      Prevent split_cl.py from uploading multiple CLs for same reviewers

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: If4c5adb4cc8d4b2cfbf2bbcd525111a0c2d5e78f
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4740575
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-01 22:50:15 +00:00
Daniel Verkamp
b3c8e72a49 devices: virtio: pass GuestMemory to queue activate
Now that an active Queue is a separate type than the pre-activation
QueueConfig, we can ensure that a Queue has a valid reference to the
GuestMemory at creation time instead of passing it to every queue
operation.

No functional change, but simplifies Queue callers and prepares for
use of AtomicU* types in a later change.

BUG=b:264931437
TEST=tools/dev_container tools/presubmit

Change-Id: I30266a5eadbd4f643da5595fbdd2c8f5df34bab3
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4671481
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-01 21:45:08 +00:00
Dennis Kempin
35828a105f Enable riscv64 builder in presubmit
BUG=None
TEST=https://ci.chromium.org/ui/p/crosvm/builders/luci.crosvm.ci/linux_riscv64

Change-Id: I138b98517cfadad6442cdf3e13566b3ebded20f6
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4739893
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-01 20:48:35 +00:00
maciek swiech
32f8711cf7 Reland "Reland "balloon: rename WSS to WS""
This reverts commit 2aea504a65.

Reason for revert: missed run-time flag migration, fixed this time around and tested more thoroughly

BUG=b/288432539
TEST=cargo build, cargo build --no-default-features, cargo build --features registered_events
TEST=patch in to chromeos; emerge-volteer crosvm && emerge-volteer vm_host_tools
TEST=cros deploy && restart vm_concierge on DUT
TEST=cros deploy && vmc start borealis && (borealis) DISPLAY=:0 steam

Original change's description:
> Revert "Reland "balloon: rename WSS to WS""
>
> This reverts commit cf1c3cd755.
>
> Reason for revert: The command line change will break existing
> usage of the CLI flag
>
> Original change's description:
> > Reland "balloon: rename WSS to WS"
> >
> > This reverts commit 94dc10b57c.
> >
> > Reason for revert: relanding changes with fully implemented types
> >
> > BUG=b/288432539
> > TEST=cargo build, cargo build --no-default-features, cargo build --features registered_events
> > TEST=patch in to chromeos; emerge-volteer crosvm && emerge-volteer vm_host_tools
> >
> > Original change's description:
> > > Revert "balloon: rename WSS to WS"
> > >
> > > This reverts commit 1eb1106537.
> > >
> > > Reason for revert: headers generated by cbindgen do not compile as expected downstream
> > >
> > > Original change's description:
> > > > balloon: rename WSS to WS
> > > >
> > > > as the working set feature approaches acceptance at the spec-level, we
> > > > are keeping up with nomenclature changes.
> > > >
> > > > BUG=b/288432539
> > > > TEST=cargo build, cargo build --no-default-features, cargo build --features registered_events
> > > >
> > > > Change-Id: I323a2c5402cb8008f8c912b0849e8e3501f9e1f3
> > > > Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4702340
> > > > Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
> > > > Commit-Queue: maciek swiech <drmasquatch@google.com>
> > >
> > > BUG=b/288432539
> > > No-Presubmit: true
> > > No-Tree-Checks: true
> > > No-Try: true
> > >
> > > Change-Id: I46459b4afd428c67436a754b3e62a104a680c68f
> > > Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4722468
> > > Commit-Queue: maciek swiech <drmasquatch@google.com>
> > > Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
> >
> > BUG=b/288432539
> >
> > Change-Id: Ifb78acf2914b96306a2d1104e21eff6e67ed45df
> > Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4722288
> > Commit-Queue: maciek swiech <drmasquatch@google.com>
> > Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
>
> BUG=b/288432539
>
> Change-Id: I3bcb26699fd1d15eab594143490f863941d3eceb
> Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4730438
> Commit-Queue: Dennis Kempin <denniskempin@google.com>
> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>

BUG=b/288432539

Change-Id: I657f648aec0fc4f4551cf3c109c5ecedcdddbcb2
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4733877
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: maciek swiech <drmasquatch@google.com>
2023-08-01 20:26:39 +00:00
Daniel Verkamp
88ed5107be riscv64: update generate_pci_root return value
The generate_pci_root() function added an extra field for ACPI GPEs,
which wasn't applied to the riscv architecture-specific code.

BUG=None
TEST=tools/dev_container tools/presubmit crosvm_unit_tests_riscv64

Fixes: 298be81446 ("acpi: x86: add support for ACPI Notify() forwarding")
Change-Id: I426c7855411abc30bc9d0b0f329ce1f52ae88430
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4736334
Reviewed-by: Grzegorz Jaszczyk <jaszczyk@google.com>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-01 20:22:56 +00:00
Daniel Verkamp
bd1f66df63 crosvm_control: require vm_control balloon feature
crosvm_control unconditionally imports vm_control::BalloonControlCommand
which is only available when vm_control has the "balloon" feature
enabled. Declare this dependency in crosvm_control/Cargo.toml.

Fixes building crosvm_control with --no-default-features.

BUG=None
TEST=cargo build -p crosvm_control --no-default-features

Change-Id: I0f7a956318bd144fcbe9e09ee8319e992df87d5e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4736333
Reviewed-by: maciek swiech <drmasquatch@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-01 20:22:56 +00:00
Daniel Verkamp
67ec31272b devices: virtio: use QueueConfig in Queue::restore()
Use the negotiated feature bits in QueueConfig to determine the queue
type for activated queues when restoring from a snapshot. This also
means that VirtioDevice::queue_type() is unused, so it can be removed.

BUG=b:243621596
TEST=tools/dev_container tools/presubmit

Change-Id: I15be4c0a0794f28ff36cb3c0e6149b45ea90e2ad
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4735113
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Yuan Yao <yuanyaogoog@chromium.org>
2023-08-01 18:35:15 +00:00
Daniel Verkamp
3cf71cbbb1 devices: block: demote I/O errors to debug log level
Errors reading/writing/etc. the disk image will already be reported to
the guest and should be handled by the guest OS. Reporting them in the
host logs has the potential to fill the logs with noise. This change
makes I/O failures into debug-level log messages which do not get
printed by default (the log level can be modified with the crosvm
--log-level option).

BUG=b:290057170
TEST=tools/dev_container tools/presubmit

Change-Id: I09217997d8dec41cb4a832e3a033f81371300569
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4664551
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-01 18:06:20 +00:00
recipe-roller
894ef0f62c Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8773949989472097681

depot_tools:
6a505ad9ab
  6a505ad (jrosenth@chromium.org)
      [ChromiumOS] Add a launcher for Bazel

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I5c64b39abec619532b599d2fd8f2e9ad28285bfe
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4738854
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-08-01 16:32:53 +00:00
Elie Kheirallah
6eeed23a56 devices: enable Error return when sleep/wake/snapshot fail
Devices currently printed errors and returned Ok when they failed, and
that was because errors were frequently expected.
We are at a stage where the basic devices all function properly and no
longer need to return Ok, we should hard fail if an error occurs.

BUG=b:253514925
TEST=presubmit

Change-Id: Id33c1dea603a471d815755495a269e4276a8ace8
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4684441
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Frederick Mayle <fmayle@google.com>
Auto-Submit: Elie Kheirallah <khei@google.com>
Commit-Queue: Frederick Mayle <fmayle@google.com>
2023-08-01 01:19:59 +00:00
recipe-roller
7bb821e9f0 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8774015936211696049

recipe_engine:
e44c0c20fe
  e44c0c2 (jeffyoon@google.com)
      [ResultDB] Support step test data in QueryNewTestVariants

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I035376ceeafa966f5f9fe8f774dde6f2f3139273
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4736004
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-07-31 23:04:59 +00:00
Elie Kheirallah
d19117bc56 devices: virtio: net: add snapshot/restore implemetations
Add snapshot/restore to the net device.

BUG=b:293937476
TEST=presubmit

Change-Id: I6467d242964fbe9b0914924cacb113fd474669a9
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4736331
Commit-Queue: Elie Kheirallah <khei@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-07-31 23:00:38 +00:00
recipe-roller
f6498dc064 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8774022340754386833

depot_tools:
8b2072b3bd
  8b2072b (sshrimp@google.com)
      Remove Quick Run options

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ic396d61679851a2409ea9855c7f00d910c291069
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4735993
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-07-31 21:22:01 +00:00
recipe-roller
be1197135e Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8774036810617899057

depot_tools:
59e1011541
  59e1011 (jojwang@google.com)
      Fix hook base paths when repo is not relative but parent is.

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=denniskempin@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I1bceaae61f0721f0e8b951d20a72dba6c88c6fc5
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4733980
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2023-07-31 17:38:39 +00:00