Change default MAX VHD size set by SDK from 1GB to 1TB

This commit is contained in:
Richard Fricks
2026-04-29 11:19:58 -07:00
parent 0163e62d43
commit c4fa20d837

View File

@@ -31,7 +31,7 @@ constexpr uint32_t s_DefaultMemoryMB = 2000;
// Maximum value per use with HVSOCKET_CONNECT_TIMEOUT_MAX
constexpr ULONG s_DefaultBootTimeout = 300000;
// Default to 1 GB
constexpr UINT64 s_DefaultStorageSize = 1000 * 1000 * 1000;
constexpr UINT64 s_DefaultStorageSize = 1000ULL * 1000 * 1000 * 1000;
#define WSLC_FLAG_VALUE_ASSERT(_wlsc_name_, _wslc_name_) \
static_assert(_wlsc_name_ == _wslc_name_, "Flag values differ: " #_wlsc_name_ " != " #_wslc_name_);