qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Alexander Graf <agraf@suse.de>
Cc: Christian Paro <cparo@us.ibm.com>,
	qemu-devel@nongnu.org, Dominik Dingel <dingel@linux.vnet.ibm.com>
Subject: Re: [Qemu-devel] [PATCH 09/10] S390: Pass per-device loadparm values for CCW blk and net devs.
Date: Fri, 26 Apr 2013 21:54:32 +0200	[thread overview]
Message-ID: <517ADB78.3070800@de.ibm.com> (raw)
In-Reply-To: <7D1D8BDA-CC1A-4692-B249-733D2687BA82@suse.de>

On 26/04/13 20:14, Alexander Graf wrote:
> 
> On 26.04.2013, at 20:08, Dominik Dingel wrote:
> 
>> On Fri, 26 Apr 2013 18:52:48 +0200
>> Alexander Graf <agraf@suse.de> wrote:
>>
>>>
>>> On 26.04.2013, at 14:12, Dominik Dingel wrote:
>>>
>>>> From: Christian Paro <cparo@us.ibm.com>
>>>>
>>>> Provide a loadparm property which can be used to pass IPL load
>>>> parameters on a per-device basis for VirtioCcwDevice instances
>>>> representing block and network devices.
>>>>
>>>> Signed-off-by: Christian Paro <cparo@us.ibm.com>
>>>>
>>>> diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
>>>> index 56539d3..23d042f 100644
>>>> --- a/hw/s390x/virtio-ccw.c
>>>> +++ b/hw/s390x/virtio-ccw.c
>>>> @@ -791,6 +791,7 @@ static const VirtIOBindings virtio_ccw_bindings = {
>>>>
>>>> static Property virtio_ccw_net_properties[] = {
>>>>    DEFINE_PROP_STRING("devno", VirtioCcwDevice, bus_id),
>>>> +    DEFINE_PROP_UINT32("loadparm", VirtioCcwDevice, loadparm, 0),
>>>
>>> We don't support netboot yet, right? Also is "loadparm" an architected name? Wouldn't "bootmap_id" or something that actually tells the user what's going on fit better?
>>>
>>>
>>> Alex
>>
>> Christian had the idea to name it subindex, but I don't know, to be honest, I like the general open solution more, especially for the commandline interface. What if we later on want to change the behaviour, loadparm, or better biosparameter is so general... where bootmap_id is narrowed down.

You should probably specify the Christian.. ;-)
My vote was for loadparm, because thats how the parameter is called in HMC and in
z/VM as well as under /sys/firmware/reipl/ccw/loadparm etc. On the other hand
its only loadparm for ccw disk devices. fcp has wwpn,lun etc.

Its getting late in the cycle, so lets focus on the bootindex and defer this
after 1.5.

  reply	other threads:[~2013-04-26 19:55 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26 12:12 [Qemu-devel] [PATCH 00/10] S390: Enhance s390 BIOS to enable bootdevice selection Dominik Dingel
2013-04-26 12:12 ` [Qemu-devel] [PATCH 01/10] Common: Add a default bootindex for all applicable devices Dominik Dingel
2013-04-26 15:19   ` Alexander Graf
2013-04-26 16:36   ` Anthony Liguori
2013-04-26 18:01     ` Dominik Dingel
2013-04-26 18:55       ` Anthony Liguori
2013-04-26 19:13         ` Gleb Natapov
2013-04-26 21:34           ` Dominik Dingel
2013-04-27  5:44             ` Gleb Natapov
2013-04-26 19:38       ` Christian Borntraeger
2013-04-26 12:12 ` [Qemu-devel] [PATCH 02/10] Common: Add quick access to first boot device Dominik Dingel
2013-04-26 16:37   ` Anthony Liguori
2013-04-26 12:12 ` [Qemu-devel] [PATCH 03/10] S390: Check Bootdevice Type Dominik Dingel
2013-04-26 15:22   ` Alexander Graf
2013-04-26 15:36     ` Dominik Dingel
2013-04-26 15:42     ` Christian Borntraeger
2013-04-26 15:48       ` Alexander Graf
2013-04-26 16:01         ` Christian Borntraeger
2013-04-26 16:05           ` Alexander Graf
2013-04-26 16:10             ` Dominik Dingel
2013-04-26 16:13               ` Alexander Graf
2013-04-26 16:11             ` Christian Borntraeger
2013-04-26 16:13               ` Alexander Graf
2013-04-26 16:45                 ` Anthony Liguori
2013-04-26 16:04         ` Dominik Dingel
2013-04-26 16:07           ` Alexander Graf
2013-04-26 16:50   ` Alexander Graf
2013-04-26 12:12 ` [Qemu-devel] [PATCH 04/10] S390: check if BIOS is available and create links Dominik Dingel
2013-04-26 15:23   ` Alexander Graf
2013-04-26 15:48     ` Dominik Dingel
2013-04-26 15:57       ` Alexander Graf
2013-04-26 16:20         ` Dominik Dingel
2013-04-26 16:22           ` Alexander Graf
2013-04-26 16:38         ` Anthony Liguori
2013-04-26 18:03           ` Dominik Dingel
2013-04-26 18:04             ` Alexander Graf
2013-04-26 12:12 ` [Qemu-devel] [PATCH 05/10] s390-ccw.img: Detect devices with stsch Dominik Dingel
2013-04-26 12:12 ` [Qemu-devel] [PATCH 06/10] s390-ccw.img: Enhance drain_irqs() Dominik Dingel
2013-04-26 12:12 ` [Qemu-devel] [PATCH 07/10] s390-ccw.img: Rudimentary error checking Dominik Dingel
2013-04-26 12:12 ` [Qemu-devel] [PATCH 08/10] s390-ccw.img: Get queue config from host Dominik Dingel
2013-04-26 12:12 ` [Qemu-devel] [PATCH 09/10] S390: Pass per-device loadparm values for CCW blk and net devs Dominik Dingel
2013-04-26 16:52   ` Alexander Graf
2013-04-26 18:08     ` Dominik Dingel
2013-04-26 18:14       ` Alexander Graf
2013-04-26 19:54         ` Christian Borntraeger [this message]
2013-04-26 12:12 ` [Qemu-devel] [PATCH 10/10] S390: Enabling device and program selection Dominik Dingel
2013-04-26 15:29   ` Alexander Graf
2013-04-26 16:56   ` Alexander Graf
2013-04-26 17:55     ` Dominik Dingel
2013-04-26 17:56       ` Alexander Graf
2013-04-26 16:19 ` [Qemu-devel] [PATCH 00/10] S390: Enhance s390 BIOS to enable bootdevice selection Alexander Graf
2013-04-26 16:22   ` Dominik Dingel

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=517ADB78.3070800@de.ibm.com \
    --to=borntraeger@de.ibm.com \
    --cc=agraf@suse.de \
    --cc=cparo@us.ibm.com \
    --cc=dingel@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /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).