Add Windows NT

This commit is contained in:
Fabian 2022-09-13 15:07:47 +09:00
parent 27e83d6b0e
commit aebf5eced8
3 changed files with 50 additions and 1 deletions

View file

@ -90,6 +90,8 @@ function load_next()
<br>
<input type="button" value="Windows 98" id="start_windows98">
<input type="button" value="Windows 98 (boot)" id="start_windows98-boot">
<input type="button" value="Windows NT 3.1" id="start_windowsnt3">
<input type="button" value="Windows NT 4.0" id="start_windowsnt4">
<input type="button" value="Windows 2000" id="start_windows2000">
<input type="button" value="Windows 2000 (boot)" id="start_windows2000-boot">
<br>

View file

@ -578,6 +578,31 @@
boot_order: 0x132,
name: "Windows 2000",
},
{
id: "windowsnt4",
memory_size: 512 * 1024 * 1024,
hda: {
url: host + "winnt4_noacpi.img",
size: 523837440,
async: true,
fixed_chunk_size: 256 * 1024,
use_parts: !ON_LOCALHOST,
},
name: "Windows NT 4.0",
cpuid_level: 2,
},
{
id: "windowsnt3",
memory_size: 256 * 1024 * 1024,
hda: {
url: host + "winnt31.img",
size: 87 * 1024 * 1024,
async: true,
fixed_chunk_size: 256 * 1024,
use_parts: !ON_LOCALHOST,
},
name: "Windows NT 3.1",
},
{
id: "windows98",
memory_size: 128 * 1024 * 1024,

View file

@ -178,6 +178,27 @@ if(cluster.isMaster)
expect_graphical_size: [1024, 768],
expect_mouse_registered: true,
},
{
name: "Windows NT 4.0",
skip_if_disk_image_missing: true,
hda: root_path + "/images/winnt4_noacpi.img",
memory_size: 512 * 1024 * 1024,
timeout: 60,
expect_graphical_mode: true,
expect_graphical_size: [1024, 768],
expect_mouse_registered: true,
cpuid_level: 2,
},
{
name: "Windows NT 3.1",
skip_if_disk_image_missing: true,
hda: root_path + "/images/winnt31.img",
memory_size: 256 * 1024 * 1024,
timeout: 60,
expect_graphical_mode: true,
expect_graphical_size: [640, 480],
expect_mouse_registered: true,
},
//{
// name: "Windows 98",
// skip_if_disk_image_missing: true,
@ -715,7 +736,7 @@ if(cluster.isMaster)
{
name: "Linux with Postgres",
skip_if_disk_image_missing: true,
timeout: 3 * 60,
timeout: 5 * 60,
memory_size: 512 * 1024 * 1024,
cdrom: root_path + "/images/experimental/linux-postgres.iso",
expected_texts: [
@ -947,6 +968,7 @@ function run_test(test, done)
settings.bzimage_initrd_from_filesystem = test.bzimage_initrd_from_filesystem;
settings.acpi = test.acpi;
settings.boot_order = test.boot_order;
settings.cpuid_level = test.cpuid_level;
if(test.expected_texts)
{