public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Pending signals prevent entry to the guest
       [not found] <891339.34601232509246126.JavaMail.root@mailserv1>
@ 2009-01-21  4:09 ` Steven Stovall
  2009-01-21  8:05   ` Dor Laor
  2009-01-21  8:49   ` Avi Kivity
  0 siblings, 2 replies; 6+ messages in thread
From: Steven Stovall @ 2009-01-21  4:09 UTC (permalink / raw)
  To: kvm

I posted about a week ago regarding a very different behavior with a host-side app vis a vis kvm-77 vs kvm-33. Pending signals (SIGIO and SIGALRM) never seem to be dequeued so that I never kvm_guest_enter()...it appears that only the dynticks alarm_timer gets enabled which only handles SIGALRM, while the rtc alarm_timer which handles SIGIO does not. I have tried to make sure both are enabled, but I still have perpetual pending signals...is this possible?? Or is there some corruption somewhere?

Steven

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Pending signals prevent entry to the guest
  2009-01-21  4:09 ` Pending signals prevent entry to the guest Steven Stovall
@ 2009-01-21  8:05   ` Dor Laor
  2009-01-21  8:49   ` Avi Kivity
  1 sibling, 0 replies; 6+ messages in thread
From: Dor Laor @ 2009-01-21  8:05 UTC (permalink / raw)
  To: Steven Stovall; +Cc: kvm

Steven Stovall wrote:
> I posted about a week ago regarding a very different behavior with a host-side app vis a vis kvm-77 vs kvm-33. Pending signals (SIGIO and SIGALRM) never seem to be dequeued so that I never kvm_guest_enter()...it appears that only the dynticks alarm_timer gets enabled which only handles SIGALRM, while the rtc alarm_timer which handles SIGIO does not. I have tried to make sure both are enabled, but I still have perpetual pending signals...is this possible?? Or is there some corruption somewhere?
>   
How many signal_exits do you see on kvm_stat?
What's your host kernel version?
It wasn't clean if you use dyn tick or rtc clock in qemu. Please post 
the command line.
> Steven
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Pending signals prevent entry to the guest
  2009-01-21  4:09 ` Pending signals prevent entry to the guest Steven Stovall
  2009-01-21  8:05   ` Dor Laor
@ 2009-01-21  8:49   ` Avi Kivity
  1 sibling, 0 replies; 6+ messages in thread
From: Avi Kivity @ 2009-01-21  8:49 UTC (permalink / raw)
  To: Steven Stovall; +Cc: kvm

Steven Stovall wrote:
> I posted about a week ago regarding a very different behavior with a host-side app vis a vis kvm-77 vs kvm-33. Pending signals (SIGIO and SIGALRM) never seem to be dequeued so that I never kvm_guest_enter()...it appears that only the dynticks alarm_timer gets enabled which only handles SIGALRM, while the rtc alarm_timer which handles SIGIO does not. I have tried to make sure both are enabled, but I still have perpetual pending signals...is this possible?? Or is there some corruption somewhere?
>   

You must call sigtimedwait() or one of its friends with the pending 
signal enabled after KVM_VCPU_RUN exits with -EINTR.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Pending signals prevent entry to the guest
       [not found] <15896857.36841232581961353.JavaMail.root@mailserv1>
@ 2009-01-21 23:53 ` Steven Stovall
  2009-01-22  0:14   ` Dor Laor
  0 siblings, 1 reply; 6+ messages in thread
From: Steven Stovall @ 2009-01-21 23:53 UTC (permalink / raw)
  To: kvm

Can you please explain why dyn or rtc are not the right alarm_timers? My host is linux-2.6.24.
----- Original Message -----
From: "Dor Laor" <dlaor@redhat.com>
To: "Steven Stovall" <sstovall@neuraliq.com>
Cc: "kvm" <kvm@vger.kernel.org>
Sent: Wednesday, January 21, 2009 12:05:37 AM GMT -08:00 US/Canada Pacific
Subject: Re: Pending signals prevent entry to the guest

Steven Stovall wrote:
> I posted about a week ago regarding a very different behavior with a host-side app vis a vis kvm-77 vs kvm-33. Pending signals (SIGIO and SIGALRM) never seem to be dequeued so that I never kvm_guest_enter()...it appears that only the dynticks alarm_timer gets enabled which only handles SIGALRM, while the rtc alarm_timer which handles SIGIO does not. I have tried to make sure both are enabled, but I still have perpetual pending signals...is this possible?? Or is there some corruption somewhere?
>   
How many signal_exits do you see on kvm_stat?
What's your host kernel version?
It wasn't clean if you use dyn tick or rtc clock in qemu. Please post 
the command line.
> Steven
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Pending signals prevent entry to the guest
  2009-01-21 23:53 ` Steven Stovall
@ 2009-01-22  0:14   ` Dor Laor
  2009-01-24  1:50     ` Steven Stovall
  0 siblings, 1 reply; 6+ messages in thread
From: Dor Laor @ 2009-01-22  0:14 UTC (permalink / raw)
  To: Steven Stovall; +Cc: kvm

Steven Stovall wrote:
> Can you please explain why dyn or rtc are not the right alarm_timers? My host is linux-2.6.24.
>   
Both options should be fine. I asked for cmd line and kvm_stat output.
> ----- Original Message -----
> From: "Dor Laor" <dlaor@redhat.com>
> To: "Steven Stovall" <sstovall@neuraliq.com>
> Cc: "kvm" <kvm@vger.kernel.org>
> Sent: Wednesday, January 21, 2009 12:05:37 AM GMT -08:00 US/Canada Pacific
> Subject: Re: Pending signals prevent entry to the guest
>
> Steven Stovall wrote:
>   
>> I posted about a week ago regarding a very different behavior with a host-side app vis a vis kvm-77 vs kvm-33. Pending signals (SIGIO and SIGALRM) never seem to be dequeued so that I never kvm_guest_enter()...it appears that only the dynticks alarm_timer gets enabled which only handles SIGALRM, while the rtc alarm_timer which handles SIGIO does not. I have tried to make sure both are enabled, but I still have perpetual pending signals...is this possible?? Or is there some corruption somewhere?
>>   
>>     
> How many signal_exits do you see on kvm_stat?
> What's your host kernel version?
> It wasn't clean if you use dyn tick or rtc clock in qemu. Please post 
> the command line.
>   
>> Steven
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>   
>>     
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Pending signals prevent entry to the guest
  2009-01-22  0:14   ` Dor Laor
@ 2009-01-24  1:50     ` Steven Stovall
  0 siblings, 0 replies; 6+ messages in thread
From: Steven Stovall @ 2009-01-24  1:50 UTC (permalink / raw)
  To: kvm

Thanks for the feedback. My problem turned out to be a mere misconfiguration propagated by a dubious provenance :-)

Steven

----- Original Message -----
From: "Dor Laor" <dlaor@redhat.com>
To: "Steven Stovall" <sstovall@neuraliq.com>
Cc: "kvm" <kvm@vger.kernel.org>
Sent: Wednesday, January 21, 2009 4:14:32 PM GMT -08:00 US/Canada Pacific
Subject: Re: Pending signals prevent entry to the guest

Steven Stovall wrote:
> Can you please explain why dyn or rtc are not the right alarm_timers? My host is linux-2.6.24.
>   
Both options should be fine. I asked for cmd line and kvm_stat output.
> ----- Original Message -----
> From: "Dor Laor" <dlaor@redhat.com>
> To: "Steven Stovall" <sstovall@neuraliq.com>
> Cc: "kvm" <kvm@vger.kernel.org>
> Sent: Wednesday, January 21, 2009 12:05:37 AM GMT -08:00 US/Canada Pacific
> Subject: Re: Pending signals prevent entry to the guest
>
> Steven Stovall wrote:
>   
>> I posted about a week ago regarding a very different behavior with a host-side app vis a vis kvm-77 vs kvm-33. Pending signals (SIGIO and SIGALRM) never seem to be dequeued so that I never kvm_guest_enter()...it appears that only the dynticks alarm_timer gets enabled which only handles SIGALRM, while the rtc alarm_timer which handles SIGIO does not. I have tried to make sure both are enabled, but I still have perpetual pending signals...is this possible?? Or is there some corruption somewhere?
>>   
>>     
> How many signal_exits do you see on kvm_stat?
> What's your host kernel version?
> It wasn't clean if you use dyn tick or rtc clock in qemu. Please post 
> the command line.
>   
>> Steven
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>   
>>     
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-24  1:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <891339.34601232509246126.JavaMail.root@mailserv1>
2009-01-21  4:09 ` Pending signals prevent entry to the guest Steven Stovall
2009-01-21  8:05   ` Dor Laor
2009-01-21  8:49   ` Avi Kivity
     [not found] <15896857.36841232581961353.JavaMail.root@mailserv1>
2009-01-21 23:53 ` Steven Stovall
2009-01-22  0:14   ` Dor Laor
2009-01-24  1:50     ` Steven Stovall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox