All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Lieven <pl@dlhnet.de>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Avi Kivity <avi@redhat.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: qemu-kvm-1.0.1 - unable to exit if vcpu is in infinite loop
Date: Mon, 02 Jul 2012 10:12:10 +0200	[thread overview]
Message-ID: <4FF157DA.2000805@dlhnet.de> (raw)
In-Reply-To: <4FF14855.2040306@siemens.com>

On 02.07.2012 09:05, Jan Kiszka wrote:
> On 2012-07-01 21:18, Peter Lieven wrote:
>> Am 01.07.2012 um 10:19 schrieb Avi Kivity:
>>
>>> On 06/28/2012 10:27 PM, Peter Lieven wrote:
>>>> Am 28.06.2012 um 18:32 schrieb Avi Kivity:
>>>>
>>>>> On 06/28/2012 07:29 PM, Peter Lieven wrote:
>>>>>>> Yes. A signal is sent, and KVM returns from the guest to userspace on
>>>>>>> pending signals.
>>>>>> is there a description available how this process exactly works?
>>>>> The kernel part is in vcpu_enter_guest(), see the check for
>>>>> signal_pending().  But this hasn't seen changes for quite a long while.
>>>> Thank you, i will have a look. I noticed a few patches that where submitted
>>>> during the last year, maybe one of them is related:
>>>>
>>>> Switch SIG_IPI to SIGUSR1
>>>> Fix signal handling of SIG_IPI when io-thread is enabled
>>>>
>>>> In the first commit there is mentioned a "32-on-64-bit Linux kernel bug"
>>>> is there any reference to that?
>>>
>>> http://web.archiveorange.com/archive/v/1XS1vwGSFLyYygwTXg1K.  Are you
>>> running 32-on-64?
>> I think the issue occurs when running a 32-bit guest on a 64-bit system. Afaik, the
>> isolinux loader where is see the race is 32-bit altough it is a 64-bit ubuntu lts
>> cd image. The second case where i have seen the race is on shutdown of a
>> Windows 2000 Server which is also 32-bit.
> "32-on-64" particularly means using a 32-bit QEMU[-kvm] binary on a
> 64-bit host kernel. What does "file qemu-system-x86_64" report about yours?
Its custom build on a 64-bit linux as 64-bit application. I will try to 
continue to find out
today whats going wrong. Any help or hints appreciated ;-)

Thanks,
Peter

> Jan
>


WARNING: multiple messages have this Message-ID (diff)
From: Peter Lieven <pl@dlhnet.de>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Avi Kivity <avi@redhat.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] qemu-kvm-1.0.1 - unable to exit if vcpu is in infinite loop
Date: Mon, 02 Jul 2012 10:12:10 +0200	[thread overview]
Message-ID: <4FF157DA.2000805@dlhnet.de> (raw)
In-Reply-To: <4FF14855.2040306@siemens.com>

On 02.07.2012 09:05, Jan Kiszka wrote:
> On 2012-07-01 21:18, Peter Lieven wrote:
>> Am 01.07.2012 um 10:19 schrieb Avi Kivity:
>>
>>> On 06/28/2012 10:27 PM, Peter Lieven wrote:
>>>> Am 28.06.2012 um 18:32 schrieb Avi Kivity:
>>>>
>>>>> On 06/28/2012 07:29 PM, Peter Lieven wrote:
>>>>>>> Yes. A signal is sent, and KVM returns from the guest to userspace on
>>>>>>> pending signals.
>>>>>> is there a description available how this process exactly works?
>>>>> The kernel part is in vcpu_enter_guest(), see the check for
>>>>> signal_pending().  But this hasn't seen changes for quite a long while.
>>>> Thank you, i will have a look. I noticed a few patches that where submitted
>>>> during the last year, maybe one of them is related:
>>>>
>>>> Switch SIG_IPI to SIGUSR1
>>>> Fix signal handling of SIG_IPI when io-thread is enabled
>>>>
>>>> In the first commit there is mentioned a "32-on-64-bit Linux kernel bug"
>>>> is there any reference to that?
>>>
>>> http://web.archiveorange.com/archive/v/1XS1vwGSFLyYygwTXg1K.  Are you
>>> running 32-on-64?
>> I think the issue occurs when running a 32-bit guest on a 64-bit system. Afaik, the
>> isolinux loader where is see the race is 32-bit altough it is a 64-bit ubuntu lts
>> cd image. The second case where i have seen the race is on shutdown of a
>> Windows 2000 Server which is also 32-bit.
> "32-on-64" particularly means using a 32-bit QEMU[-kvm] binary on a
> 64-bit host kernel. What does "file qemu-system-x86_64" report about yours?
Its custom build on a 64-bit linux as 64-bit application. I will try to 
continue to find out
today whats going wrong. Any help or hints appreciated ;-)

Thanks,
Peter

> Jan
>

  reply	other threads:[~2012-07-02  8:12 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-28 13:05 qemu-kvm-1.0.1 - unable to exit if vcpu is in infinite loop Peter Lieven
2012-06-28 13:25 ` Jan Kiszka
2012-06-28 15:02   ` Peter Lieven
2012-06-28 15:22     ` Jan Kiszka
2012-06-28 16:29       ` Peter Lieven
2012-06-28 16:32         ` Avi Kivity
2012-06-28 19:27           ` Peter Lieven
2012-07-01  8:19             ` Avi Kivity
2012-07-01  8:19               ` [Qemu-devel] " Avi Kivity
2012-07-01 19:18               ` Peter Lieven
2012-07-01 19:18                 ` [Qemu-devel] " Peter Lieven
2012-07-02  7:05                 ` Jan Kiszka
2012-07-02  7:05                   ` [Qemu-devel] " Jan Kiszka
2012-07-02  8:12                   ` Peter Lieven [this message]
2012-07-02  8:12                     ` Peter Lieven
2012-08-06 15:11 ` Stefan Hajnoczi
2012-08-06 15:11   ` [Qemu-devel] " Stefan Hajnoczi
2012-08-17 13:11   ` Jan Kiszka
2012-08-17 13:11     ` [Qemu-devel] " Jan Kiszka
2012-08-17 14:36     ` Jan Kiszka
2012-08-17 14:36       ` [Qemu-devel] " Jan Kiszka
2012-08-17 14:41       ` Jan Kiszka
2012-08-17 14:41         ` [Qemu-devel] " Jan Kiszka
2012-08-17 15:04         ` Jan Kiszka
2012-08-17 15:04           ` [Qemu-devel] " Jan Kiszka
2012-08-19  9:42           ` Avi Kivity
2012-08-19  9:42             ` [Qemu-devel] " Avi Kivity
2012-08-21  7:21             ` Jan Kiszka
2012-08-21  7:21               ` [Qemu-devel] " Jan Kiszka
2012-08-21  8:23               ` Stefan Hajnoczi
2012-08-21  8:23                 ` [Qemu-devel] " Stefan Hajnoczi
2012-08-22 12:52                 ` Peter Lieven
2012-08-22 12:52                   ` [Qemu-devel] " Peter Lieven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FF157DA.2000805@dlhnet.de \
    --to=pl@dlhnet.de \
    --cc=avi@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.