Warn when initial_state is passed as state
This commit is contained in:
parent
11bd94dd3e
commit
69c27f1a44
|
@ -476,6 +476,11 @@ function V86Starter(options)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(options["state"])
|
||||||
|
{
|
||||||
|
console.warn("Warning: Unknown option 'state'. Did you mean 'initial_state'?");
|
||||||
|
}
|
||||||
|
|
||||||
var image_names = [
|
var image_names = [
|
||||||
"bios", "vga_bios",
|
"bios", "vga_bios",
|
||||||
"cdrom", "hda", "hdb", "fda", "fdb",
|
"cdrom", "hda", "hdb", "fda", "fdb",
|
||||||
|
|
Loading…
Reference in a new issue