aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu/hw/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ioemu/hw/pc.c')
-rw-r--r--tools/ioemu/hw/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ioemu/hw/pc.c b/tools/ioemu/hw/pc.c
index 234c4722bb..1a686515a7 100644
--- a/tools/ioemu/hw/pc.c
+++ b/tools/ioemu/hw/pc.c
@@ -168,6 +168,8 @@ static int get_bios_disk(char *boot_device, int index) {
return 0x02; /* hard drive */
case 'd':
return 0x03; /* cdrom */
+ case 'n':
+ return 0x04; /* network */
}
}
return 0x00; /* no device */