Hi, On Mon, 21 Dec 2015 22:18:21 -0800 Miao Yan <yanmiaob...@gmail.com> wrote: > When reading device status, 0 means device is successfully > activated and 1 means error. > > This behavior can be observed by the following steps: > > 1) run a Linux distro on esxi server > 2) modify vmxnet3 Linux driver to give it an invalid > address to 'adapter->shared_pa' which is the > shared memory for guest/host communication > > This will trigger device activation failure and kernel > log will have the following message: > > [ 7138.403256] vmxnet3 0000:03:00.0 eth1: Failed to activate dev: error 1
Could it be that various other error codes might be returned from ESXi for a VMXNET3_CMD_ACTIVATE_DEV read, depending on device condition? Regards, Shmulik