RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1467797 - [virtio-win][netkvm] guest mtu in device manager is not same as host_mtu
Summary: [virtio-win][netkvm] guest mtu in device manager is not same as host_mtu
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virtio-win
Version: 7.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Yvugenfi@redhat.com
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-05 08:02 UTC by lijin
Modified: 2017-07-06 12:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-06 12:10:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of mtu in guest (69.65 KB, image/png)
2017-07-05 08:02 UTC, lijin
no flags Details

Description lijin 2017-07-05 08:02:22 UTC
Created attachment 1294485 [details]
screenshot of mtu in guest

Description of problem:


Version-Release number of selected component (if applicable):
virtio-win-prewhql

How reproducible:
100%

Steps to Reproduce:
1.boot guest with virtio-net-pci and set host_mtu=4000:
/usr/libexec/qemu-kvm \
  -M pc \
  -cpu host \
  -enable-kvm \
  -m 2G \
  -smp 4,cores=4 \
  -nodefconfig \
  -rtc base=localtime,driftfix=slew \
  -drive file=win2008-64-iso.qcow2,if=none,serial=virtioblk1,format=qcow2,cache=none,werror=stop,rerror=stop,id=drive-virtio-disk0,aio=native \
  -device ide-drive,drive=drive-virtio-disk0,id=virtio-disk0 \
  -device piix3-usb-uhci,id=usb \
  -device usb-tablet,id=tablet0 \
  -k en-us \
  -qmp tcp:0:4444,server,nowait \
  -boot menu=on \
  -monitor stdio \
  -cdrom en_windows_server_2008_datacenter_enterprise_standard_sp2_x64_dvd_342336.iso \
  -fda virtio-win-prewhql-0.1-140_amd64.vfd \
  -drive file=virtio-win-prewhql-0.1-140.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
  -vnc 0.0.0.0:1 -vga std \
  -netdev tap,id=hostnet1,script=/etc/qemu-ifup,vhost=on -device virtio-net-pci,host_mtu=4000,netdev=hostnet1,mac=4e:63:28:bc:b1:01,id=net1


2.check guest mtu in cmd:
# netsh interface ipv4 show subinterfaces

3.check guest mtu in device manager:
device manger -> Red Hat VirtIO Ethernet Adapter -> advanced -> Init.MTUsize


Actual results:
after step2,guest mtu is 4000 as expected.
MTU  MediaSenseState   Bytes In  Bytes Out  Interface
------  ---------------  ---------  ---------  -------------
4294967295                1          0          0  Loopback Pseudo-Interface 1
  4000                1      18556      16682  Local Area Connection

after step3,guest mtu in device manager is 1500,not 4000

Expected results:
after step3,guest mtu in device manager should be same as host_mtu

Additional info:

Comment 1 Yvugenfi@redhat.com 2017-07-06 12:10:08 UTC
This is by design.

We cannot fix or change dynamically  the MTU setting in Windows.

According to new addition in virtio spec we will read host configuration and negotiate MTU using guest settings.


Note You need to log in before you can comment on or make changes to this bug.