X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fvnet_nic.c;h=526da07914570adb29d0963b31815aff6e2b3378;hb=d962f2be029772be3f21d9bd206ddf2a9f6a1d20;hp=4850d9393d1e2a92ffada69787e2232a224cab71;hpb=9a9f3939dfe7cb228d88853fc253b00572404e74;p=palacios-OLD.git diff --git a/palacios/src/devices/vnet_nic.c b/palacios/src/devices/vnet_nic.c index 4850d93..526da07 100644 --- a/palacios/src/devices/vnet_nic.c +++ b/palacios/src/devices/vnet_nic.c @@ -117,12 +117,15 @@ static void stop_tx(void * private_data){ } -static int vnet_nic_free(struct vm_device * dev) { +static int vnet_nic_free(struct vnet_nic_state * vnetnic) { + + + V3_Free(vnetnic); return 0; } static struct v3_device_ops dev_ops = { - .free = vnet_nic_free, + .free = (int (*)(void *))vnet_nic_free, };