Skip to contentSkip to conversation

Pending signals prevent entry to the guest

DISCUSSION Steven Stovall 2 participants 3 messages Jan 21, 2009 – Jan 24, 2009 1 message not in the archive KVM

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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" <[email protected]>
To: "Steven Stovall" <[email protected]>
Cc: "kvm" <[email protected]>
Sent: Wednesday, January 21, 2009 12:05:37 AM GMT -08:00 US/Canada Pacific
Subject: Re: Pending signals prevent entry to the guest

Quoted 2 lines · Steven Stovall

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.

Quoted 6 lines

Steven
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 2 lines · Steven Stovall

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.

Quoted 30 lines

----- Original Message -----
From: "Dor Laor" <[email protected]>
To: "Steven Stovall" <[email protected]>
Cc: "kvm" <[email protected]>
Sent: Wednesday, January 21, 2009 12:05:37 AM GMT -08:00 US/Canada Pacific
Subject: Re: Pending signals prevent entry to the guest

Quoted 3 lines · Steven Stovall

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.

Quoted 7 lines

Steven
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

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

Steven

----- Original Message -----
From: "Dor Laor" <[email protected]>
To: "Steven Stovall" <[email protected]>
Cc: "kvm" <[email protected]>
Sent: Wednesday, January 21, 2009 4:14:32 PM GMT -08:00 US/Canada Pacific
Subject: Re: Pending signals prevent entry to the guest

Quoted 2 lines · Steven Stovall

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.

Quoted 31 lines

----- Original Message -----
From: "Dor Laor" <[email protected]>
To: "Steven Stovall" <[email protected]>
Cc: "kvm" <[email protected]>
Sent: Wednesday, January 21, 2009 12:05:37 AM GMT -08:00 US/Canada Pacific
Subject: Re: Pending signals prevent entry to the guest

Quoted 3 lines · Steven Stovall

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.

Quoted 7 lines

Steven
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html