Macvtap on Xen 4.6.6-3.el7

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Macvtap on Xen 4.6.6-3.el7

Naveen Mamindlapalli
Hi All,

Did anyone tried to use macvtap on Xen guest VM? I am getting
following errors when I tried to add interface type = 'direct' in the
guest xml file and start guest VM using virt-manager.

Error starting domain: unsupported configuration: unsupported
interface type direct
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 124, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in newfn
    ret = fn(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1489, in startup
    self._backend.create()
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1035, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: unsupported configuration: unsupported interface type direct

Guest VM XML file (interface details):
    <interface type='direct'>
      <mac address='52:54:00:e1:d8:2c'/>
      <source dev='em2' mode='bridge'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00'
function='0x0'/>
    </interface>

[root@hyd1560 ~]# xl info
host                   : hyd1560
release                : 4.9.58-29.el7.x86_64
version                : #1 SMP Mon Oct 23 17:24:36 UTC 2017
machine                : x86_64
nr_cpus                : 8
max_cpu_id             : 7
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 3917
hw_caps                :
bfebfbff:2c100800:00000000:00007f00:77fafbff:00000000:00000121:029c6fbf
virt_caps              : hvm hvm_directio
total_memory           : 16214
free_memory            : 13946
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 6
xen_extra              : .6-3.el7
xen_version            : 4.6.6-3.el7
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Tue Sep 12 12:14:32 2017 +0100 git:1f48d44-dirty
xen_commandline        : placeholder dom0_mem=2048M,max:4096M cpuinfo
com1=115200,8n1 console=com1,tty loglvl=all guest_loglvl=all
cc_compiler            : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
cc_compile_by          : mockbuild
cc_compile_domain      : centos.org
cc_compile_date        : Tue Sep 12 12:35:50 UTC 2017
xend_config_format     : 4

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users