From 8856be151241c3647b6eb0b91b10f2603bbe430c Mon Sep 17 00:00:00 2001 From: Miao Yan Date: Tue, 22 Dec 2015 22:06:10 -0800 Subject: net/vmxnet3: return 0 on unknown command Return 0 on unknown command, this is what esxi (5.x+) behaves. Signed-off-by: Miao Yan Reviewed-by: Dmitry Fleytman Signed-off-by: Jason Wang --- hw/net/vmxnet3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/net/vmxnet3.c') diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c index da59d7d..6ba7c75 100644 --- a/hw/net/vmxnet3.c +++ b/hw/net/vmxnet3.c @@ -1716,7 +1716,7 @@ static uint64_t vmxnet3_get_command_status(VMXNET3State *s) default: VMW_WRPRN("Received request for unknown command: %x", s->last_command); - ret = -1; + ret = 0; break; } -- cgit v1.1