From 6812864f3783fbe7d3b8e8f33ef1899463fccd02 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 29 Jun 2009 18:52:14 +0100 Subject: [PATCH] Todo: Investigations into 'binarch' command. --- TODO | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/TODO b/TODO index eb5820f..bc00946 100644 --- a/TODO +++ b/TODO @@ -164,6 +164,15 @@ Need a way to query a binary or library file for its architecture. Using objdump or readelf? What about non-ELF files (eg. Windows, BSD). +To do this properly requires some serious logic, eg. to cover Linux +and Windows we'd need objdump and i686-pc-mingw32-objdump, and more to +cover a.out, COFF and 64 bit Windows. Therefore this cannot be done +inside the daemon, and should be done by a separate, external program +similar to virt-inspector. + +Probably we should go all the way and have virt-inspector able to +determine kernel and userspace architectures of guests. + ---------------------------------------------------------------------- Other initrd-* commands, such as: -- 1.8.3.1