help
Enable the Vnet performance profiling in Palacios
-config VNET_BRG
- bool "Enable VNET Bridge"
+config LINUX_VIRTIO_VNET
+ bool "Enable Virtio VNET interface"
default n
depends on PCI && EXPERIMENTAL && VNET
help
- Enable the VNET Bridge device
+ Enable the Virtio VNET interface
-config DEBUG_VNET_BRG
- bool "VNET Bridge Debugging"
+config DEBUG_LINUX_VIRTIO_VNET
+ bool "VNET Virtio Device Debugging"
default n
- depends on VNET_BRG && DEBUG_ON
+ depends on LINUX_VIRTIO_VNET && DEBUG_ON
help
- Enable debugging for the VNET Bridge Device
+ Enable debugging for the VNET Virtio Device
endmenu
obj-$(CONFIG_LINUX_VIRTIO_BLOCK) += lnx_virtio_blk.o
obj-$(CONFIG_LINUX_VIRTIO_SYM) += lnx_virtio_sym.o
obj-$(CONFIG_LINUX_VIRTIO_NET) += lnx_virtio_nic.o
+obj-$(CONFIG_LINUX_VIRTIO_VNET) += lnx_virtio_vnet.o
obj-$(CONFIG_VNET_NIC) += vnet_nic.o
obj-$(CONFIG_NVRAM) += nvram.o
obj-$(CONFIG_OS_DEBUG) += os_debug.o
obj-$(CONFIG_SYMMOD) += lnx_virtio_symmod.o
-obj-$(CONFIG_VNET_BRG) += lnx_virtio_vnet.o
#include <devices/pci.h>
-#ifndef CONFIG_DEBUG_VNET_BRG
+#ifndef CONFIG_LINUX_VIRTIO_VNET_DEBUG
#undef PrintDebug
#define PrintDebug(fmt, args...)
#endif
};
-static int vnet_brg_init(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) {
+static int dev_init(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) {
struct vm_device * pci_bus = v3_find_dev(vm, v3_cfg_val(cfg, "bus"));
struct virtio_vnet_state * vbrg_state = NULL;
struct pci_device * pci_dev = NULL;
}
-device_register("LNX_VNET_BRG", vnet_brg_init)
+device_register("LNX_VIRTIO_VNET", dev_init)