diff options
author | RajithaY <rajithax.yerrumsetty@intel.com> | 2017-04-25 03:31:15 -0700 |
---|---|---|
committer | Rajitha Yerrumchetty <rajithax.yerrumsetty@intel.com> | 2017-05-22 06:48:08 +0000 |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/hw/net/vmxnet_debug.h | |
parent | a14b48d18a9ed03ec191cf16b162206998a895ce (diff) |
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to
kvmfornfv repo and make use of the updated latest qemu for the
execution of all testcase
Change-Id: I1280af507a857675c7f81d30c95255635667bdd7
Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/hw/net/vmxnet_debug.h')
-rw-r--r-- | qemu/hw/net/vmxnet_debug.h | 148 |
1 files changed, 0 insertions, 148 deletions
diff --git a/qemu/hw/net/vmxnet_debug.h b/qemu/hw/net/vmxnet_debug.h deleted file mode 100644 index 96495dbb1..000000000 --- a/qemu/hw/net/vmxnet_debug.h +++ /dev/null @@ -1,148 +0,0 @@ -/* - * 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 <dmitry@daynix.com> - * Tamir Shomer <tamirs@daynix.com> - * Yan Vugenfirer <yan@daynix.com> - * - * 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 - -#define VMXNET_DEVICE_NAME "vmxnet3" - -#define VMXNET_DEBUG_WARNINGS -#define VMXNET_DEBUG_ERRORS - -#undef VMXNET_DEBUG_CB -#undef VMXNET_DEBUG_INTERRUPTS -#undef VMXNET_DEBUG_CONFIG -#undef VMXNET_DEBUG_RINGS -#undef VMXNET_DEBUG_PACKETS -#undef VMXNET_DEBUG_SHMEM_ACCESS - -#ifdef VMXNET_DEBUG_CB -# define VMXNET_DEBUG_CB_ENABLED 1 -#else -# define VMXNET_DEBUG_CB_ENABLED 0 -#endif - -#ifdef VMXNET_DEBUG_WARNINGS -# define VMXNET_DEBUG_WARNINGS_ENABLED 1 -#else -# define VMXNET_DEBUG_WARNINGS_ENABLED 0 -#endif - -#ifdef VMXNET_DEBUG_ERRORS -# define VMXNET_DEBUG_ERRORS_ENABLED 1 -#else -# define VMXNET_DEBUG_ERRORS_ENABLED 0 -#endif - -#ifdef VMXNET_DEBUG_CONFIG -# define VMXNET_DEBUG_CONFIG_ENABLED 1 -#else -# define VMXNET_DEBUG_CONFIG_ENABLED 0 -#endif - -#ifdef VMXNET_DEBUG_RINGS -# define VMXNET_DEBUG_RINGS_ENABLED 1 -#else -# define VMXNET_DEBUG_RINGS_ENABLED 0 -#endif - -#ifdef VMXNET_DEBUG_PACKETS -# define VMXNET_DEBUG_PACKETS_ENABLED 1 -#else -# define VMXNET_DEBUG_PACKETS_ENABLED 0 -#endif - -#ifdef VMXNET_DEBUG_INTERRUPTS -# define VMXNET_DEBUG_INTERRUPTS_ENABLED 1 -#else -# define VMXNET_DEBUG_INTERRUPTS_ENABLED 0 -#endif - -#ifdef VMXNET_DEBUG_SHMEM_ACCESS -# define VMXNET_DEBUG_SHMEM_ACCESS_ENABLED 1 -#else -# define VMXNET_DEBUG_SHMEM_ACCESS_ENABLED 0 -#endif - -#define VMW_SHPRN(fmt, ...) \ - do { \ - if (VMXNET_DEBUG_SHMEM_ACCESS_ENABLED) { \ - printf("[%s][SH][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ - ## __VA_ARGS__); \ - } \ - } while (0) - -#define VMW_CBPRN(fmt, ...) \ - do { \ - if (VMXNET_DEBUG_CB_ENABLED) { \ - printf("[%s][CB][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ - ## __VA_ARGS__); \ - } \ - } while (0) - -#define VMW_PKPRN(fmt, ...) \ - do { \ - if (VMXNET_DEBUG_PACKETS_ENABLED) { \ - printf("[%s][PK][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ - ## __VA_ARGS__); \ - } \ - } while (0) - -#define VMW_WRPRN(fmt, ...) \ - do { \ - if (VMXNET_DEBUG_WARNINGS_ENABLED) { \ - printf("[%s][WR][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ - ## __VA_ARGS__); \ - } \ - } while (0) - -#define VMW_ERPRN(fmt, ...) \ - do { \ - if (VMXNET_DEBUG_ERRORS_ENABLED) { \ - printf("[%s][ER][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ - ## __VA_ARGS__); \ - } \ - } while (0) - -#define VMW_IRPRN(fmt, ...) \ - do { \ - if (VMXNET_DEBUG_INTERRUPTS_ENABLED) { \ - printf("[%s][IR][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ - ## __VA_ARGS__); \ - } \ - } while (0) - -#define VMW_CFPRN(fmt, ...) \ - do { \ - if (VMXNET_DEBUG_CONFIG_ENABLED) { \ - printf("[%s][CF][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ - ## __VA_ARGS__); \ - } \ - } while (0) - -#define VMW_RIPRN(fmt, ...) \ - do { \ - if (VMXNET_DEBUG_RINGS_ENABLED) { \ - printf("[%s][RI][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ - ## __VA_ARGS__); \ - } \ - } while (0) - -#define VMXNET_MF "%02X:%02X:%02X:%02X:%02X:%02X" -#define VMXNET_MA(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] - -#endif /* _QEMU_VMXNET3_DEBUG_H */ |