Re: [Qemu-devel] [PATCH 1/2] virito-pci: fix OVERRUN problem

2015-06-23 Thread Gonglei
On 2015/6/23 14:32, Michael S. Tsirkin wrote: > Although the subject is virtio-pci. Fixed up. > Yes, thanks. Regards, -Gonglei

Re: [Qemu-devel] [PATCH 1/2] virito-pci: fix OVERRUN problem

2015-06-22 Thread Michael S. Tsirkin
Although the subject is virtio-pci. Fixed up.

[Qemu-devel] [PATCH 1/2] virito-pci: fix OVERRUN problem

2015-06-22 Thread arei.gonglei
From: Gonglei Overrunning array "proxy->guest_features" of 2 4-byte elements at element index 2 (byte offset 8) using index "proxy->gfselect" (which evaluates to 2). Normally, the Linux kernel driver just read/write '0' or '1' as the "proxy->gfselect" values, so using '<' instead of '=<' to make