qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Jeff Cody <jcody@redhat.com>
Cc: Ashish Mittal <ashmit602@gmail.com>,
	qemu-devel@nongnu.org, pbonzini@redhat.com, kwolf@redhat.com,
	armbru@redhat.com, famz@redhat.com, ashish.mittal@veritas.com,
	stefanha@gmail.com, Rakesh.Ranjan@veritas.com,
	Buddhi.Madhav@veritas.com, Ketan.Nilangekar@veritas.com,
	Abhijit.Dey@veritas.com
Subject: Re: [Qemu-devel] [PATCH v1] block/vxhs: Add Veritas HyperScale VxHS block device support
Date: Wed, 26 Oct 2016 08:30:18 +0200	[thread overview]
Message-ID: <20161026063018.GA19472@redhat.com> (raw)
In-Reply-To: <20161026044128.GA2677@localhost.localdomain>

On Wed, Oct 26, 2016 at 12:41:28AM -0400, Jeff Cody wrote:
> On Tue, Oct 25, 2016 at 03:02:07PM -0700, Ashish Mittal wrote:
> > This patch adds support for a new block device type called "vxhs".
> > Source code for the library that this code loads can be downloaded from:
> > https://github.com/MittalAshish/libqnio.git
> >
> 
> I grabbed the latest of libqnio, compiled it (had to disable -Werror), and
> tried it out.  I was able to do a qemu-img info on a raw file, but it would
> just hang when trying a format such as qcow2.  I am assuming
> this is a limitation of test_server, and not libqnio.
> 
> This will make qemu-iotests more difficult however.
> 
> I haven't looked at the latest qnio code yet (other than compiling the
> test-server to test), so the rest of this review is on the qemu driver.
> 
> > Sample command line using JSON syntax:
> > ./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/%7Bc6718f6b-0401-441d-a8c3-1f0064d75ee0%7D
> > 
> > Signed-off-by: Ashish Mittal <ashish.mittal@veritas.com>
> > ---
> >  block/Makefile.objs |   2 +
> >  block/trace-events  |  22 ++
> >  block/vxhs.c        | 736 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> >  configure           |  41 +++jj
> >  4 files changed, 801 insertions(+)
> >  create mode 100644 block/vxhs.c
> 
> I think this version still does not address Daniel's concerns regarding a
> QAPI schema for vxhs.

Yes, indeed, which makes me question what level of testing this patch
has had - hotplugging for devices is not testable without having the
QAPI schema there.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

  reply	other threads:[~2016-10-26  6:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-25 22:02 [Qemu-devel] [PATCH v1] block/vxhs: Add Veritas HyperScale VxHS block device support Ashish Mittal
2016-10-26  4:41 ` Jeff Cody
2016-10-26  6:30   ` Daniel P. Berrange [this message]
2016-10-26 21:33   ` Buddhi Madhav
2016-10-27  1:09     ` Jeff Cody
2016-10-27  6:49       ` Markus Armbruster
2016-10-27  7:27     ` Daniel P. Berrange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161026063018.GA19472@redhat.com \
    --to=berrange@redhat.com \
    --cc=Abhijit.Dey@veritas.com \
    --cc=Buddhi.Madhav@veritas.com \
    --cc=Ketan.Nilangekar@veritas.com \
    --cc=Rakesh.Ranjan@veritas.com \
    --cc=armbru@redhat.com \
    --cc=ashish.mittal@veritas.com \
    --cc=ashmit602@gmail.com \
    --cc=famz@redhat.com \
    --cc=jcody@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).