Warn when initial_state is passed as state

This commit is contained in:
Fabian 2018-02-02 12:45:45 -05:00
parent 11bd94dd3e
commit 69c27f1a44

View file

@ -476,6 +476,11 @@ function V86Starter(options)
}
}
if(options["state"])
{
console.warn("Warning: Unknown option 'state'. Did you mean 'initial_state'?");
}
var image_names = [
"bios", "vga_bios",
"cdrom", "hda", "hdb", "fda", "fdb",