Commit graph

7280 commits

Author SHA1 Message Date
Zihan Chen
9151130e4d e2e_tests: Update guest kernel config and initramfs
As I'm tinkering with the first real benchmark (pgbench), a few
kernel configs are found to be missing to support psql to run in
e2e test guests. Among with previously added but not uprev-ed
KConfig changes, an uprev is prepared.

Initramfs script is also updated to match distribution behavior.

TEST=locally can pass postgres e2e benchmark

BUG=b:257303497

Change-Id: I69b44e3156d3296cbef7fa41804e8b54e4aaf0ab
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4761848
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Zihan Chen <zihanchen@google.com>
2023-08-11 20:29:24 +00:00
recipe-roller
0de4fd273f 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/8773031436896077105

depot_tools:
69611efc03~..e460dac109fb9fcd3191f3cb01152e5a665cb4f3
  69611ef (sokcevic@chromium.org)
      Upgrade git to 2.41.0.chromium.11
  f90cc29 (vapier@chromium.org)
      vpython: clear DEPOT_TOOLS_DIR before running scripts
  e460dac (jojwang@google.com)
      Set default value newly gitlinks from applied 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: I1f89f6f2753a004315b4e3354c25466a01ce30a4
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4774872
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-11 19:47:59 +00:00
Frederick Mayle
b765292695 devices: vhost: user: use TaskHandle::cancel instead of AbortHandle
No behavior change intended.

The `reset` methods now wait for the task to be dropped, but that
shouldn't make any difference unless the task's future was currently
being poll'd, which I think would imply a multiple threads invoking the
executor (not supported because of spawn_local usage) or recursion (i.e.
`reset` was called from within the task).

Change-Id: I882ac239d6ee331bc66e0477dfab264d5f6827b5
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4771834
Commit-Queue: Frederick Mayle <fmayle@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-11 18:24:19 +00:00
Judy Hsiao
72b1801216 devices: pci: remove AC97 codes
Remove the AC97 codes on crosvm as it's replaced by virtio-snd

BUG=b:281092802
BUG=b:237681055
TEST=./tools/run_tests

Change-Id: Id7390930c355f7bcfe19f5e62bd678c31f79551e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4747399
Reviewed-by: Richard Zhang <rizhang@google.com>
Reviewed-by: Jorge Moreira Broche <jemoreira@google.com>
Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org>
Commit-Queue: Judy Hsiao <judyhsiao@google.com>
Auto-Submit: Judy Hsiao <judyhsiao@google.com>
2023-08-11 03:29:31 +00:00
recipe-roller
736c644598 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/8773105672493080817

depot_tools:
c91e2aaa9c
  c91e2aa (aravindvasudev@google.com)
      Fix filepath issue within ParseGitSubmodules()

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: Ie53b67240d182c8b7080219277f542c11e75d69d
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4769868
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-11 00:07:35 +00:00
recipe-roller
0aeb8f3743 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/8773106933607391553

depot_tools:
2541006811
  2541006 (jojwang@google.com)
      Don't commit unstaged gitlinks in FREEZE.index during rebase-up...

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: I0a9fe8d444006d4a37ed2832fef706df90121ce4
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4771981
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-10 23:44:48 +00:00
recipe-roller
ab4a4a88af 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/8773109451298481937

depot_tools:
923bcf8635
  923bcf8 (gregorynisbet@google.com)
      [git] add ignore_submodules option to status command in git_com...

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: I826d8ee1167554402f282a63f1be8ed86812a7d5
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4769865
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-10 23:06:14 +00:00
recipe-roller
01dd53bc3a 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/8773110708862384241

depot_tools:
de6bc6620a
  de6bc66 (sokcevic@chromium.org)
      Improve presubmit check messaging

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: Ia87a22a1a7e3c384d02f6ee434b318a3f2cc74a1
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4769864
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-10 22:48:08 +00:00
recipe-roller
a7ac106413 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/8773116371905485793

recipe_engine:
305f336a28
  305f336 (chromium-autoroll@skia-public.iam.gserviceaccount.com)
      Roll CAS Client from 66a4cb31d236 to 77c9b09de8f2

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: Ia2e8a047d4e6194c244b590bb000e85cd3c9e13b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4769861
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-10 21:20:01 +00:00
recipe-roller
5ef8aa759c 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/8773136504377598721

depot_tools:
2d109056fb
  2d10905 (jwata@google.com)
      [reclient] Add quotes to download_remoteexec_cfg in error message

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: If8f0da9211e0d06f6a6337e4604840f8ebab49f3
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4769815
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-10 15:59:46 +00:00
Natsuko Mineno
e8b2cd080e docs: add USB to cros_tracing categories
BUG=b:295105245
TEST=mdbook build

Change-Id: I2369a32d820f2d71f8196c83d7b1cd2087b5e5e7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4768219
Reviewed-by: Ryuichiro Chiba <chibar@chromium.org>
Reviewed-by: Morg <morg@google.com>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Natsuko Mineno <natsukomineno@chromium.org>
2023-08-10 05:25:06 +00:00
Ryuichiro Chiba
ebca0e7abb devices: usb: Fix a wrong indexing bug for Streams
We need to skip the first stream context because Stream ID 0 is reserved
by the specification.
This CL fixes indexing bugs to modify correct stream contexts

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

Change-Id: Ib3571fc460d5ca04e3469815481296191216b4e5
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763919
Commit-Queue: Ryuichiro Chiba <chibar@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-10 03:43:41 +00:00
Keiichi Watanabe
8c4cf3102d tools: contrib: Add memstats_chart
Add a tool to gather and visualize memory data for a running crosvm
instance.

BUG=b:290331222
TEST=Run the tool for ARCVM/Borealis

Change-Id: Iffb3c60dfab6bc9e21979ef3ce367cad0e8b0514
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4712086
Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
Commit-Queue: Junichi Uekawa <uekawa@chromium.org>
2023-08-10 02:17:22 +00:00
recipe-roller
94085f4d43 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/8773191240029399921

depot_tools:
84c0bbaf04
  84c0bba (sokcevic@chromium.org)
      Disable git's recurse submodule fetch

recipe_engine:
a53c965400
  a53c965 (gregorynisbet@google.com)
      [recipes] Add checks to ensure_tool method of CIPD package

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: Ia3469fe3b019bc33e5dc3b5a5ed98fb6f5c7454e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4767437
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-10 01:28:30 +00:00
recipe-roller
ede8d53e7c 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/8773192494413519697

recipe_engine:
20ef0dc9f4
  20ef0dc (yiwzhang@google.com)
      tricium: use cpplint built by the builder

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: I3130d7e4fbd4c32a8c8fd470adcf4285c6900d5a
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4767897
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-10 01:07:56 +00:00
recipe-roller
ee183cb6d3 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/8773197531151113409

depot_tools:
11b07527e6
  11b0752 (jojwang@google.com)
      Sync gitlinks to DEPS so commits from applied patches are used.

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: I5278c7523835ed970be144b307324a02ebd422e8
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4767436
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-09 23:48:13 +00:00
recipe-roller
901d76b0a6 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/8773201305253725137

depot_tools:
e015bcd978
  e015bcd (yiwzhang@google.com)
      add yiwzhang and ddoman to depot_tools OWNERS

recipe_engine:
12230741d4
  1223074 (mohrr@google.com)
      cv: Rename from cq

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: Idc57479138459ebcabd2267599bd692169d334f9
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763996
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-09 22:45:44 +00:00
Daniel Verkamp
4a3d1c22fa x86_64: fill SMBIOS ROM size field
This only has a sensible value when --bios is used; otherwise, we will
still end up with the previous value (0 meaning 64K BIOS ROM).

BUG=None
TEST=dmidecode

Change-Id: Ieef05d739bb6e9236cb90feb9bcaedfa23f67c3b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4762784
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Zihan Chen <zihanchen@google.com>
2023-08-09 22:25:07 +00:00
Daniel Verkamp
54f80c60f1 x86_64: add SMBIOS serial number option
Allows adding an optional serial number to the SMBIOS table.

BUG=b:249382713
TEST=crosvm run --smbios serial-number=abcdef ...

Change-Id: I00a00defb6904dbfa8ae38910b887e0a464787e3
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4761847
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Zihan Chen <zihanchen@google.com>
Reviewed-by: Mike Gerow <gerow@google.com>
2023-08-09 21:00:20 +00:00
Daniel Verkamp
2422c65f3d x86_64: move SMBIOS config to a new --smbios option
Move oem_strings into a struct to allow for clearly-named parameters.
This allows overriding the default SMBIOS strings for BIOS and product
information.

BUG=b:282921262
BUG=b:249382713
TEST=cargo test -p x86_64

Change-Id: I5bf40f3c3ee1b675fdcaf427c15e5b0c74549379
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4761846
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Mike Gerow <gerow@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Zihan Chen <zihanchen@google.com>
2023-08-09 20:59:35 +00:00
Daniel Verkamp
0e0814e4f5 x86_64: fix SMBIOS end-of-table structure
Previously, dmidecode would complain that the table was one byte too
short. The final table only has a single 00h byte following it, but the
SMBIOS specification requires a double-null terminator (0000h) after
each structure. The other structures already meet this requirement
because they contain strings, which end in 00h; a single extra 00h
terminator byte is required in this case. On the other hand, the
END_OF_TABLE structure does not have any strings, so it needs to add two
00h bytes as a terminator.

Additionally, the end-of-table struct was represented with the
SmbiosSysInfo struct, which is the wrong size; the spec says the length
should be 4 (only including the type, length, and handle fields). Define
a new type to represent the end-of-table structure so the size is
correct.

Old dmidecode output:
> Handle 0x0003, DMI type 127, 27 bytes
>         <TRUNCATED>
> Wrong DMI structures length: 104 bytes announced, structures occupy 105 bytes.

New dmidecode output:
> Handle 0x0003, DMI type 127, 4 bytes
> End Of Table

BUG=None
TEST=dmidecode in guest

Change-Id: Ic12487028d3fb4cf70918071744350272b6ccebe
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4761845
Reviewed-by: Mike Gerow <gerow@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Zihan Chen <zihanchen@google.com>
2023-08-09 20:56:30 +00:00
Junichi Uekawa
47fcce7991 docs: book: Add reference to trace_marker USE flag.
Instead of having to search for it in the codebase, maybe add a reference here.

If there's more CrOS specific stuff, we can split it out to a separate section later.

BUG=None
TEST=read it.

Change-Id: I4e66e69388881a2022eb6852134be534aff5fdcd
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4762724
Commit-Queue: Junichi Uekawa <uekawa@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
2023-08-09 20:24:13 +00:00
recipe-roller
0ea7c3246c 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/8773213260387853825

depot_tools:
467991e727
  467991e (bentekkie@google.com)
      reclient: support -o and --offline flags in autoninja

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: I1fadabb96a5fb5ec099056ada2278bfaab71aaa1
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763875
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-09 19:34:53 +00:00
maciek swiech
98ad43515a balloon: change intervals and thresholds to u32
kernel stores these values as u32 isntead of u64, so to prevent needless
casting change to use the same type in crosvm's balloon device.

BUG=b/285581266
TEST=cargo build && cargo build --no-default-features && cargo build --features registered_events
TEST=cargo build -p crosvm_control --features registered_events
TEST=cros_sdk emerge-volteer crosvm && cros_sdk emerge-volteer vm_host_tools

Change-Id: I7672063851f5044b1adf39042ee3b98b478829ed
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4724907
Commit-Queue: maciek swiech <drmasquatch@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-09 19:31:25 +00:00
recipe-roller
f243338265 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/8773214517953680497

depot_tools:
e29d5e9ad5
  e29d5e9 (aravindvasudev@google.com)
      Fix ParseGitSubmodules for git v2.34

recipe_engine:
17a36f74a8
  17a36f7 (iannucci@chromium.org)
      Remove PROPERTIES from importer.

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: Ie59c0e18c978222bc596739746b5b3ec2d932dbd
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763992
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-09 19:21:00 +00:00
recipe-roller
e1ce6c86f2 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/8773216404010528449

recipe_engine:
f846d2dc75
  f846d2d (gregorynisbet@google.com)
      [recipes] Add type annotations to archive 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: I8cb4ea48413f0f57ff5977dcbdf33efe90c4c670
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763873
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-09 18:44:30 +00:00
Daniel Verkamp
dfbdd75de9 devices: virtio: use mass storage class for block devices
This is slightly different than the PCI class code used by QEMU, which
is 0x0100 (mass storage, SCSI controller). We instead use 0x0180 to
indicate a mass storage controller with a non-standardized/vendor
specific programming interface (ref: PCI Code and ID Assignment
Specification).

SCSI isn't really accurate for a virtio-blk device (our implementation
does not accept SCSI commands at all, although there is a pre-virtio-1.0
option for sending them).

The Linux virtio-blk guest driver does not care about the PCI class code
either way (it only matches on the PCI vendor+device ID range assigned
for virtio devices and uses the virtio-specific device type to
distinguish between e.g. virtio-blk and virtio-scsi), so it should be
fine to use the Other/Vendor-specific subclass code.

lspci diff:
-00:04.0 Unclassified device [00ff]: Red Hat, Inc. Virtio block device [1af4:1042] (rev 01)
+00:04.0 Mass storage controller [0180]: Red Hat, Inc. Virtio block device [1af4:1042] (rev 01)

BUG=None
TEST=lspci -vvvnnn # "Mass storage controller" for block devices

Change-Id: I7958dbb1c197fe52afb386ebb9afa9f5107a56cd
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4740712
Reviewed-by: Morg <morg@google.com>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-09 17:58:26 +00:00
Gurchetan Singh
98dde09c4d docs: fix meson commands
Fixes:

"WARNING: Running the setup command as `meson [options]`
 instead of `meson setup [options]` is ambiguous and
 deprecated."

BUG=b:291606715
TEST=compile

Change-Id: I19ab4f7bcb6610a80ae0929a99c1fefd35b87f63
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763870
Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-09 17:24:21 +00:00
Gurchetan Singh
a5f42c4282 rutabaga_gfx/ffi: u64 --> *c_void
Removes the need of casts for API user.

BUG=b:273555494
TEST= compile

Change-Id: I32c545394e67546ea0bd118452bdbd430dd8735d
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763869
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
2023-08-09 17:24:14 +00:00
Joe Hattori
ab3d88e71f docs: make sure user is added to the kvm group in running_crosvm/example_simple.md.
At present, the `tools/examples/example_simple` script fails with an
access error when the user is not added to the kvm group.

This commit makes sure the user is added to the kvm group when trying to
run crosvm in running_crosvm/example_simple.md.

Tested on my local environment and checked the script works regardless
of the user being in the kvm group.

BUG=b:294970555
TEST=./tools/presubmit
TEST=./tools/examples/example_simple works regardless of user being in
the kvm group
TEST=shellcheck

Change-Id: I19e42af048774f68c7e0a93afa89a7acd183ba82
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763917
Reviewed-by: Takaya Saeki <takayas@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Joe Hattori <hattorij@google.com>
2023-08-09 10:37:25 +00:00
recipe-roller
445e0d4f68 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/8773266107506786561

depot_tools:
397276fe81
  397276f (vapier@chromium.org)
      cipd_bin_setup: load cipd script instead of running it

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: I51fe8330ea907e4afd9779238910d12ee5a64b0b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763830
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-09 05:36:47 +00:00
Federico 'Morg' Pareschi
c597e2e23c docs: Improve wording on crosvm landing page
The original wording was very short and a bit unclear so I decided to
re-write it a bit. I also add a link to our getting started page and
further references to crosvm's strong points (sandboxing, etc)

BUG=None
Test=mdbook build + verified it looks good

Change-Id: If4a0c62643222336b32f75668ee61689b06cda09
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4753338
Commit-Queue: Morg <morg@google.com>
Auto-Submit: Morg <morg@google.com>
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
2023-08-09 04:45:25 +00:00
recipe-roller
bab4387659 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/8773276175089462897

depot_tools:
18c726d5b1
  18c726d (aravindvasudev@google.com)
      Fix git submodule status pattern

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: I2a7cb23ada6ecd0c3dec0f41264d5bb70aadf292
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4763071
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-09 02:56:05 +00:00
recipe-roller
c1b611c254 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/8773280576989188897

depot_tools:
d6f65bfa32~..3ab2f212894b99de34cc5b5745d35307ee4e98a0
  d6f65bf (sokcevic@chromium.org)
      Revert "[cipd] Detect Mac ARM running under Rosetta"
  3ab2f21 (jojwang@google.com)
      gclient: add gitmodules command to update/add submodules based...

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: Ieb4f0d79e6e084e85d57900035a891b1a4277b18
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4764724
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-09 01:45:33 +00:00
Daniel Verkamp
c3622e7f8d devices: virtio: make Queue own its Event
This cleans up the activate() signature and avoids the need to pass two
related (Queue, Event) variables everywhere a queue is needed.

No functional change intended.

BUG=None
TEST=tools/dev_container tools/presubmit

Change-Id: I9e5259428b39ad3a677fbb8a0bf574b3f15a7f35
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4738991
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-08 22:57:48 +00:00
Junichi Uekawa
f931125120 docs: Update chrome os workflow.
cros_workon_make clobbers files and it's difficult to work with. It
seems like the build process clobbering Cargo.toml and a few files at
every build also does not make incremental build work very well. So
instead of suggesting cros_workon_make, suggest emerge and cros
build-packages. It seems to be what people are using.

BUG=None
TEST=read it

Change-Id: Ibc8ad020b73708b75eb752893ca67da1276fcb71
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4759384
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2023-08-08 21:38:34 +00:00
recipe-roller
2c0a9710ee 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/8773300707857880001

depot_tools:
be8033c7e1
  be8033c (chanli@chromium.org)
      Revert "[depot_tools] roll lucicfg from 1.39.11 to 1.39.12"

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: I9d1530c0eb6009bc9a04d23e2ac6302dd6b7c411
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4761446
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-08 20:25:39 +00:00
Frederick Mayle
6919b3ed01 rutabaga_gfx: remove layer of boxing from RutabagaHandler
Just random cleanup while browsing.

Change-Id: Idbbddab072abc0de36e03b7fac8fde263e1bcfec
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4753011
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Frederick Mayle <fmayle@google.com>
2023-08-08 19:33:24 +00:00
Frederick Mayle
468ec9a0d8 devices: fix double restore/snapshot of virtio-gpu devices
BUG=b:266514608

Change-Id: If624cab44040022afe8b4c9a25dbadd82a498dc0
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4753008
Commit-Queue: Frederick Mayle <fmayle@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-08 19:32:42 +00:00
Frederick Mayle
83614e0986 devices: fail on missing BusDevice snapshot + related cleanup
Instead of printing an info log, bubble up an error.

Also, added the devices debug_label as context to all the errors.

BUG=b:253514925

Change-Id: I95995ef314a783ed340ff3862e0e5b4061f5179a
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4752935
Reviewed-by: Noah Gold <nkgold@google.com>
Reviewed-by: Richard Zhang <rizhang@google.com>
Reviewed-by: Steven Moreland <smoreland@google.com>
2023-08-08 19:32:42 +00:00
recipe-roller
c5fa377e35 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/8773307632198426481

depot_tools:
5a4c350ee9
  5a4c350 (brucedawson@chromium.org)
      Teach autoninja to handle siso/autosiso

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: I11c2c02c78b0d0ae51e529809ce130e3665e614e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4761445
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-08 18:36:05 +00:00
Daniel Verkamp
90178b745f devices: vhost-user: vmm: factor out handler num_queues()
Making this a separate function allows the caller to distinguish whether
the backend supports retrieving the number of queues, which will be used
in a following patch.

BUG=b:262291811
TEST=Boot x86_64 Linux from vhost-user block device

Change-Id: I95ade25c877c795c3b2a2e3ffc868d400f742d96
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4113002
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-08 17:58:29 +00:00
Jason Macnak
a61d703cc2 devices: vhost-user: gpu: Respect blob command line props
... as Cuttlefish would like to start setting these.

BUG=b:200592498
TEST=launch Cuttlefish w/ system blob on ARM board with Nvidia
     GPU which has VK_EXT_external_memory_host

Change-Id: I0f4e63c4a29138ec6b43e8fafebaba5216147331
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4760404
Commit-Queue: Jason Macnak <natsu@google.com>
Reviewed-by: Idan Raiter <idanr@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-08-08 17:47:01 +00:00
Alyssa Ross
998597a1bd devices: gpu: map with the right PROT_* flags
This will allow differentiating between the keymap, which must be
mapped read-only (this is enforced by at least Weston and Sway), with
all the other handles, which are writeable.

Add them the map_info field.  Maybe in the future, they can be apart
of the virtio-spec (if we can't rely on the hypervisor only to enfore
the read-only attribute).

TEST=run a Wayland application in a VM with a wlroots host compositor
     run gfxstream

Change-Id: Ie381806a5b7c5edf725caece9a4b02a7f5775ea1
Co-authored-by: Idan Raiter <idanr@google.com>
Tested-by: Ryan Neph <ryanneph@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4584252
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
2023-08-08 17:35:20 +00:00
recipe-roller
bd008d939a 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/8773312663873995361

depot_tools:
07289ce941
  07289ce (chanli@chromium.org)
      [depot_tools] roll lucicfg from 1.39.11 to 1.39.12

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: I9065d8aba540ecd16f10e4a44999030ebb6f933f
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4761444
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-08 17:16:08 +00:00
recipe-roller
2daeeb4f91 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/8773315808612457345

recipe_engine:
7f314250a9
  7f31425 (artbello@google.com)
      [ResultDB] Add 'test_regex' argument to rdb api

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: I9c2a93271ca2e0144915f9ad1c2010251182b1ee
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4760545
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-08 16:27:37 +00:00
Alexandre Courbot
8e1f220c69 devices: video: update jail settings to support VAAPI backend
VAAPI requires one more system call and access to the mesa drivers on
the host.

BUG=b:262824148
TEST=presubmit

Change-Id: I8c382472675d61365167ec2a8a3f1544e35858c4
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4744561
Auto-Submit: Alexandre Courbot <acourbot@chromium.org>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
2023-08-08 14:58:10 +00:00
recipe-roller
68c1a7eec1 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/8773362995702025425

depot_tools:
0f8ce6d99f
  0f8ce6d (jwata@google.com)
      [reclient] update error message for missing reclient binaries/c...

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: I75c0ae15b8566df11b7e68cb69353d47b152c9fb
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4756891
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-08 03:59:37 +00:00
recipe-roller
26ddb1ef21 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/8773383752563413217

depot_tools:
02e70b4357
  02e70b4 (kbr@chromium.org)
      Handle error conditions when joining scm.GIT.RefToRemoteRef.

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: I744768e1f6d15b8ef941705a917d29e6345b91e0
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4753010
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-07 22:25:14 +00:00
Noah Gold
cd5b0b1000 src: fix control server notifiers.
The close notifier for a client connection to the control
server wasn't being removed from the run_control wait_ctx
when a client disconnected. This caused WFMO to fail with
a bad handle. This CL fixes that issue.

BUG=b:294134741
TEST=verified sending commands to the control server no longer causes
the VM to exit prematurely.

Change-Id: I66e02ada8903d6b24c1513c4800903a7e51b16b2
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4752841
Reviewed-by: Vikram Auradkar <auradkar@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
2023-08-07 22:10:06 +00:00