Revision 37905d6a
b/vl.c | ||
---|---|---|
1193 | 1193 |
static void restore_boot_devices(void *opaque) |
1194 | 1194 |
{ |
1195 | 1195 |
char *standard_boot_devices = opaque; |
1196 |
static int first = 1; |
|
1197 |
|
|
1198 |
/* Restore boot order and remove ourselves after the first boot */ |
|
1199 |
if (first) { |
|
1200 |
first = 0; |
|
1201 |
return; |
|
1202 |
} |
|
1196 | 1203 |
|
1197 | 1204 |
qemu_boot_set(standard_boot_devices); |
1198 | 1205 |
|
Also available in: Unified diff