[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Help: VMXNET3 support with XEN 4.4.1


  • To: "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • From: "Singhal, Upanshu" <upanshu.singhal@xxxxxxx>
  • Date: Fri, 19 Dec 2014 12:04:33 +0000
  • Accept-language: en-US
  • Delivery-date: Fri, 19 Dec 2014 12:10:03 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: AdAbg+gVpGg69F+/TKC4f+QiMDYySw==
  • Thread-topic: Help: VMXNET3 support with XEN 4.4.1

Hello,

 

In one of my experiment, I am building a Linux VM with Network interface model as “vmxnet3”. I am able to create the VM successfully, but I see that the driver loaded is “vif” and not “vmxnet3”. I am using the following option for the network interface: vif = [ 'type=ioemu, mac=00:16:3e:00:00:22, bridge=xenbr0, model=vmxnet3' ]

 

I tried with model as e1000 and it works fine. Lspci command also does not show vmxnet3. Though, qemu device help shows that “vmxnet3” is supported on XEN 4.4.1 version I am using.

 

I tried searching on internet about the right configuration for vmxnet3 with XEN, but not able to find right information. Can someone please help me on how to create a VM with vmxnet3?

 

This experiment I am doing to compare the difference between vmxnet3 bandwidth on VMWARE ESXi vs. XEN Server. My sample VM configuration file is:

 

# This configures an HVM rather than PV guest

builder = "hvm"

 

# Guest name

name = "rhel-vmxnet3-xen-2.hvm"

 

# 128-bit UUID for the domain as a hexadecimal number.

# Use "uuidgen" to generate one if required.

# The default behavior is to generate a new UUID each time the guest is started.

#uuid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"

 

# Enable Microsoft Hyper-V compatibile paravirtualisation /

# enlightenment interfaces. Turning this on can improve Windows guest

# performance and is therefore recommended

#viridian = 1

 

# Initial memory allocation (MB)

memory = 8192

 

# Maximum memory (MB)

# If this is greater than `memory' then the slack will start ballooned

# (this assumes guest kernel support for ballooning)

#maxmem = 512

 

# Number of VCPUS

vcpus = 8

 

# Network devices

# A list of 'vifspec' entries as described in

# docs/misc/xl-network-configuration.markdown

vif = [ 'type=ioemu, mac=00:16:3e:00:00:22, bridge=xenbr1, model=vmxnet3' ]

 

# Disk Devices

# A list of `diskspec' entries as described in

# docs/misc/xl-disk-configuration.txt

disk = [ '/root/rhel_6_4/rhel-vmxnet3-xen-2.img,raw,xvda,rw', 'file:/root/rhel-server-6.4-x86_64-dvd.iso,hdc:cdrom,r' ]

boot='cd'

 

# Guest VGA console configuration, either SDL or VNC

# sdl = 1

vnc = 2

 

Thanks,

-Upanshu

 

 

Upanshu Singhal

EMC Data Storage Systems, Bangalore, India.

Phone: 91-80-67375604

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.