From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbrMn-0007Cj-7S for qemu-devel@nongnu.org; Thu, 09 Feb 2017 11:14:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbrMm-0000BK-12 for qemu-devel@nongnu.org; Thu, 09 Feb 2017 11:14:41 -0500 Received: from mail-it0-x244.google.com ([2607:f8b0:4001:c0b::244]:34975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbrMl-0000B8-SI for qemu-devel@nongnu.org; Thu, 09 Feb 2017 11:14:39 -0500 Received: by mail-it0-x244.google.com with SMTP id 203so2686596ith.2 for ; Thu, 09 Feb 2017 08:14:39 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20170209143208.GL27752@localhost.localdomain> References: <1486617814-5420-1-git-send-email-Ashish.Mittal@veritas.com> <20170209062928.GI27752@localhost.localdomain> <20170209143208.GL27752@localhost.localdomain> From: ashish mittal Date: Thu, 9 Feb 2017 08:14:38 -0800 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v8 1/2] block/vxhs.c: Add support for a new block device type called "vxhs" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jeff Cody Cc: qemu-devel , Paolo Bonzini , Kevin Wolf , Markus Armbruster , "Daniel P. Berrange" , Fam Zheng , Ashish Mittal , Stefan Hajnoczi , John Ferlan , Buddhi Madhav , Suraj Singh , Nitin Jerath , Peter Maydell , Ketan Nilangekar , Abhijit Dey On Thu, Feb 9, 2017 at 6:32 AM, Jeff Cody wrote: > On Thu, Feb 09, 2017 at 01:24:58AM -0800, ashish mittal wrote: >> On Wed, Feb 8, 2017 at 10:29 PM, Jeff Cody wrote: >> > On Wed, Feb 08, 2017 at 09:23:33PM -0800, Ashish Mittal wrote: >> >> From: Ashish Mittal >> >> >> >> Source code for the qnio library that this code loads can be downloaded from: >> >> https://github.com/VeritasHyperScale/libqnio.git >> >> >> >> Sample command line using JSON syntax: >> >> ./x86_64-softmmu/qemu-system-x86_64 -name instance-00000008 -S -vnc 0.0.0.0:0 >> >> -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 >> >> -msg timestamp=on >> >> 'json:{"driver":"vxhs","vdisk-id":"c3e9095a-a5ee-4dce-afeb-2a59fb387410", >> >> "server":{"host":"172.172.17.4","port":"9999"}}' >> >> >> >> Sample command line using URI syntax: >> >> qemu-img convert -f raw -O raw -n >> >> /var/lib/nova/instances/_base/0c5eacd5ebea5ed914b6a3e7b18f1ce734c386ad >> >> vxhs://192.168.0.1:9999/c6718f6b-0401-441d-a8c3-1f0064d75ee0 >> >> >> > >> > I don't know if I am using the qnio_server test server correctly or not, but >> > when I run qemu-io from the command line I get an i/o error. When I run the >> > qemu-iotests, I get a segfault. >> > >> > Were you able to run qemu-iotests with these patches? >> > >> > Here is how I am invoking qnio_server: >> > >> > # qnio_server -d /home/jcody/work/redhat/upstream/qemu-kvm/tests/qemu-iotests/scratch -v >> > >> > >> >> I ran full qemu-iotests and qemu-io manually with the test server on >> version 7 patches. Ran qemu-io manually with the test server on >> version 8, but the libvxhs code is undergoing a lot of checkins. Will >> test again tomorrow and get back. >> > > Does my invocation above look correct, for running the qemu-iotests? qemu-iotest starts the server internally. The server does not have to be started explicitly before running qemu-iotest. The server must not be running before you begin the test because then the tests would find port 9999 busy. Running make install on libvxhs copies the test server to the location where the qemu-iotests expect to find it.