summary refs log tree commit diff
path: root/acpi_tables/src/sdt.rs
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2020-02-25 10:17:50 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-27 22:24:14 +0000
commit46d61ba80df1ccf8364d9589170b3a7bff1268ee (patch)
tree2ccfe4f87db71a929163c55e73c77c82430fa4af /acpi_tables/src/sdt.rs
parent767333820014495f77b09f54de254e004bd8a5f9 (diff)
downloadcrosvm-46d61ba80df1ccf8364d9589170b3a7bff1268ee.tar
crosvm-46d61ba80df1ccf8364d9589170b3a7bff1268ee.tar.gz
crosvm-46d61ba80df1ccf8364d9589170b3a7bff1268ee.tar.bz2
crosvm-46d61ba80df1ccf8364d9589170b3a7bff1268ee.tar.lz
crosvm-46d61ba80df1ccf8364d9589170b3a7bff1268ee.tar.xz
crosvm-46d61ba80df1ccf8364d9589170b3a7bff1268ee.tar.zst
crosvm-46d61ba80df1ccf8364d9589170b3a7bff1268ee.zip
linux: add disk path to open error message
Previously, if a disk could not be opened, the error message did not
include the path of the disk, e.g.:

  The architecture failed to build the vm: error creating devices:
  failed to load disk image: Read-only file system (os error 30)

To make debugging easier, add the path to Error::Disk.

BUG=b:150181514
TEST=crosvm run --rwdisk ro.img vm_kernel

Change-Id: I7b319c419b889334ecadbb0497dc4b3dc5115aa6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2070844
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Diffstat (limited to 'acpi_tables/src/sdt.rs')
0 files changed, 0 insertions, 0 deletions