mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
kvm: fix kvm_init_vcpu failed: Invalid argument on QEMU aarch64
This commit is contained in:
5
run
5
run
@@ -593,7 +593,10 @@ Extra options to append at the end of the emulator command line.
|
||||
serial = 'mon:stdio'
|
||||
serial_monitor = ['-serial', serial, LF]
|
||||
if self.env['kvm']:
|
||||
extra_emulator_args.extend(['-enable-kvm', LF])
|
||||
extra_emulator_args.extend([
|
||||
'-cpu', 'host', LF,
|
||||
'-enable-kvm', LF,
|
||||
])
|
||||
extra_emulator_args.extend([
|
||||
'-serial',
|
||||
'tcp::{},server,nowait'.format(self.env['extra_serial_port']), LF
|
||||
|
||||
Reference in New Issue
Block a user