Skip to content

Commit 16179f4

Browse files
committed
qemu: cpuinfo should be set in the constructor
1 parent a97b025 commit 16179f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/qemu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def __init__(self, machine):
4545
self.password = None
4646
self.expected_release = None
4747
self.vmlinux = None
48+
self.cpuinfo = None
4849

4950
# Detect root disks if we're called from scripts/boot/qemu-xxx
5051
base = os.path.dirname(sys.argv[0])
@@ -62,7 +63,6 @@ def configure_from_env(self):
6263
self.vmlinux = get_vmlinux()
6364
self.modules_tarball = get_modules_tarball()
6465
self.selftests_tarball = get_selftests_tarball()
65-
self.cpuinfo = None
6666

6767
def configure_from_args(self, orig_args):
6868
parser = argparse.ArgumentParser()

0 commit comments

Comments
 (0)