From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIAVc-0001zi-L5 for qemu-devel@nongnu.org; Fri, 24 Nov 2017 04:42:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIAVY-00024m-Ew for qemu-devel@nongnu.org; Fri, 24 Nov 2017 04:42:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49374) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eIAVY-00023O-97 for qemu-devel@nongnu.org; Fri, 24 Nov 2017 04:42:52 -0500 References: <20171124075542.16979-1-ppandit@redhat.com> From: Paolo Bonzini Message-ID: <48adc6ba-270e-ab22-111b-1897d551dc65@redhat.com> Date: Fri, 24 Nov 2017 10:42:44 +0100 MIME-Version: 1.0 In-Reply-To: <20171124075542.16979-1-ppandit@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 0/2] check VirtiQueue Vring objects List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: P J P , Qemu Developers Cc: Stefan Hajnoczi , zhangboxian , Prasad J Pandit On 24/11/2017 08:55, P J P wrote: > From: Prasad J Pandit > > Hello, > > An user could attempt to use an uninitialised VirtQueue object > or set Vring object with undue values, raising an unexpected > exception in Qemu. This patch set fixes this issue and also adds > a unit test to the suite. > > Thank you. > -- > Prasad J Pandit (2): > virtio: check VirtQueue Vring object is set > tests: add test to check VirtQueue object > > hw/virtio/virtio.c | 11 ++++++++--- > tests/virtio-blk-test.c | 21 +++++++++++++++++++++ > 2 files changed, 29 insertions(+), 3 deletions(-) > Reviewed-by: Paolo Bonzini