(self)
return ""
Get guest system architecture
Get guest system architecture
Get guest system architecture
def arch(self):
        """Get guest system architecture"""
        for filename in OSInfo._binarylist:
            f_path = self._root_dir + filename
            filetype = self.get_filetype(f_path)
            if not filetype:
                continue
            if "x86-64" in filetype.lower():
                return "amd64"
            if "Intel 80386" in filetype:
                return "i386"
            if "aarch64" in filetype.lower():
                return "arm64"
            if " ARM" in filetype:
                return "arm"
        return ""
def arch ( self ) : for filename in OSInfo . _binarylist : f_path = self . _root_dir + filename filetype = self . get_filetype ( f_path ) if not filetype : continue if "x86-64" in filetype . lower ( ) : return "amd64" if "Intel 80386" in filetype : return "i386" if "aarch64" in filetype . lower ( ) : return "arm64" if " ARM" in filetype : return "arm" return ""