Re: [PATCH] kvm tools: Fix segfault on "lkvm run"

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

 



On Tue, Aug 14, 2012 at 11:47 AM, Paul Neumann <paul104x@xxxxxxxx> wrote:
>> Looks good to me.  Paul, can you tell how the segfault
>> is triggered as
>> well? Thanks.
>>
> The segfault is triggered by just running "lkvm run". On my system, it
> does not find any kernel, so kvm_cmd_run_init() returns EINVAL which
> fails the (r < 0) check in kvm_cmd_run().
> Since kvm_cmd_run_init() does not get to initialize the cpus, kvm_cpus
> gets mistakenly dereferenced in kvm_cmd_run_work().

Applied with improved changelog. Thanks!
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux