diff options
-rwxr-xr-x | scripts/runqemu | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 5c56c3fe6c..f061917c4b 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -933,29 +933,30 @@ class BaseConfig(object): | |||
933 | self.set('STAGING_BINDIR_NATIVE', '%s/usr/bin' % self.get('STAGING_DIR_NATIVE')) | 933 | self.set('STAGING_BINDIR_NATIVE', '%s/usr/bin' % self.get('STAGING_DIR_NATIVE')) |
934 | 934 | ||
935 | def print_config(self): | 935 | def print_config(self): |
936 | logger.info('Continuing with the following parameters:\n') | 936 | logoutput = ['Continuing with the following parameters:'] |
937 | if not self.fstype in self.vmtypes: | 937 | if not self.fstype in self.vmtypes: |
938 | print('KERNEL: [%s]' % self.kernel) | 938 | logoutput.append('KERNEL: [%s]' % self.kernel) |
939 | if self.bios: | 939 | if self.bios: |
940 | print('BIOS: [%s]' % self.bios) | 940 | logoutput.append('BIOS: [%s]' % self.bios) |
941 | if self.dtb: | 941 | if self.dtb: |
942 | print('DTB: [%s]' % self.dtb) | 942 | logoutput.append('DTB: [%s]' % self.dtb) |
943 | print('MACHINE: [%s]' % self.get('MACHINE')) | 943 | logoutput.append('MACHINE: [%s]' % self.get('MACHINE')) |
944 | try: | 944 | try: |
945 | fstype_flags = ' (' + ', '.join(self.fsinfo[self.fstype]) + ')' | 945 | fstype_flags = ' (' + ', '.join(self.fsinfo[self.fstype]) + ')' |
946 | except KeyError: | 946 | except KeyError: |
947 | fstype_flags = '' | 947 | fstype_flags = '' |
948 | print('FSTYPE: [%s%s]' % (self.fstype, fstype_flags)) | 948 | logoutput.append('FSTYPE: [%s%s]' % (self.fstype, fstype_flags)) |
949 | if self.fstype == 'nfs': | 949 | if self.fstype == 'nfs': |
950 | print('NFS_DIR: [%s]' % self.rootfs) | 950 | logoutput.append('NFS_DIR: [%s]' % self.rootfs) |
951 | else: | 951 | else: |
952 | print('ROOTFS: [%s]' % self.rootfs) | 952 | logoutput.append('ROOTFS: [%s]' % self.rootfs) |
953 | if self.ovmf_bios: | 953 | if self.ovmf_bios: |
954 | print('OVMF: %s' % self.ovmf_bios) | 954 | logoutput.append('OVMF: %s' % self.ovmf_bios) |
955 | if (self.ovmf_secboot_pkkek1): | 955 | if (self.ovmf_secboot_pkkek1): |
956 | print('SECBOOT PKKEK1: [%s...]' % self.ovmf_secboot_pkkek1[0:100]) | 956 | logoutput.append('SECBOOT PKKEK1: [%s...]' % self.ovmf_secboot_pkkek1[0:100]) |
957 | print('CONFFILE: [%s]' % self.qemuboot) | 957 | logoutput.append('CONFFILE: [%s]' % self.qemuboot) |
958 | print('') | 958 | logoutput.append('') |
959 | logger.info('\n'.join(logoutput)) | ||
959 | 960 | ||
960 | def setup_nfs(self): | 961 | def setup_nfs(self): |
961 | if not self.nfs_server: | 962 | if not self.nfs_server: |