Backing out attempt to identify kernel binary format
This commit is contained in:
+2
-3
@@ -415,9 +415,8 @@ def boot( cow, kernel, initrd, logfile ):
|
||||
# pexpect might not be installed until after depend() is called
|
||||
global pexpect
|
||||
import pexpect
|
||||
kinfo = run( 'file ' + kernel )
|
||||
# Slightly abusing archFor here
|
||||
arch = archFor( kinfo )
|
||||
arch = archFor( kernel )
|
||||
log( '* Detected kernel architecture', arch )
|
||||
if NoKVM:
|
||||
accel = 'tcg'
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user