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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 01 Jul 2009 16:41:54 +0300
From:	Avi Kivity <avi@...hat.com>
To:	Andi Kleen <andi@...stfloor.org>
CC:	Andi Kleen <ak@...ux.intel.com>, Greg KH <gregkh@...e.de>,
	Stefan Lippers-Hollmann <s.L-H@....de>,
	linux-kernel@...r.kernel.org, ying.huang@...el.com,
	stable@...nel.org
Subject: Re: patch kvm-add-vt-x-machine-check-support.patch added to	2.6.30-stable
 tree

On 07/01/2009 04:24 PM, Andi Kleen wrote:
>
> KVM: Add VT-x machine check support v3
>
> VT-x needs an explicit MC vector intercept to handle machine checks in the
> hypervisor.
>
> It also has a special option to catch machine checks that happen
> during VT entry.
>
> Do these interceptions and forward them to the Linux machine check
> handler. Make it always look like user space is interrupted because
> the machine check handler treats kernel/user space differently.
>
> Thanks to Huang Ying and Jiang Yunhong for help and testing.
>
> Cc: ying.huang@...el.com
>
> v2: Handle machine checks still in interrupt off context
> to avoid problems on preemptible kernels.
> v3: Handle old style 32bit and make fully standalone
>
>
> ===================================================================
> --- linux-2.6.30-ak.orig/arch/x86/include/asm/kvm_host.h
> +++ linux-2.6.30-ak/arch/x86/include/asm/kvm_host.h
> @@ -371,6 +371,8 @@ struct kvm_vcpu_arch {
>   	unsigned long dr6;
>   	unsigned long dr7;
>   	unsigned long eff_db[KVM_NR_DB_REGS];
> +
> +	u32 exit_reason;
>   };
>
>    

Should be in struct vmx_vcpu; otherwise ack.

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

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