lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <9C764699-6F9C-4AD8-A6C9-34D818753452@redhat.com>
Date:	Thu, 18 Apr 2013 16:25:48 +0300
From:	Yan Vugenfirer <yvugenfi@...hat.com>
To:	Gleb Natapov <gleb@...hat.com>
Cc:	"Zhanghaoyu (A)" <haoyu.zhang@...wei.com>,
	kvm list <kvm@...r.kernel.org>,
	"mst@...hat.com" <mst@...hat.com>,
	qemu-devel <qemu-devel@...gnu.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Luonengjun <luonengjun@...wei.com>,
	Zanghongyong <zanghongyong@...wei.com>,
	"Huangweidong (C)" <weidong.huang@...wei.com>,
	"Wangrui (K)" <moon.wangrui@...wei.com>
Subject: Re: KVM VM(windows xp) reseted when running geekbench for about 2 days


On Apr 18, 2013, at 3:55 PM, Gleb Natapov wrote:

> 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.

Make sure XP is not set to auto-reset in case of BSOD. 

Best regards,
Yan.

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ