diff options
author | Chirantan Ekbote <chirantan@chromium.org> | 2020-02-21 16:37:27 +0900 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-22 06:20:21 +0000 |
commit | f84c2298e9d7138be0998c289825128144234862 (patch) | |
tree | fdf7ef6d9d72144c0a219213f2d945b1b874a385 /x86_64 | |
parent | d8144a56e26ca09e2c7ff97ed63c57e7e7965674 (diff) | |
download | crosvm-f84c2298e9d7138be0998c289825128144234862.tar crosvm-f84c2298e9d7138be0998c289825128144234862.tar.gz crosvm-f84c2298e9d7138be0998c289825128144234862.tar.bz2 crosvm-f84c2298e9d7138be0998c289825128144234862.tar.lz crosvm-f84c2298e9d7138be0998c289825128144234862.tar.xz crosvm-f84c2298e9d7138be0998c289825128144234862.tar.zst crosvm-f84c2298e9d7138be0998c289825128144234862.zip |
linux.rs: Don't pivot_root when using host's root directory
pivot_root(2) will fail with EBUSY if we try to pivot_root to "/". Check for this case and skip the pivot_root if necessary. BUG=b:147258662 TEST=`tast run <dut> vm.Virtiofs` Change-Id: I1d7645844e183222a561578677fc5f59c080d58c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2067823 Auto-Submit: Chirantan Ekbote <chirantan@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
Diffstat (limited to 'x86_64')
0 files changed, 0 insertions, 0 deletions