vsock_logcat logs only once on failure, to the kernel logs is needed.

vsock_logcat keeps an android property (vsock_logcat_status) with its
state (started or failed). On failure, it checks the value of the
property and only logs if it wasn't 'failed'. This prevents it from
overflowing the log buffers.

When the failure is due to a missing connection, it logs to the kernel
logs too, as the android logs are not available host side.

Bug: 125356763
Test: run locally
Change-Id: I7b11995fec6fd8720047129c4bdb07257253c77e
1 file changed
tree: 088267e21fdbe6bb762f7602a3369bb85640ff7e
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS