Re: [PATCH 1/2] powerpc: Define the hcall opcodes return values we need

2015-06-19 Thread Michael Ellerman
On Fri, 2015-06-19 at 17:21 +1000, Michael Ellerman wrote: Now that we don't have the kernel header on hand, just define the minimum set of hcall opcodes and return values we need in order to build. Hi Andre, I hope you don't mind me jumping in here but I thought I should help out rather than

[PATCH 2/2] powerpc: Enable 32-bit build

2015-06-19 Thread Michael Ellerman
We have always built kvmtool as 64-bit on powerpc, but mainly just out of habit. There's not AFAIK any reason we *can't* build 32-bit. So fix up a few places where we were assuming 64-bit, and drop the Makefile logic that forces 64-bit. Signed-off-by: Michael Ellerman m...@ellerman.id.au ---

Re: [PATCH 1/2] powerpc: Define the hcall opcodes return values we need

2015-06-19 Thread Will Deacon
On Fri, Jun 19, 2015 at 08:21:00AM +0100, Michael Ellerman wrote: Now that we don't have the kernel header on hand, just define the minimum set of hcall opcodes and return values we need in order to build. Thanks Michael! I pushed both of these out. Will -- To unsubscribe from this list:

[PATCH 1/2] powerpc: Define the hcall opcodes return values we need

2015-06-19 Thread Michael Ellerman
Now that we don't have the kernel header on hand, just define the minimum set of hcall opcodes and return values we need in order to build. Signed-off-by: Michael Ellerman m...@ellerman.id.au --- powerpc/spapr.h | 25 - 1 file changed, 20 insertions(+), 5 deletions(-)

Re: [PATCH] kvmtool: Makefile: allow overriding CC and LD

2015-06-19 Thread Andre Przywara
Hi Michael, On 19/06/15 02:14, Michael Ellerman wrote: On Thu, 2015-06-18 at 16:50 +0100, Andre Przywara wrote: Currently we set CC unconditionally to ${CROSS_COMPILE}gcc, the same for LD. Allow people to override the compiler name by specifying it explicitly on the command line or via the

Re: [PATCH] kvmtool: Makefile: allow overriding CC and LD

2015-06-19 Thread Paolo Bonzini
On 18/06/2015 17:50, Andre Przywara wrote: Currently we set CC unconditionally to ${CROSS_COMPILE}gcc, the same for LD. Allow people to override the compiler name by specifying it explicitly on the command line or via the environment. Beside calling a certain compiler binary this allows to

Re: [PATCH 2/3] powerpc: use default endianness for converting guest/init

2015-06-19 Thread Andre Przywara
Hi Michael, On 19/06/15 02:08, Michael Ellerman wrote: On Thu, 2015-06-18 at 15:52 +0100, Andre Przywara wrote: Hi, On 06/17/2015 10:43 AM, Andre Przywara wrote: For converting the guest/init binary into an object file, we call the linker binary, setting the endianness to big endian