Re: [Qemu-devel] [PATCH v2] register reset handler to write image into memory

2012-09-26 Thread Alexander Graf
On 26.09.2012, at 10:13, Yin Olivia-R63875 wrote: > Hi Alex, > > I checked all the rom_add_*() functions. > Multiple platforms of different architectures use rom_add_* to save images. > hw/arm_boot.c > hw/exynos4210. > hw/highbank. > hw/mips_fulong2e.c > hw/mips_mal

Re: [Qemu-devel] [PATCH v2] register reset handler to write image into memory

2012-09-26 Thread Yin Olivia-R63875
- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Thursday, September 20, 2012 8:10 PM > To: Andreas Färber > Cc: Yin Olivia-R63875; qemu-...@nongnu.org; qemu-devel@nongnu.org > Subject: Re: [Qemu-devel] [PATCH v2] register reset handler to write > image into memory > > &g

Re: [Qemu-devel] [PATCH v2] register reset handler to write image into memory

2012-09-20 Thread Alexander Graf
On 23.08.2012, at 13:38, Andreas Färber wrote: > Hi, > > Am 23.08.2012 11:45, schrieb Yin Olivia-R63875: >> Dear All, >> >> I can't find MAINTAINER of hw/loader.c. >> Who can help review and apply this patch? > > This patch is not a small bugfix so it won't be applied during the v1.2 > Hard Fr

Re: [Qemu-devel] [PATCH v2] register reset handler to write image into memory

2012-08-26 Thread Alexander Graf
is doesn't explain why you leave the old in-RAM code alive though. The only reason I can imagine would be to allow for reset to not reload new roms after an update. Anthony, any opinion here? Do we need the keep-in-RAM rom code? Or could we just always load rom blobs on demand for everyth

Re: [Qemu-devel] [PATCH v2] register reset handler to write image into memory

2012-08-26 Thread Yin Olivia-R63875
load_uimage() and load_image_targphys() in platform initialization. Best Regards, Olivia > -Original Message- > From: Dunrong Huang [mailto:riegama...@gmail.com] > Sent: Thursday, August 23, 2012 6:44 PM > To: Yin Olivia-R63875 > Cc: qemu-...@nongnu.org; qemu-devel@nong

Re: [Qemu-devel] [PATCH v2] register reset handler to write image into memory

2012-08-23 Thread Andreas Färber
Hi, Am 23.08.2012 11:45, schrieb Yin Olivia-R63875: > Dear All, > > I can't find MAINTAINER of hw/loader.c. > Who can help review and apply this patch? This patch is not a small bugfix so it won't be applied during the v1.2 Hard Freeze. You based it onto ppc-next so the obvious answer is, Alex n

Re: [Qemu-devel] [PATCH v2] register reset handler to write image into memory

2012-08-23 Thread Dunrong Huang
2012/8/23 Yin Olivia-R63875 : > Dear All, > > I can't find MAINTAINER of hw/loader.c. > Who can help review and apply this patch? > Please use the script scripts/get_maintainer.pl, like: $ scripts/get_maintainer.pl your_patch_file.patch or $ scripts/get_maintainer.pl -f hw/loader.c > Best Regards,

Re: [Qemu-devel] [PATCH v2] register reset handler to write image into memory

2012-08-23 Thread Yin Olivia-R63875
Dear All, I can't find MAINTAINER of hw/loader.c. Who can help review and apply this patch? Best Regards, Olivia Yin > -Original Message- > From: Yin Olivia-R63875 > Sent: Friday, August 17, 2012 5:08 PM > To: qemu-...@nongnu.org; qemu-devel@nongnu.org > Cc: Yin Olivia-R63875 > Subject:

[Qemu-devel] [PATCH v2] register reset handler to write image into memory

2012-08-17 Thread Olivia Yin
Instead of add rom blobs, this patch just write them directly to memory. This patch registers reset handler uimage_reset() and image_file_reset() which load images into RAM during initial bootup and VM reset. v2: use g_file_get_content() to load load image file. Signed-off-by: Olivia Yin --- Th