[PR #314] qga: implement guest-network-get-route for Windows #439

Open
opened 2026-01-31 21:31:16 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/qemu/qemu/pull/314

State: closed
Merged: No


Add Windows implementation of guest-network-get-route command to provide network routing information on Windows guests.

Features implemented:

  • IPv4 and IPv6 route information retrieval using GetIpForwardTable2
  • Human-readable interface names via GetAdaptersAddresses
  • Proper route metrics combining route and interface metrics
  • MTU information for network interfaces
  • Support for destination, gateway, mask, and metric fields for IPv4
  • Support for destination, nexthop, and desprefixlen fields for IPv6

Implementation uses modern Windows IP Helper API (GetIpForwardTable2, GetIfEntry2).

**Original Pull Request:** https://github.com/qemu/qemu/pull/314 **State:** closed **Merged:** No --- Add Windows implementation of guest-network-get-route command to provide network routing information on Windows guests. Features implemented: - IPv4 and IPv6 route information retrieval using GetIpForwardTable2 - Human-readable interface names via GetAdaptersAddresses - Proper route metrics combining route and interface metrics - MTU information for network interfaces - Support for destination, gateway, mask, and metric fields for IPv4 - Support for destination, nexthop, and desprefixlen fields for IPv6 Implementation uses modern Windows IP Helper API (GetIpForwardTable2, GetIfEntry2).
claunia added the pull-request label 2026-01-31 21:31:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#439