Re: [Qemu-devel] PC BIOS Flash emulation

2012-03-07 Thread Dmitry Zamaruev
On Wed, Mar 7, 2012 at 7:39 PM, Jordan Justen wrote: > On Wed, Mar 7, 2012 at 08:51, Dmitry Zamaruev > wrote: >> On Wed, Mar 7, 2012 at 6:32 PM, Avi Kivity wrote: >>> On 03/07/2012 03:59 PM, Dmitry Zamaruev wrote: >>>> I'm trying to emulate BIOS Flas

Re: [Qemu-devel] PC BIOS Flash emulation

2012-03-07 Thread Dmitry Zamaruev
On Wed, Mar 7, 2012 at 6:32 PM, Avi Kivity wrote: > On 03/07/2012 03:59 PM, Dmitry Zamaruev wrote: >> Hi, >> >> I'm trying to emulate BIOS Flash chip (something Intel FWH compatible) >> on PC target (i386-softmmu) and to verify possibility of such >> emula

[Qemu-devel] PC BIOS Flash emulation

2012-03-07 Thread Dmitry Zamaruev
Hi, I'm trying to emulate BIOS Flash chip (something Intel FWH compatible) on PC target (i386-softmmu) and to verify possibility of such emulation I first tried to use pflash_cfi02 example from PPC platform. Trying to use if following way: in hw/pc.c in pc_memory_init() after bios.bin is loaded a

Re: [Qemu-devel] Why QEMUClock is defined in qemu-timer.c?

2012-01-31 Thread Dmitry Zamaruev
This is used in many places. Maybe to simulate 'private' variables and access methods like in C++. If you define structure in .c file then every function that works with this structure must reside in same file. And any other code to use structure must use access-functions (api) to alter it and not

[Qemu-devel] ICH6+ chipset emulation

2012-01-27 Thread Dmitry Zamaruev
Hi, I'm trying to run specific firmware under QEMU, and it is tied (hardcoded) to newer chipsets than QEMU currently supports. I know there was an effort to emulate Q35, but it seems not to get mainstream. Is there any chance to see one of ICH6/7/8/9/10 emulated in QEMU ? wbr, Dmitry.