qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Thomas Huth <thuth@redhat.com>
Cc: lvivier@redhat.com, pbonzini@redhat.com, qemu-ppc@nongnu.org,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] spapr: Reduce advertised max LUNs for spapr_vscsi
Date: Wed, 9 Sep 2015 17:19:34 +1000	[thread overview]
Message-ID: <20150909071934.GD17641@voom.redhat.com> (raw)
In-Reply-To: <55EFD0DE.1050001@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1329 bytes --]

On Wed, Sep 09, 2015 at 08:25:34AM +0200, Thomas Huth wrote:
> On 09/09/15 03:22, David Gibson wrote:
> > The implementation of the PAPR paravirtual SCSI adapter currently
> > allows up to 32 LUNs (max_lun == 31).  However the adapter isn't really
> > designed to support lots of devices - the PowerVM implementation only
> > ever puts one disk per vSCSI controller.
> 
> Do you know how many LUNs are advertised by PowerVM?

Well, what do you mean by "advertised".  AFAIK from the point of view
of the guest, the number of LUNs is advertised per-target, not per
controller.

When I say "advertised" here, I'm meaning what the controller
advertises to the qemu SCSI core, and thereby to the option parsing
code.

> > More specifically, the Linux guest side vscsi driver (the only one we
> > really care about) is hardcoded to allow a maximum of 8 LUNs.
> 
> So what about changing the vscsi driver in Linux instead to support more
> LUNs?

Doesn't help for existing guests.  Basically what I'm trying to
achieve is for qemu to reject up-front configurations that are
unlikely to actually work in the guest.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-09-09  7:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09  1:22 [Qemu-devel] [PATCH] spapr: Reduce advertised max LUNs for spapr_vscsi David Gibson
2015-09-09  3:39 ` [Qemu-devel] [PATCHEW] Series failed testing Patchew Jenkins
2015-09-09  3:57   ` Fam Zheng
2015-09-09  6:25 ` [Qemu-devel] [PATCH] spapr: Reduce advertised max LUNs for spapr_vscsi Thomas Huth
2015-09-09  7:19   ` David Gibson [this message]
2015-09-09  7:29     ` Thomas Huth
2015-09-09 12:09       ` Paolo Bonzini
2015-09-10  1:24       ` David Gibson
2015-09-10  6:12         ` Thomas Huth
2015-09-10  6:48           ` David Gibson
2015-09-10 10:31             ` Laurent Vivier

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=20150909071934.GD17641@voom.redhat.com \
    --to=david@gibson.dropbear.id.au \
    --cc=lvivier@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=thuth@redhat.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).