[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/4] net/vmxnet3: return 1 on device activati
From: |
Shmulik Ladkani |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/4] net/vmxnet3: return 1 on device activation failure |
Date: |
Tue, 22 Dec 2015 22:41:34 +0200 |
Hi,
On Mon, 21 Dec 2015 22:18:21 -0800 Miao Yan <address@hidden> 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