|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] domains not shutting down properly-theproblemisbackagain
> My dom0 kernel is http://xenbits.xensource.com/linux-2.6.18-xen.hg
>
> The crash I had last night was just:
>
> "
> void send_guest_global_virq(struct domain *d, int virq)
> {
> unsigned long flags;
> int port;
> struct vcpu *v;
> struct evtchn *chn;
>
> ASSERT(virq_is_global(virq));
>
> if (virq == VIRQ_DOM_EXC)
> printk("send_guest_global_virq\n");
> "
>
> adding the last two lines above. There should be no reason for that to
> cause a crash that I can see, but as soon as I take those lines away
it
> all works. I have printk's in the function that calls
> send_guest_global_virq and they work just fine.
It turns out it wasn't those two lines, it was a debug statement a bit
further down, just after " port = v->virq_to_evtchn[virq];", with
v->virq_lock held. I'm guessing that printk can't execute with virq_lock
held?
So no crash anymore but the event isn't getting through...
James
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-devel] domains not shutting down properly - theproblemisback again, (continued)
- RE: [Xen-devel] domains not shutting down properly - theproblemisback again, James Harper
- Re: [Xen-devel] domains not shutting down properly - theproblemisback again, Keir Fraser
- RE: [Xen-devel] domains not shutting down properly - theproblemisback again, James Harper
- RE: [Xen-devel] domains not shutting down properly - theproblemisbackagain, James Harper
- Re: [Xen-devel] domains not shutting down properly - theproblemisbackagain, Keir Fraser
- RE: [Xen-devel] domains not shutting down properly -theproblemisbackagain, James Harper
- Re: [Xen-devel] domains not shutting down properly -theproblemisbackagain, Keir Fraser
- RE: [Xen-devel] domains not shutting down properly -theproblemisbackagain, James Harper
- RE: [Xen-devel] domains not shutting down properly-theproblemisbackagain,
James Harper <=
- RE: [Xen-devel] domains not shutting down properly -theproblemisbackagain, James Harper
- RE: [Xen-devel] domains not shutting down properly-theproblemisbackagain, James Harper
- [Xen-devel] bug in evtchn_cpu_notify (was domains not shutting down properly-theproblemisbackagain), James Harper
- [Xen-devel] RE: bug in evtchn_cpu_notify (was domains not shutting down properly-theproblemisbackagain), James Harper
- [Xen-devel] Re: bug in evtchn_cpu_notify (was domains not shutting down properly-theproblemisbackagain), Keir Fraser
- RE: [Xen-devel] domains not shutting down properly -theproblemisbackagain, James Harper
- RE: [Xen-devel] domains not shutting down properly - theproblemisback again, James Harper
|
|
|
|
|