All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: "Zhanghaoyu (A)" <haoyu.zhang@huawei.com>
Cc: kvm list <kvm@vger.kernel.org>, "mst@redhat.com" <mst@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Luonengjun <luonengjun@huawei.com>,
	Zanghongyong <zanghongyong@huawei.com>,
	"Huangweidong (C)" <weidong.huang@huawei.com>,
	"Wangrui (K)" <moon.wangrui@huawei.com>
Subject: Re: KVM VM(windows xp) reseted when running geekbench for about 2 days
Date: Thu, 18 Apr 2013 15:55:32 +0300	[thread overview]
Message-ID: <20130418125532.GW8997@redhat.com> (raw)
In-Reply-To: <D3E216785288A145B7BC975F83A2ED103FE1E7A5@szxeml556-mbx.china.huawei.com>

On Thu, Apr 18, 2013 at 12:00:49PM +0000, Zhanghaoyu (A) wrote:
> I start 10 VMs(windows xp), then running geekbench tool on them, about 2 days, one of them was reset,
> I found the reset operation is done by
> int kvm_cpu_exec(CPUArchState *env)
> {
>     ...
>        switch (run->exit_reason)
>        ...
>         case KVM_EXIT_SHUTDOWN:
>             DPRINTF("shutdown\n");
>             qemu_system_reset_request();
>             ret = EXCP_INTERRUPT;
>             break;
>     ...
> }
> 
> KVM_EXIT_SHUTDOWN exit reason was set previously in triple fault handle handle_triple_fault().
> 
How do you know that reset was done here? This is not the only place
where qemu_system_reset_request() is called.

> What causes the triple fault?
> 
Are you asking what is triple fault or why it happened in your case?
For the former see here: http://en.wikipedia.org/wiki/Triple_fault
For the later it is to late to tell after VM reset. You can run QEMU with
-no-reboot -no-shutdown. VM will pause instead of rebooting and then you
can examine what is going on.

--
			Gleb.

WARNING: multiple messages have this Message-ID (diff)
From: Gleb Natapov <gleb@redhat.com>
To: "Zhanghaoyu (A)" <haoyu.zhang@huawei.com>
Cc: "Huangweidong (C)" <weidong.huang@huawei.com>,
	kvm list <kvm@vger.kernel.org>, "mst@redhat.com" <mst@redhat.com>,
	Luonengjun <luonengjun@huawei.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	qemu-devel <qemu-devel@nongnu.org>,
	Zanghongyong <zanghongyong@huawei.com>,
	"Wangrui (K)" <moon.wangrui@huawei.com>
Subject: Re: [Qemu-devel] KVM VM(windows xp) reseted when running geekbench for about 2 days
Date: Thu, 18 Apr 2013 15:55:32 +0300	[thread overview]
Message-ID: <20130418125532.GW8997@redhat.com> (raw)
In-Reply-To: <D3E216785288A145B7BC975F83A2ED103FE1E7A5@szxeml556-mbx.china.huawei.com>

On Thu, Apr 18, 2013 at 12:00:49PM +0000, Zhanghaoyu (A) wrote:
> I start 10 VMs(windows xp), then running geekbench tool on them, about 2 days, one of them was reset,
> I found the reset operation is done by
> int kvm_cpu_exec(CPUArchState *env)
> {
>     ...
>        switch (run->exit_reason)
>        ...
>         case KVM_EXIT_SHUTDOWN:
>             DPRINTF("shutdown\n");
>             qemu_system_reset_request();
>             ret = EXCP_INTERRUPT;
>             break;
>     ...
> }
> 
> KVM_EXIT_SHUTDOWN exit reason was set previously in triple fault handle handle_triple_fault().
> 
How do you know that reset was done here? This is not the only place
where qemu_system_reset_request() is called.

> What causes the triple fault?
> 
Are you asking what is triple fault or why it happened in your case?
For the former see here: http://en.wikipedia.org/wiki/Triple_fault
For the later it is to late to tell after VM reset. You can run QEMU with
-no-reboot -no-shutdown. VM will pause instead of rebooting and then you
can examine what is going on.

--
			Gleb.

  reply	other threads:[~2013-04-18 12:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-18 12:00 KVM VM(windows xp) reseted when running geekbench for about 2 days Zhanghaoyu (A)
2013-04-18 12:00 ` [Qemu-devel] " Zhanghaoyu (A)
2013-04-18 12:55 ` Gleb Natapov [this message]
2013-04-18 12:55   ` Gleb Natapov
2013-04-18 13:25   ` Yan Vugenfirer
2013-04-18 13:25     ` [Qemu-devel] " Yan Vugenfirer
2013-04-19  1:05     ` Zhanghaoyu (A)
2013-04-19  1:05       ` [Qemu-devel] " Zhanghaoyu (A)
2013-04-19 11:42       ` Gleb Natapov
2013-04-19 11:42         ` [Qemu-devel] " Gleb Natapov
2013-04-19 11:42         ` Gleb Natapov
2013-04-23  8:21         ` Zhanghaoyu (A)
2013-04-23  8:21           ` [Qemu-devel] " Zhanghaoyu (A)
2013-04-23  8:36           ` Gleb Natapov
2013-04-23  8:36             ` [Qemu-devel] " Gleb Natapov
2013-04-25  9:35             ` Zhanghaoyu (A)
2013-04-25  9:35               ` [Qemu-devel] " Zhanghaoyu (A)

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=20130418125532.GW8997@redhat.com \
    --to=gleb@redhat.com \
    --cc=haoyu.zhang@huawei.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luonengjun@huawei.com \
    --cc=moon.wangrui@huawei.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=weidong.huang@huawei.com \
    --cc=zanghongyong@huawei.com \
    /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.