Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QEmu with virtio-net-pci : Speed and Duplex #2236

Closed
Raizo62 opened this issue Jun 1, 2023 · 3 comments · Fixed by #2235
Closed

QEmu with virtio-net-pci : Speed and Duplex #2236

Raizo62 opened this issue Jun 1, 2023 · 3 comments · Fixed by #2235

Comments

@Raizo62
Copy link
Contributor

Raizo62 commented Jun 1, 2023

Hi

On a QEmu device with virtio-net-pci, the linux command ethtool says :

        Speed: Unknown!
        Duplex: Unknown! (255)

In QEmu command, you can set the Linkspeed and duplex settings with -device virtio-net,speed=1000,duplex=full

The idea comes from here in 2018

I believe that the values are fakes.
The values can be overwritten later with ethtool.

I have tested with QEmu 7.2.0 and a Debian Linux VM.

@grossmj
Copy link
Member

grossmj commented Jun 2, 2023

We could certainly hard-code the settings, is this what you are asking for?

@Raizo62
Copy link
Contributor Author

Raizo62 commented Jun 2, 2023

We could certainly hard-code the settings, is this what you are asking for?

yes.

@Raizo62
Copy link
Contributor Author

Raizo62 commented Jun 2, 2023

Now, i don't need it. But I think that is a plus

Raizo62 referenced this issue in Raizo62/gns3-server Jun 3, 2023
@grossmj grossmj transferred this issue from GNS3/gns3-gui Jun 3, 2023
@grossmj grossmj linked a pull request Jun 3, 2023 that will close this issue
@grossmj grossmj closed this as completed Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants