[Qemu-devel] [PATCH 1/2] loader: Add load_image_size() to replace load_image()

2014-07-20 Thread Alexey Kardashevskiy
From: Benjamin Herrenschmidt A subsequent patch to ppc/spapr needs to load the RTAS blob into qemu memory rather than target memory (so it can later be copied into the right spot at machine reset time). I would use load_image() but it is marked deprecated because it doesn't take a buffer size as

[Qemu-devel] [PATCH 1/2] loader: Add load_image_size() to replace load_image()

2014-07-13 Thread Benjamin Herrenschmidt
A subsequent patch to ppc/spapr needs to load the RTAS blob into qemu memory rather than target memory (so it can later be copied into the right spot at machine reset time). I would use load_image() but it is marked deprecated because it doesn't take a buffer size as argument, so let's add load_im

[Qemu-devel] [PATCH 1/2] loader: Add load_image_size() to replace load_image()

2014-07-13 Thread Benjamin Herrenschmidt
A subsequent patch to ppc/spapr needs to load the RTAS blob into qemu memory rather than target memory (so it can later be copied into the right spot at machine reset time). I would use load_image() but it is marked deprecated because it doesn't take a buffer size as argument, so let's add load_i