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];