|
From: | Dmitry Fleytman |
Subject: | Re: [Qemu-devel] [PATCH V8 3/5] Adding common definitions for VMWARE devices |
Date: | Fri, 11 Jan 2013 15:35:29 +0200 |
Please drop the VMXNET_VERSION_* conditional dead code, only version 3On Fri, Dec 07, 2012 at 01:15:07PM +0200, Dmitry Fleytman wrote:
> diff --git a/hw/vmxnet_debug.h b/hw/vmxnet_debug.h
> new file mode 100644
> index 0000000..faa1431
> --- /dev/null
> +++ b/hw/vmxnet_debug.h
> @@ -0,0 +1,121 @@
> +/*
> + * QEMU VMWARE VMXNET* paravirtual NICs - debugging facilities
> + *
> + * Copyright (c) 2012 Ravello Systems LTD (http://ravellosystems.com)
> + *
> + * Developed by Daynix Computing LTD (http://www.daynix.com)
> + *
> + * Authors:
> + * Dmitry Fleytman <address@hidden>
> + * Tamir Shomer <address@hidden>
> + * Yan Vugenfirer <address@hidden>
> + *
> + * This work is licensed under the terms of the GNU GPL, version 2 or later.
> + * See the COPYING file in the top-level directory.
> + *
> + */
> +
> +#ifndef _QEMU_VMXNET_DEBUG_H
> +#define _QEMU_VMXNET_DEBUG_H
> +
> +#ifdef VMXNET_VERSION_2
> + #define VMXNET_DEVICE_NAME "vmxnet"
> +#elif defined VMXNET_VERSION_3
> + #define VMXNET_DEVICE_NAME "vmxnet3"
> +#else
> + #error "VMXNET version is not defined"
> +#endif
is used.
Daynix Computing Ltd.
Cell: +972-54-2819481
Skype: dmitry.fleytman[Prev in Thread] | Current Thread | [Next in Thread] |