commit | c8745bab74c0445694aa4fccfc1c41a74d887c7d | [log] [tgz] |
---|---|---|
author | Jorge E. Moreira <jemoreira@google.com> | Thu Mar 14 14:35:48 2019 -0700 |
committer | Jorge E. Moreira <jemoreira@google.com> | Thu Mar 14 17:44:57 2019 -0700 |
tree | 0126820f8043e4cb6fece923900251fd229ff22b | |
parent | 664325e18cde1440e2ae0a272233ae826bdc7634 [diff] |
Configure the tap fd before passing it to crosvm Crosvm doesn't enforce or check any configuration on the tap file descriptors it gets for networking, so the required configuration needs to be set before calling the VMM. This was not a problem with qemu because it actually enforces the configuration it requires. Bug: 127708997 Test: run locally Change-Id: I4979a1d9a60c4dfa6f62f2fec83968c447f8862a