diff options
Diffstat (limited to 'scripts/runqemu')
| -rwxr-xr-x | scripts/runqemu | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 7705b2b60e..b520010624 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
| @@ -145,8 +145,6 @@ class BaseConfig(object): | |||
| 145 | # to be added with -drive if=pflash. | 145 | # to be added with -drive if=pflash. |
| 146 | # Found in the same places as the rootfs, with or without one of | 146 | # Found in the same places as the rootfs, with or without one of |
| 147 | # these suffices: qcow2, bin. | 147 | # these suffices: qcow2, bin. |
| 148 | # Setting one also adds "-vga std" because that is all that | ||
| 149 | # OVMF supports. | ||
| 150 | self.ovmf_bios = [] | 148 | self.ovmf_bios = [] |
| 151 | # When enrolling default Secure Boot keys, the hypervisor | 149 | # When enrolling default Secure Boot keys, the hypervisor |
| 152 | # must provide the Platform Key and the first Key Exchange Key | 150 | # must provide the Platform Key and the first Key Exchange Key |
| @@ -1283,10 +1281,6 @@ class BaseConfig(object): | |||
| 1283 | for ovmf in self.ovmf_bios: | 1281 | for ovmf in self.ovmf_bios: |
| 1284 | format = ovmf.rsplit('.', 1)[-1] | 1282 | format = ovmf.rsplit('.', 1)[-1] |
| 1285 | self.qemu_opt += ' -drive if=pflash,format=%s,file=%s' % (format, ovmf) | 1283 | self.qemu_opt += ' -drive if=pflash,format=%s,file=%s' % (format, ovmf) |
| 1286 | if self.ovmf_bios: | ||
| 1287 | # OVMF only supports normal VGA, i.e. we need to override a -vga vmware | ||
| 1288 | # that gets added for example for normal qemux86. | ||
| 1289 | self.qemu_opt += ' -vga std' | ||
| 1290 | 1284 | ||
| 1291 | self.qemu_opt += ' ' + self.qemu_opt_script | 1285 | self.qemu_opt += ' ' + self.qemu_opt_script |
| 1292 | 1286 | ||
