Commit graph

7280 commits

Author SHA1 Message Date
Daniel Verkamp
2888ee8671 devices: virtio-blk: retain sparse across resize
Prior to this change, the disk resize operation would unconditionally
allocate disk space if the resize caused the disk to grow, and the disk
was marked as non-sparse.

With this change, the behavior is changed so that the `sparse=` option
specified at block device creation time is never modified; if a disk was
sparse before it was resized, it will remain sparse afterwards. The new
area of the disk image is only allocated if the disk was originally not
sparse.

The promotion to non-sparse when resizing was intended as a transition
mechanism for changing existing sparse disks into fully preallocated
resizable disks in Crostini, but this was never actually implemented.

This partially reverts commit 7673338200 ("devices: block: let resize
convert to non-sparse") [1].

[1]: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2070846

BUG=b:296117425
TEST=Resize Crostini disk image using slider in settings UI

Change-Id: Ibe55b851ef996d9b7ec903f0f2ee7cf5b3434217
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4309988
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Takaya Saeki <takayas@chromium.org>
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
2023-08-18 20:35:31 +00:00
recipe-roller
c8a4e24fcd 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/8772394741310343793

depot_tools:
d9ea072747
  d9ea072 (jojwang@google.com)
      Use diff.ignoreSubmodules=dirty.

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: I951536c4062fc723531e4345f8fa435621349fb5
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4794377
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-18 20:30:10 +00:00
recipe-roller
266d7600a3 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/8772395997104168385

depot_tools:
3869a16107
  3869a16 (sokcevic@chromium.org)
      [recipe] Support stripping dep prefix

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: Ifbd4783910e61b39fa5a39e854bb736fd205078f
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4794639
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-18 20:07:57 +00:00
Frederick Mayle
d762b27bd4 devices: virtio: gpu: move Event clone closer to usage
Ideally we couldn't clone the Event at all, but shared ownership of the
`Queue`s gets in the way.

Change-Id: I063148263fc5501f9f36ffe0c5deecf7fa4573a5
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4775761
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Frederick Mayle <fmayle@google.com>
2023-08-18 18:23:25 +00:00
Frederick Mayle
648f9613c7 deviecs: virtio: gpu: delete unused field VirtioGpu::event_devices
Change-Id: I57bb8ea89d6bbc5ca8207f4c2b53012eff3f59b8
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4777340
Reviewed-by: Idan Raiter <idanr@google.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-18 18:23:25 +00:00
Frederick Mayle
d3d6d2960b devices: virtio: gpu: delete cursor queue fence completion deadcode
I think this has been deadcode since 2019 (https://crrev.com/c/1775365).
It isn't obvious to me whether requests on the cursor queue are allowed
to specify VIRTIO_GPU_FLAG_FENCE. If they are, then this is a bug: the
cursor requests that use a fence will never be completed.

Change-Id: Idb46b157a534a2a0d12cc97348df3566a27fb9d9
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4775762
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Idan Raiter <idanr@google.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
2023-08-18 18:23:25 +00:00
Frederick Mayle
d13a8cf231 gpu_display: delete unused field and method GpuDisplay::is_x
Change-Id: I5a1e4aa28100bf9d935902bf5040b4e4f6744927
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4777341
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-18 18:23:25 +00:00
Frederick Mayle
6a4aea4445 gpu_display: simplify GpuDisplay::open_x signature
Change-Id: I334004ac47466de2f8cd800e680a14cb7f75ef3c
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4775759
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-18 18:23:25 +00:00
Junichi Uekawa
49806e44dc docs: Add a link to how to run tryjob.
It's probably not straightforward as you have to have knowledge of CrOS build
system and how crosvm is set up.

BUG=None
TEST=read it and try `cros try ...`

Change-Id: I2d60b73f13d30596af900683b1ff77aeeadcb744
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763024
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Junichi Uekawa <uekawa@chromium.org>
2023-08-18 02:29:55 +00:00
recipe-roller
15892752bc 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/8772469609430216337

depot_tools:
978f43dd52
  978f43d (jojwang@google.com)
      Use git ls-files -s to include gitlinks from staged patches.

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: Ie01d46997784ddc9a5b1a16571391443b27b2f88
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4791590
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-18 00:40:00 +00:00
recipe-roller
9221a23e55 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/8772476530683081569

depot_tools:
bb109cd7c3
  bb109cd (brucedawson@chromium.org)
      Add reclient_metrics command

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: I5761c134b04afedaa741f0e386180550012d6436
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4791589
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-17 22:52:52 +00:00
recipe-roller
b6f0ed15a7 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/8772480305645807713

depot_tools:
15fcccb6a2
  15fcccb (drewroen@google.com)
      Revert "[gsutil] Update gsutil error message on outdated boto"

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: Ie6247a0f4fbc45d084863fd5df23e6d2289096e4
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4791587
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-17 21:50:42 +00:00
Richard Zhang
e8b7fcbef4 linux_input_sys: Move event code constants from virtio_input (devices
crate)

There were already copies of these constants. This change moves these
constants to a crate with less dependencies so that it can be shared
more widely across the codebase.

BUG=b:296435866
TEST=builds, presubmits

Change-Id: I468cf4f23edc510a7fdd5ed0f030d33f1b05a8a1
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4791583
Reviewed-by: Dmitry Polenur <dpolenur@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Richard Zhang <rizhang@google.com>
2023-08-17 21:31:24 +00:00
recipe-roller
3e25a5d0f4 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/8772490366170057377

depot_tools:
4e6c1071bd
  4e6c107 (jojwang@google.com)
      Unset diff.ignoreSubmodules=all when running gclient sync.

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: Iec8e6640f1c7229db87da5a0a0890f5a38a8a613
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4791584
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-17 19:11:20 +00:00
recipe-roller
bc0a8fa56b 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/8772497289325168657

depot_tools:
f1390e5ac1
  f1390e5 (bentekkie@google.com)
      [reclient] Add temporary fix for reclientreport 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: I3f669bd42beeb3b0d4420b5735628f5ffe51c7dd
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4791581
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-17 17:18:42 +00:00
recipe-roller
6d272506ed 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/8772502325402320721

depot_tools:
2b583af7e1~..dfafd0a3c798f7389c983adf39f53537de009a66
  2b583af (aredulla@google.com)
      [ssci] Added parser for README validator
  dfafd0a (sokcevic@chromium.org)
      [gsutil] Update gsutil error message on outdated boto

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: I2d03fa2151f0a3b8a18322960daee62967098b47
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4791241
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-17 16:02:19 +00:00
recipe-roller
deac61e5e7 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/8772552657616712337

depot_tools:
ea99f9a083
  ea99f9a (jojwang@google.com)
      Reland "Set --git-dir for git commands that may be executed in...

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: I3b6f83365d12d7f1899c348e57dd6944709d5a49
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4787448
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-17 02:37:44 +00:00
recipe-roller
fa8bfa7a45 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/8772568386019266865

depot_tools:
2a951b8648
  2a951b8 (sokcevic@chromium.org)
      [recipes] Add roll_deps to gclient

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: I6ed7eb54b13effab0ece5e43b1cef1596af3f173
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4786767
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-16 22:28:00 +00:00
recipe-roller
ef71f06d18 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools, recipe_engine) into this repository.

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

depot_tools:
c7350c496a
  c7350c4 (aredulla@google.com)
      [ssci] Defined License metadata field

recipe_engine:
a4d67972f7
  a4d6797 (kimstephanie@google.com)
      Add cl_owners property to cv recipe_module

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: I8cdae085762a7846aba12f9abaf95afc93b173fb
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4786688
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-16 22:07:17 +00:00
recipe-roller
e33c3236b8 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/8772574677418877537

recipe_engine:
bf55ee1ef8
  bf55ee1 (chanli@chromium.org)
      [recipe_engine] stop setting build.output.summary_html

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: I898787565dca068a25672475f741a509f20e4f79
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4786407
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-16 20:51:58 +00:00
Daniel Verkamp
c41e65090a rutabaga_gfx: expand wildcard data_model import
Make it easier to see which part of data_model are used by rutabaga_gfx.

Change-Id: Idcf424430792519ef8e41805a57b13e35a9ca9fd
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4784889
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Auto-Submit: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-08-16 19:35:38 +00:00
recipe-roller
b41e2100c7 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/8772588517085804721

depot_tools:
51690612da~..1c4052d88ac510a3db4351e52c088cac524c726c
  5169061 (aredulla@google.com)
      [ssci] Defined basic metadata fields
  378fe5f (aredulla@google.com)
      [ssci] Defined Date metadata field
  a299227 (aredulla@google.com)
      [ssci] Defined CPEPrefix metadata field
  0f405ea (aredulla@google.com)
      [ssci] Defined Version metadata field
  e95696f (aredulla@google.com)
      [ssci] Defined URL metadata field
  7d26320 (aredulla@google.com)
      [ssci] Defined License File metadata field
  1c4052d (jackneus@google.com)
      Revert "Set --git-dir for git commands that may be executed in...

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: I9c4e0a42000cfc0efada05577c4ddfcc582ddbde
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4784887
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-16 17:10:20 +00:00
David Stevens
5ae896b392 balloon: add optional response to adjust
Add the option to wait for a balloon adjustment to successfully
complete. To allow the client to handle failures by re-adjusting the
balloon, this command bypasses the queuing logic in BalloonTube.

This new feature is used by vm_concierge in crrev/c/4744519.

BUG=b:259503518
TEST=cargo test -p vm_control --features balloon
TEST=repeat-test.sh -r 300 -- kohaku arc.Swap

Change-Id: Ib9a990cdfc4001d6294e654776ac0b130ebc94e2
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4744559
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: David Stevens <stevensd@chromium.org>
2023-08-16 04:44:01 +00:00
recipe-roller
9637645a66 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/8772652061902080401

recipe_engine:
c44cfed117
  c44cfed (chanli@chromium.org)
      [recipe_engine] only set output.summary_html when summary_markd...

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: I1458e6bf86346335572238769b052cd4b7a29439
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4781692
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-16 00:16:27 +00:00
recipe-roller
e614279c2e 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/8772655837356542145

recipe_engine:
fa112743c2
  fa11274 (chanli@chromium.org)
      [recipe_engine] update build.output.status when build status ch...

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: I0ec2f9b51273b3682948a1bae84e402f0549da32
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4781691
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-15 23:20:17 +00:00
Zihan Chen
befcb64a8e e2e_tests: Allow rootfs to be compressed and/or rw
Test fixtures can now automatically create required temporary or
uncompressed raw disk images from provided url to be used as rootfs
image. This allow tests with rw rootfs requirement to be executed
repeatedly.

TEST=run postgres test with new options

BUG=b:257303497

Change-Id: If0537945beb427d15be0bec2f7a7d18daf595070
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4776167
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Zihan Chen <zihanchen@google.com>
2023-08-15 23:03:19 +00:00
Frederick Mayle
7bcd3efdba cros_async: epoll: dup FD once per source, instead of per op
There will be fewer `fctl` and `close` syscalls when performing IO,
which might help performance, but a simple FIO benchmark didn't reveal
any gains. The strace output looks cleaner.

Change-Id: I11b2cde23d7951c209a48c19194fd0de15d43f8f
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4722169
Commit-Queue: Frederick Mayle <fmayle@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-15 22:13:29 +00:00
Frederick Mayle
76c9757022 cros_async: epoll: remove AsRef/AsMut impl from internal API
I'm going to add another field to RegisteredSource and so it won't make
as much sense for it to auto convert to the underlying source type.

Change-Id: I4c135397878ed8e13a5443ad68ccc7ffcf0bf491
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4722171
Reviewed-by: Takaya Saeki <takayas@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-15 22:13:29 +00:00
Daniel Verkamp
2d8dc71543 devices: vhost-user: vmm: remove QueueSizes
Change the vhost-user frontend's strategy for determining number of
queues and queue sizes to always use VHOST_USER_GET_QUEUE_NUM if the
VHOST_USER_PROTOCOL_F_MQ feature is available; otherwise fall back to
the default number of queues provided by the VhostUserVirtioDevice
caller.

Remove the per-device queue size constants from device_constants.rs;
the size of each queue is an implementation detail, not defined by the
specification. This also makes it clearer that the vhost-user frontend
should not be depending on device implementation details by making it
impossible to accidentally import backend-specific constants in the
frontend code.

BUG=b:262291811
TEST=Boot x86-64 Linux from a vhost-user block device

Change-Id: If738916d9fd04ffcddbc46f78231bb0ee534a313
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4099788
Reviewed-by: Noah Gold <nkgold@google.com>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
2023-08-15 21:35:53 +00:00
Daniel Verkamp
8111a7698e devices: vfio: fix clippy manual_slice_size_calculation
Use std::mem::size_of_val() to calculate the size of args instead of
manually multiplying len() * sizeof(element).

<https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation>

BUG=None
TEST=tools/clippy # with rust-toolchain 1.71.1

Change-Id: Ic92679dc8ffe1e34672d3c1a5f9d423cc43e4a0f
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4769863
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-15 20:47:25 +00:00
Daniel Verkamp
f4a4044c13 devices: fw_cfg: fix needless_bool_assign clippy warning
Fixes a new clippy warning with Rust 1.71:
  error: this if-then-else expression assigns a bool literal

<https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool_assign>

BUG=None
TEST=tools/clippy # with rust-toolchain 1.71.1

Change-Id: I58f378d7b5eaf765c00e833f6b13da9cdc8fe2e7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4769862
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Sebastian Hereu <sebastianhereu@google.com>
2023-08-15 20:43:48 +00:00
recipe-roller
963071fd6c 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/8772667157331525665

depot_tools:
5b4613195c
  5b46131 (chanli@chromium.org)
      [depot_tools] roll bb

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: Ifbbffb35ee90948b864212991d7663a5e176407a
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4781608
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-15 20:18:36 +00:00
Noah Gold
16086896d0 devices: restore GuestMemory on vhost-user restore.
It looks like in the cold restore case, the mem table (GuestMemory)
wasn't being restored, so the devices couldn't run their restore code
(it generally relies on the mem table being set). This CL sets the mem
table for activated and un-activated vhost-user devices.

BUG=b:294134741
TEST=verified restore works with vhost-user net on Windows.

Change-Id: I337a3503dd25e60c241878c2a6a27b40124efe08
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4779384
Commit-Queue: Noah Gold <nkgold@google.com>
Reviewed-by: Frederick Mayle <fmayle@google.com>
2023-08-15 19:43:31 +00:00
Noah Gold
53d1c92aca hypervisor: whpx: save/restore TSC in snapshots.
Timekeeping on WHPX under CrosVM is handled by virtio-pvclock. This
device depends on the delta between the host & guest TSC (TSC
offset MSR in VMCS/VMCB) being the same at snapshot & restore time.
Previously we weren't saving/restoring this MSR. This CL adds it to
the list of MSRs we save/restore.

BUG=b:294134741
TEST=ran busybox image, verified save/restore work.

Change-Id: Ic5cff8412f1f11da31ff85acc268a8907c80bf34
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4779855
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
2023-08-15 19:35:28 +00:00
recipe-roller
39a23295f1 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/8772675338461234705

depot_tools:
64a4a664f8
  64a4a66 (chanli@chromium.org)
      [depot_tools] roll lucicfg to v1.39.14

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: Id0984bee55e2d55b35b3ab100d9fd6483f680218
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4781194
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-15 18:12:56 +00:00
recipe-roller
a4dedbb712 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/8772678484902294465

recipe_engine:
2418a80b6e
  2418a80 (gregorynisbet@google.com)
      [recipe] Move cipd's checker to its own library so other module...

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: Id480ade25299c94c8eceb04c58becdc47c7e2118
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4781187
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-15 17:17:44 +00:00
recipe-roller
5b61e96fdc 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/8772695470763286849

depot_tools:
d9011c559b
  d9011c5 (jojwang@google.com)
      Set --git-dir for git commands that may be executed in bare gits.

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: I546790bb4070aad409c7238ea7a577dc5503a59d
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4780279
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-15 12:54:38 +00:00
Momoko Hattori
fe5be7e78d system_api: Remove UserDataAuth
After CL:4712775, crosvm doesn't call UserDataAuth's D-Bus methods. This
CL hence removes Rust interface of UserDataAuth's D-Bus method and proto
definitions used by UserDataAuth.

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

Change-Id: Idc79b07614a50bd17ff99c124e501a88eeda2c1b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4776924
Commit-Queue: Momoko Hattori <momohatt@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-08-15 11:08:04 +00:00
Joe Hattori
2e9aad9c5d devices: vhost: user: use values from DiskOption in BlockAsync::new in windows.
Currently BlockAsync::new arguments were filled in with literal values
in devices/src/virtio/vhost/user/device/block/sys/windows.rs. This
commit instead uses the values from disk_option obtained previously.
The commit is motivated from a clean up task
https://crrev.com/c/4768225.

BUG=b:295282243
TEST=tools/presubmit

Change-Id: I336212348d09084ba1fc2c41f1c75cade8cc0940
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4768226
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: Joe Hattori <hattorij@google.com>
2023-08-15 00:55:27 +00:00
Vikram Auradkar
070d55bf78 devices: disk: use direct=true to open disk file in unbuffered mode
When specified, on windows, crosvm will use flag FILE_FLAG_NO_BUFFERING
to open disk file.

BUG=b:295951381
TEST=none

Change-Id: I819896fe56557bd68d76a9e51e08243eaea2bb2b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4778939
Commit-Queue: Vikram Auradkar <auradkar@google.com>
Reviewed-by: Noah Gold <nkgold@google.com>
2023-08-15 00:35:36 +00:00
recipe-roller
47950c2824 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/8772743916289812577

depot_tools:
c601e364af
  c601e36 (mlcui@google.com)
      git cl presubmit: Add "base branch" usage hint

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: I2711cf5f0ee94694582681b4c6514478d5ffa537
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4779404
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-14 23:55:23 +00:00
Idan Raiter
88a46a1188 broker: Make DLL blocking apply to all processes
Uniformly apply the DLL_BLOCKLIST, rather than picking which processes
have them blocked.

BUG=b:268097036
BUG=b:287696604
BUG=b:286728714
TEST=boot emulator

Change-Id: I1756524ed5599ae65cbec0eca4652dd95b912218
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4752842
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: Idan Raiter <idanr@google.com>
2023-08-14 23:42:21 +00:00
Idan Raiter
64ccf0f207 broker: Add rule for slirp file sandbox
If argument is set, allow slirp to write to the pcap file.

BUG=b:294419893
TEST=works downstream

Change-Id: Ic9042d1fb3c3b6c8a77ff71576437b17c2ed6faf
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4757374
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: Idan Raiter <idanr@google.com>
2023-08-14 23:41:15 +00:00
Idan Raiter
dde29439a5 net: Make slirp capture optional even if feature is on
Allows to make a prod build capable of capturing if the argument is
passed. But, behaves the same as before if the CLI is not passed.

BUG=b:294419893
TEST=downstream emulator

Change-Id: Iab1dddd30537c6ea61e9d32b240fabdfddd13e22
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4752604
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: Idan Raiter <idanr@google.com>
2023-08-14 23:24:19 +00:00
Idan Raiter
09193203cd net: Fix compile error for slirp debugging
Seems we have some outdated code, probably after refactors as the
feature isn't compiled.

- Fixed u32 / usize casting
- argh_helpers::pad_description_for_argh wants the description lowercase

BUG=b:294419893
TEST=downstream run emulator

Change-Id: I5fdf3c5deae59de3c65a32456c35112b60526252
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4748853
Commit-Queue: Idan Raiter <idanr@google.com>
Reviewed-by: Noah Gold <nkgold@google.com>
2023-08-14 23:03:39 +00:00
recipe-roller
b68e2564e4 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/8772753354594604321

recipe_engine:
49fcf05d07
  49fcf05 (gregorynisbet@google.com)
      [recipes] Set add_subparsers required=True in test command as well

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: I6246edb5dc2d234d51ad7897811d7fd39e690852
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4779264
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-14 21:24:55 +00:00
recipe-roller
811f1512c3 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/8772754611176958817

recipe_engine:
6c7baef8a1
  6c7baef (olivernewman@google.com)
      [recipes.py] Fix crash when run with no subcommand in py3

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: Id622cbcf282ce739ea968365a5633057966477be
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4779257
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-14 21:10:49 +00:00
Dennis Kempin
accbf3b693 Replace internal p9 with crates.io versio
The code is being moved to https://github.com/google/rust-p9 and published via crates.io

BUG=b:293164618
TEST=presubmit

Change-Id: Iee96cdff8bae6f9ae4faa59dfc80d2132ed31822
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4735191
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-14 18:34:51 +00:00
recipe-roller
1eca601ead 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/8773010046018280273

depot_tools:
f44f219157
  f44f219 (aravindvasudev@google.com)
      Change cwd when --deps-file is provided

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: I49d353d15ee841838af611d0ba629cb04951b98d
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4776271
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-12 01:25:34 +00:00
Daniel Verkamp
045a3074ef Cargo.toml: add version to chrono dependencies
The newest chrono version is currently on the 0.4.x branch, but there
are preparations to release a 0.5.x version. Explicitly specify a 0.4.x
version in our dependencies since there will be backwards-incompatible
API breakages in 0.5.x.
<https://github.com/chronotope/chrono/issues/970>

The exact version chosen (chrono 0.4.19) matches the version we have
pinned in Cargo.lock currently and will match any newer 0.4.x releases,
so there should be no functional change.

BUG=None
TEST=cargo build

Change-Id: Ifa24a547e435ab4987be9358343e6b25c1385c66
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4774870
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-08-11 21:02:25 +00:00