Re: [PATCH] KVM: x86 emulator: Fix unconditional return from get_descriptor_table_ptr()

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

 



On 05/21/2011 07:06 AM, Takuya Yoshikawa wrote:
From: Takuya Yoshikawa<yoshikawa.takuya@xxxxxxxxxxxxx>

A trivial typo was found in the following commit:
   commit 7753ed6043bfce55dc0c407490896632014b677e
   KVM: x86 emulator: drop vcpu argument from segment/gdt/idt callbacks

When the table indicator flag is set, when the selector selects the
current LDT, get_descriptor_table_ptr() returns without setting the
size and address of the table.

Guests will see #GP if this happens.


Thanks, applied.

Signed-off-by: Takuya Yoshikawa<yoshikawa.takuya@xxxxxxxxxxxxx>
---
  Is this stable material? -- IIRC, someone reported a suspicous
  emulator bug recently.

This was not yet merged upstream, so I folded this into the bad commit, and upstream will never see the bug. It's now 4bff1e86ad286d in kvm.git.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

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