From: Steven Royer <seroyer@linux.vnet.ibm.com>
To: Stewart Smith <stewart@linux.vnet.ibm.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Arnd Bergmann <arnd@arndb.de>,
linux-doc@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
linux-kernel@vger.kernel.org, Steven Royer <seroyer@us.ibm.com>,
Paul Mackerras <paulus@samba.org>,
linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] add POWER Virtual Management Channel driver
Date: Thu, 18 Feb 2016 10:45:24 -0600 [thread overview]
Message-ID: <2247b06f84e5bf367fa5e2174245bd9f@imap.linux.ibm.com> (raw)
In-Reply-To: <87fuwqio0r.fsf@linux.vnet.ibm.com>
On 2016-02-17 23:30, Stewart Smith wrote:
> Steven Royer <seroyer@linux.vnet.ibm.com> writes:
>> On 2016-02-17 16:31, Greg Kroah-Hartman wrote:
>>> On Wed, Feb 17, 2016 at 03:18:26PM -0600, Steven Royer wrote:
>>>> On 2016-02-16 16:18, Greg Kroah-Hartman wrote:
>>>> >On Tue, Feb 16, 2016 at 02:43:13PM -0600, Steven Royer wrote:
>>>> >>From: Steven Royer <seroyer@us.ibm.com>
>>>> >>
>>>> >>The ibmvmc driver is a device driver for the POWER Virtual Management
>>>> >>Channel virtual adapter on the PowerVM platform. It is used to
>>>> >>communicate with the hypervisor for virtualization management. It
>>>> >>provides both request/response and asynchronous message support through
>>>> >>the /dev/ibmvmc node.
>>>> >
>>>> >What is the protocol for that device node?
>>>> The protocol is not currently published. I am pushing on getting it
>>>> published, but that process will take time. If you have a PowerVM
>>>> system
>>>> with NovaLink, it would not be hard to reverse engineer it... If
>>>> you
>>>> don't
>>>> have a PowerVM system, then this driver isn't interesting anyway...
>
> Stephen - if you need some help pushing for it to be published, let me
> know, there's a few internal things I could help push.
Thanks
>
>>> You can't just expect us to review this code without at least having
>>> a
>>> clue as to how it is supposed to work?
>> There are two layers to the protocol. The first layer is the only
>> layer
>> that the driver actually cares about. The second layer is just a
>> payload that is between the application and the hypervisor and can
>> change independently from the kernel/driver (this is what is
>> transported
>> over the /dev/ibmvmc node). The first layer technically is published
>> in
>> the PAPR (appendix G), but it is not trivial for most people to access
>
> https://members.openpowerfoundation.org/document/dl/469 is LoPAPR which
> has been published through OpenPower Foundation and anyone can access,
> although Appendix G there is on EEH. Although VMC (Virtual Management
> Channel) is mentioned in that document the details aren't there... so
> it's possible that this is only in some other PAPR version :/
> and... looking in internal places, it is. *sigh*
>
> With my OpenPower Foundation hat on, I'll say that it's a
> work-in-progress getting all this documentation in order.
>
> The questions of if it's a sensible hypervisor to partition interface
> and if it's a sensible userspace API are open for debate :)
>
> Would we implement this way of communicating between a KVM guest and
> the
> host linux system? If not, then it's probably not a generally good
> idea. That being said, it seems to be what already exists in PowerVM
There is no "host" OS on PowerVM. The ibmvmc device makes it possible
to emulate that behavior by picking one of the LPARs to be privileged.
So this isn't really similar to a KVM guest talking to the KVM host.
It's more like this Linux OS becomes the host. ibmvmc is the pipe that
enables virtualization management software (i.e., OpenStack via
NovaLink) to manage PowerVM: create/destroy/modify guests, etc... The
why's and how's of NovaLink are described simply here:
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Power%20Systems/page/Introducing%20PowerVM%20NovaLink
prev parent reply other threads:[~2016-02-18 16:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 20:43 [PATCH] add POWER Virtual Management Channel driver Steven Royer
2016-02-16 22:18 ` Greg Kroah-Hartman
2016-02-17 21:18 ` Steven Royer
2016-02-17 22:31 ` Greg Kroah-Hartman
2016-02-17 23:23 ` Steven Royer
2016-02-18 5:30 ` Stewart Smith
2016-02-18 16:45 ` Steven Royer [this message]
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=2247b06f84e5bf367fa5e2174245bd9f@imap.linux.ibm.com \
--to=seroyer@linux.vnet.ibm.com \
--cc=arnd@arndb.de \
--cc=corbet@lwn.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=paulus@samba.org \
--cc=seroyer@us.ibm.com \
--cc=stewart@linux.vnet.ibm.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).