X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fnic_bridge.c;h=518fa750d61f1dc9ae641adba50d6f56d5083374;hb=b21326f1dd2bcd45a3067169e0a328316312b3f1;hp=ed1cd92bf67506f437a16f7a41ff9c16bb6e66cb;hpb=6f054c76f8e98f2e38f1f8a1f57ed7c24dc5c70e;p=palacios.git diff --git a/palacios/src/devices/nic_bridge.c b/palacios/src/devices/nic_bridge.c index ed1cd92..518fa75 100644 --- a/palacios/src/devices/nic_bridge.c +++ b/palacios/src/devices/nic_bridge.c @@ -23,9 +23,9 @@ #include #include #include -#include +#include -#ifndef CONFIG_DEBUG_NIC_BRIDGE +#ifndef V3_CONFIG_DEBUG_NIC_BRIDGE #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -36,9 +36,10 @@ struct nic_bridge_state { }; static int bridge_send(uint8_t * buf, uint32_t len, + int synchronize, void * private_data) { -#ifdef CONFIG_DEBUG_NIC_BRIDGE +#ifdef V3_CONFIG_DEBUG_NIC_BRIDGE { PrintDebug("NIC Bridge: send pkt size: %d\n", len); v3_hexdump(buf, len, NULL, 0); @@ -53,7 +54,7 @@ static int packet_input(struct v3_vm_info * vm, void * private_data) { struct nic_bridge_state * bridge = (struct nic_bridge_state *)private_data; -#ifdef CONFIG_DEBUG_NIC_BRIDGE +#ifdef V3_CONFIG_DEBUG_NIC_BRIDGE { PrintDebug("NIC Bridge: recv pkt size: %d\n", evt->size); v3_hexdump(evt->pkt, evt->size, NULL, 0);