Skip to contentSkip to conversation

tools: propogate MTU to vif frontends (backporting)

DISCUSSION James Dingwall 2 participants 2 messages Feb 14, 2022

lore
Share & tools
lore
#0 lore raw

Hi,

I've been backporting this series to xen 4.14 and everything relating to the backend seems to be working well. For the frontend I can see the mtu value published to xenstore but it does't appear to be consumed to set the matching mtu in the guest.

https://lists.xenproject.org/archives/html/xen-devel/2020-08/msg00458.html

Is the expected solution a custom script running in the guest to make the necessary change or have I missed something in how this is supposed to operate?

Thanks,
James

#1 lore raw
Quoted 7 lines · James Dingwall

Hi,

I've been backporting this series to xen 4.14 and everything relating to the backend seems to be working well. For the frontend I can see the mtu value published to xenstore but it does't appear to be consumed to set the matching mtu in the guest.

Quoted 6 lines

https://lists.xenproject.org/archives/html/xen-devel/2020-08/msg00458.html

Is the expected solution a custom script running in the guest to make the necessary change or have I missed something in how this is supposed to operate?

It depends on your guest. Linux happily gets the MTU from DHCP, but Windows does not. Hence:

https://xenbits.xen.org/gitweb/?p=pvdrivers/win/xenvif.git;a=blob;f=src/xenvif/mac.c;;hb=HEAD#l440

Cheers,

Paul