Re: [Qemu-devel] Re: [PATCH 07/11] kvm, x86: unify sigbus handling, prep

2010-10-15 Thread Marcelo Tosatti
On Fri, Oct 15, 2010 at 10:29:25AM +0900, Hidetoshi Seto wrote: (2010/10/15 9:36), Marcelo Tosatti wrote: On Thu, Oct 14, 2010 at 05:49:43PM +0900, Jin Dongming wrote: There are 2 similar functions to handle SIGBUS: sigbus_handler(int n, struct qemu_signalfd_siginfo *siginfo,

[Qemu-devel] Re: [PATCH 07/11] kvm, x86: unify sigbus handling, prep

2010-10-14 Thread Marcelo Tosatti
On Thu, Oct 14, 2010 at 05:49:43PM +0900, Jin Dongming wrote: There are 2 similar functions to handle SIGBUS: sigbus_handler(int n, struct qemu_signalfd_siginfo *siginfo, void *ctx) kvm_on_sigbus(CPUState *env, siginfo_t *siginfo) The former is used when main thread

Re: [Qemu-devel] Re: [PATCH 07/11] kvm, x86: unify sigbus handling, prep

2010-10-14 Thread Hidetoshi Seto
(2010/10/15 9:36), Marcelo Tosatti wrote: On Thu, Oct 14, 2010 at 05:49:43PM +0900, Jin Dongming wrote: There are 2 similar functions to handle SIGBUS: sigbus_handler(int n, struct qemu_signalfd_siginfo *siginfo, void *ctx) kvm_on_sigbus(CPUState *env, siginfo_t *siginfo)