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

[Xen-users] Providing MAC address when using PCI-passthrough/SR-IOV


  • To: xen-users@xxxxxxxxxxxxx
  • From: nospam@xxxxxxxxx
  • Date: Wed, 6 Mar 2019 20:32:59 +0100
  • Autocrypt: addr=thorolf@xxxxxxxxx; prefer-encrypt=mutual; keydata= mQGiBEcc9OkRBAC0V7n09lXN880ll+DuVD5ITEdv1smHcIr3Il2aU648tHMCkAHXeYDL24w1 esMQbQRWtTva1SBaMMNGdgWwpHhLB8xRKB03SaANAewvWWYUWPNjE7mF2xuZXiFBXelKBYYU WYk03FDs5Z60Mt9sSk941179T8hsb2MGhLJaCadeDwCgw5V0vV/AGes8Us9VMkPaG9l3O/sD /2eoVcQreNiA53bNjsytA2G2vCJp3M1Sy+9C1JInj7HBMkZjOlFSJpQU7A2cLz1NtCtp5A4E E9pSbE7yLTNiE7KD82AfAgsKbMfwOGs/AYe2jajnIY79iihuHdtQc5nlBejwy956EyJ3kNZ4 zMpi4QA8VJda+rxiGIZCZj4RdNpEA/9jwzqFQlDgcB2wAGIRPq/zO0FHn9J/sopa9IT699YZ A6AcrKI4IPErck1Hm5GZjwxsM0wl1HG3KTpc/8/cu5gmQwDKF/8MOBO3Q59IEaSrEpxYpvdR CpbKNcZ+IGs2L8RWmGjoft8+yn9kfVpGzinZR8hsQogF7DfceYDrH/uEaLQiVGhvcm9sZiBH b2Rhd2EgPFRob3JvbGZAR29kYXdhLmRlPohgBBMRAgAgBQJHHPTpAhsjBgsJCAcDAgQVAggD BBYCAwECHgECF4AACgkQ76eIulRsxcyS6gCaAxmTCKEhRna48Qac3NXnyZwohCIAoKWjoHPw Gzu4GhPA4IOu56wPlhN/uQINBEcc9OkQCADeGSyhsiEJGZbiYq07BZ5UG0eDzqWQhx1BEGwS hJY7GD31lFvhZ8Za9uRPLAulUIYqFQ9mIO1pbTzGjLL+sBV2foqCw4Q7qNw+KvzZ/a2oTfcT d/FBRHgOcc+6G2/3Bvi4M9gXmhNOeD8CBOIq0/lq+0XVk9DE0wMqEhwQh8j0z4bcRrXx4qtB VAUFkPVI43/w+2bddl9c71ZljMv2G058VhpAgtW+h7gYnRSkkHl8CblbYBAF0MAB5NlNOVhX ppnC79ai6Tfo60qGuUBAxulRCjjufMLK9gpaesHBZMCZJTub5VGgPF8GVT8G+dxutlcI4ynh FvpbTBT65d1czTbvAAQNCADS+1awKfSyvzA7W7om/YuiNx99CbB/oWtOhKGw++uDfSjw/NzY OSIVHranx/xKmlz2Y2TztUMIwvqoNJch/tE65afnAm6wQt+q57o2VF/c9WlBis4/QEjQ0+PL 3ZOtbpcGJWMgMOInOr4kvlIQ9FPiBy9ixUhozxZtIf1/t2k+jmvE0h2TdZgxDeKfVoKXG+HE 5gPH5zK/xupo5xndcSanxhrsKjJb0bmzHDylI9vhODl/qIRWHiUWNoN0H0WAbLZ/Jd/mynWS lIKumutVa9ek4jP1wEwqXV10FGLuxfMiC0PyQccM3qrHv87I1txyr+zNpJyI4Qx7fcBtcq/b SoyRiEkEGBECAAkFAkcc9OkCGwwACgkQ76eIulRsxcynnACghIiE7bOCebg86oZn3Iddnq8x k1cAnRJMfBwcUWzkcYMJhVL/0mKM/DtO
  • Delivery-date: Wed, 06 Mar 2019 19:34:18 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Openpgp: preference=signencrypt

Hi,

finally I was able to configure SR-IOV correctly on a CentOS 7 system
with Xen 4.10 using the XL-toolstack.

Running on two interfaces, one as bridge through Dom0 and the other on
as passthrough PCI NIC, I'm not able to set the MAC address for the PCI
NIC using SR-IOV for sharing the virtual interfaces.

On every reboot my guest get's a new MAC address and thus is failing to
start the network and I have no idea how to configure a fixed MAC in the
config-file for the XL-toolstack.

My current config looks as follows:

name = "centos7-64"
uuid = "xxx"
maxmem = 1024
memory = 1024
vcpus = 1
bootloader = "pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vfb = [ "type=vnc,vncunused=1,keymap=de" ]
vif = [ "mac=00:16:11:22:33:44,bridge=virbr0,script=vif-bridge" ]
pci = [ "0000:20:10.0" ]
disk = [ "raw:/srv/xen/img/centos7-64.img,xvda,w" ]


I tried several config-options in libvirt XML-configs and tried to
convert them in to xl.cfg, but I had no success with that.


Any hints?

Thanks a lot,
-- 

Kind regards,

Thorolf

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

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