gpu: display detailed resource bridge errors

Unfold the anyhow errors returned so we can identify their source
precisely.

BUG=None
TEST=cargo build

Change-Id: I5bdfcc893b7ca98d83561cac820bcee443013547
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3543011
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
2 files changed
tree: d524c974f32beb8de3bc1ed93fbb8aa73048c1ce
  1. .cargo/
  2. .devcontainer/
  3. .github/
  4. aarch64/
  5. acpi_tables/
  6. arch/
  7. base/
  8. bin/
  9. bit_field/
  10. ci/
  11. common/
  12. cros_async/
  13. crosvm-fuzz/
  14. crosvm_control/
  15. crosvm_plugin/
  16. devices/
  17. disk/
  18. docs/
  19. fuse/
  20. gpu_display/
  21. hypervisor/
  22. infra/
  23. integration_tests/
  24. io_uring/
  25. kernel_cmdline/
  26. kernel_loader/
  27. kvm/
  28. kvm_sys/
  29. libcras_stub/
  30. libvda/
  31. linux_input_sys/
  32. logo/
  33. net_sys/
  34. net_util/
  35. power_monitor/
  36. protos/
  37. qcow_utils/
  38. resources/
  39. rutabaga_gfx/
  40. seccomp/
  41. src/
  42. system_api_stub/
  43. tests/
  44. third_party/
  45. tools/
  46. tpm2/
  47. tpm2-sys/
  48. usb_sys/
  49. usb_util/
  50. vfio_sys/
  51. vhost/
  52. virtio_sys/
  53. vm_control/
  54. vm_memory/
  55. win_util/
  56. x86_64/
  57. .dockerignore
  58. .gitignore
  59. .gitmodules
  60. .rustfmt.toml
  61. ARCHITECTURE.md
  62. Cargo.toml
  63. CONTRIBUTING.md
  64. LICENSE
  65. navbar.md
  66. OWNERS
  67. README.chromeos.md
  68. README.md
  69. run_tests
  70. rust-toolchain
  71. setup_cros_cargo.sh
  72. test_all
  73. unblocked_terms.txt
README.md

crosvm - The Chrome OS Virtual Machine Monitor

crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the Chrome OS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.

crosvm is currently used to run Linux/Android guests on Chrome OS devices.

Logo