Re: [Qemu-devel] one question on the makefile

2012-06-12 Thread Richard Yang
ract a part of the target name, called the "stem". >This stem is substituted into each of the PREREQ-PATTERNS to make the >prerequisite names (one from each PREREQ-PATTERN). >= > > >$* is also replaced by the stem. In fact in this case, the stem is not >used in the PREREQ-PATTERNS, it is only used in the commands. > >Paolo Thanks :) I learn it. -- Richard Yang Help you, Help me

[Qemu-devel] Would this introduce a competition?

2012-02-06 Thread Richard Yang
, the new request will be overwriten? BTW, how can I specify qemu to use ohci on x86 platform? -- Richard Yang Help you, Help me

Re: [Qemu-devel] [PATCH] This patch is used to move some struct definition, like QEMUTimer, QEMUClock, from .c to .h.

2012-02-05 Thread Richard Yang
onds */ >> +    int scale; >> +    QEMUTimerCB *cb; >> +    void *opaque; >> +    struct QEMUTimer *next; >> +}; >> + >> +struct qemu_alarm_timer { >> +    char const *name; >> +    int (*start)(struct qemu_alarm_timer *t); >> +    void (*stop)(struct qemu_alarm_timer *t); >> +    void (*rearm)(struct qemu_alarm_timer *t, int64_t nearest_delta_ns); >> +#if defined(__linux__) >> +    int fd; >> +    timer_t timer; >> +#elif defined(_WIN32) >> +    HANDLE timer; >> +#endif >> +    char expired; >> +    char pending; >> +}; >> + >>  /* The real time clock should be used only for stuff which does not >>    change the virtual machine state, as it is run even if the virtual >>    machine is stopped. The real time clock has a frequency of 1000 >> -- >> 1.7.4.1 >> >> -- Richard Yang Help you, Help me

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

2012-01-31 Thread Richard Yang
i functions". Thanks for your explanation. I learned a lot. -- Richard Yang Help you, Help me

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

2012-01-30 Thread Richard Yang
On Tue, Jan 31, 2012 at 01:12:24PM +0700, Mulyadi Santosa wrote: >Hi :) > >On Tue, Jan 31, 2012 at 12:55, Richard Yang wrote: >> >> Hi, experts >> >> I am just coming to the qemu world. >> >> While reading the code, I am wondering why put a struct defi

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

2012-01-30 Thread Richard Yang
Hi, experts I am just coming to the qemu world. While reading the code, I am wondering why put a struct definition in the c file? Seems there is no error in compile, while I felt it is not a proper way to do it. -- Richard Yang Help you, Help me