Re: [PATCH 01/14] KVM: Clean up error handling during VCPU creation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/26/2013 10:18 PM, Greg KH wrote:
> On Tue, Mar 19, 2013 at 12:36:46PM +0100, Jiri Slaby wrote:
>> From: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>>
>> commit d780592b99d7d8a5ff905f6bacca519d4a342c76 upstream.
>>
>> So far kvm_arch_vcpu_setup is responsible for freeing the vcpu struct if
>> it fails. Move this confusing resonsibility back into the hands of
>> kvm_vm_ioctl_create_vcpu. Only kvm_arch_vcpu_setup of x86 is affected,
>> all other archs cannot fail.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>> Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>
>> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> 
> What stable tree(s) are all of these for?

This the promised "CVE fixes for 3.0", sorry for not mentioning it.

-- 
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]