should exit on not-qemu

This commit is contained in:
K. Lange 2018-07-17 14:51:48 +09:00
parent 404bdaf854
commit ad7ae7307f
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ int main(int argc, char * argv[]) {
inportb(FW_CFG_PORT_IN) != 'M' ||
inportb(FW_CFG_PORT_IN) != 'U') {
fprintf(stderr, "%s: this doesn't seem to be qemu\n", argv[0]);
return 1;
}
/* Then get the list of "files" so we can look at names */