From 6b0fc59d7ad8593ce01a4f21cd13f936460dd746 Mon Sep 17 00:00:00 2001 From: Mahesh Kommareddi Date: Sun, 31 Aug 2025 23:01:19 -0400 Subject: [PATCH] debug network config --- QemuVmManager.Core/QemuCommandBuilder.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/QemuVmManager.Core/QemuCommandBuilder.cs b/QemuVmManager.Core/QemuCommandBuilder.cs index 02d67bc..8f5d231 100644 --- a/QemuVmManager.Core/QemuCommandBuilder.cs +++ b/QemuVmManager.Core/QemuCommandBuilder.cs @@ -34,7 +34,9 @@ public class QemuCommandBuilder AddStorageConfiguration(); // Network configuration + Console.WriteLine("Debug: About to add network configuration"); AddNetworkConfiguration(); + Console.WriteLine("Debug: Network configuration added"); // Display configuration AddDisplayConfiguration(); @@ -230,6 +232,8 @@ public class QemuCommandBuilder { var network = _config.Network; + Console.WriteLine($"Debug: Network configuration - Interfaces count: {network.Interfaces.Count}"); + for (int i = 0; i < network.Interfaces.Count; i++) { var nic = network.Interfaces[i];