All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cornelia Huck <cohuck@redhat.com>
To: Venu Busireddy <venu.busireddy@oracle.com>
Cc: Roman Kagan <rkagan@virtuozzo.com>,
	si-wei liu <si-wei.liu@oracle.com>,
	"Michael S . Tsirkin" <mst@redhat.com>,
	Marcel Apfelbaum <marcel@redhat.com>,
	virtio-dev@lists.oasis-open.org, qemu-devel@nongnu.org
Subject: Re: [virtio-dev] Re: [Qemu-devel] [PATCH v3 0/3] Use of unique identifier for pairing virtio and passthrough devices...
Date: Tue, 3 Jul 2018 16:52:00 +0200	[thread overview]
Message-ID: <20180703165200.180c93bb.cohuck@redhat.com> (raw)
In-Reply-To: <20180703142817.GA3088@vbusired-vm>

On Tue, 3 Jul 2018 09:28:17 -0500
Venu Busireddy <venu.busireddy@oracle.com> wrote:

> On 2018-07-03 12:58:25 +0300, Roman Kagan wrote:
> > On Mon, Jul 02, 2018 at 02:14:52PM -0700, si-wei liu wrote:  
> > > On 7/2/2018 9:14 AM, Roman Kagan wrote:  
> > > > Is the scheme going to be applied/extended to other transports (vmbus,
> > > > virtio-ccw, etc.)?  
> > > Well, it depends on the use case, and how feasible it can be extended to
> > > other transport due to constraints and transport specifics.
> > >   
> > > > Is the failover group concept going to be used beyond PT-PV network
> > > > device failover?  
> > > Although the concept of failover group is generic, the implementation itself
> > > may vary.  
> > 
> > My point with these two questions is that since this patchset is
> > defining external interfaces -- with guest OS, with management layer --  
> 
> This patch set is not defining any external interfaces. All this is doing
> is provide the means and locations to store the "group identifier". How
> that info will be used, I thought, should be another patch set.
> 
> Venu
> 
> > which are not easy to change later, it might make sense to try and see
> > if the interfaces map to other usecases.  E.g. I think we can get enough
> > information on how Hyper-V handles PT-PV network device failover from
> > the current Linux implementation; it may be a good idea to share some
> > concepts and workflows with virtio-pci.

But this patch set defines a host<->guest interface to make pairing
information on the host available to the guest, no?

From my point of view, there are several concerns:
- This approach assumes a homogeneous pairing (same transport), and
  even more, it assumes that this transport is pci.
- It won't work for zPCI (although zPCI is really strange) -- this
  means it will be completely unusable on s390x.
- It is too focused on a narrow use case. How is it supposed to be
  extended?

What I would prefer:
- Implement a pairing id support that does not rely on a certain
  transport, but leverages virtio (which is in the game anyway). We'd
  get at least the "virtio-net device paired with vfio" use case, which
  is what is currently implemented in the Linux kernel.
- Think about a more generic way to relay configuration metadata to the
  host.

---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


WARNING: multiple messages have this Message-ID (diff)
From: Cornelia Huck <cohuck@redhat.com>
To: Venu Busireddy <venu.busireddy@oracle.com>
Cc: Roman Kagan <rkagan@virtuozzo.com>,
	si-wei liu <si-wei.liu@oracle.com>,
	"Michael S . Tsirkin" <mst@redhat.com>,
	Marcel Apfelbaum <marcel@redhat.com>,
	virtio-dev@lists.oasis-open.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [virtio-dev] Re: [PATCH v3 0/3] Use of unique identifier for pairing virtio and passthrough devices...
Date: Tue, 3 Jul 2018 16:52:00 +0200	[thread overview]
Message-ID: <20180703165200.180c93bb.cohuck@redhat.com> (raw)
In-Reply-To: <20180703142817.GA3088@vbusired-vm>

On Tue, 3 Jul 2018 09:28:17 -0500
Venu Busireddy <venu.busireddy@oracle.com> wrote:

> On 2018-07-03 12:58:25 +0300, Roman Kagan wrote:
> > On Mon, Jul 02, 2018 at 02:14:52PM -0700, si-wei liu wrote:  
> > > On 7/2/2018 9:14 AM, Roman Kagan wrote:  
> > > > Is the scheme going to be applied/extended to other transports (vmbus,
> > > > virtio-ccw, etc.)?  
> > > Well, it depends on the use case, and how feasible it can be extended to
> > > other transport due to constraints and transport specifics.
> > >   
> > > > Is the failover group concept going to be used beyond PT-PV network
> > > > device failover?  
> > > Although the concept of failover group is generic, the implementation itself
> > > may vary.  
> > 
> > My point with these two questions is that since this patchset is
> > defining external interfaces -- with guest OS, with management layer --  
> 
> This patch set is not defining any external interfaces. All this is doing
> is provide the means and locations to store the "group identifier". How
> that info will be used, I thought, should be another patch set.
> 
> Venu
> 
> > which are not easy to change later, it might make sense to try and see
> > if the interfaces map to other usecases.  E.g. I think we can get enough
> > information on how Hyper-V handles PT-PV network device failover from
> > the current Linux implementation; it may be a good idea to share some
> > concepts and workflows with virtio-pci.

But this patch set defines a host<->guest interface to make pairing
information on the host available to the guest, no?

From my point of view, there are several concerns:
- This approach assumes a homogeneous pairing (same transport), and
  even more, it assumes that this transport is pci.
- It won't work for zPCI (although zPCI is really strange) -- this
  means it will be completely unusable on s390x.
- It is too focused on a narrow use case. How is it supposed to be
  extended?

What I would prefer:
- Implement a pairing id support that does not rely on a certain
  transport, but leverages virtio (which is in the game anyway). We'd
  get at least the "virtio-net device paired with vfio" use case, which
  is what is currently implemented in the Linux kernel.
- Think about a more generic way to relay configuration metadata to the
  host.

  reply	other threads:[~2018-07-03 14:52 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29 22:19 [virtio-dev] [PATCH v3 0/3] Use of unique identifier for pairing virtio and passthrough devices Venu Busireddy
2018-06-29 22:19 ` [Qemu-devel] " Venu Busireddy
2018-06-29 22:19 ` [virtio-dev] [PATCH v3 1/3] Add "Group Identifier" support to virtio devices Venu Busireddy
2018-06-29 22:19   ` [Qemu-devel] " Venu Busireddy
2018-06-29 22:19 ` [virtio-dev] [PATCH v3 2/3] Add "Group Identifier" support to Red Hat PCI bridge Venu Busireddy
2018-06-29 22:19   ` [Qemu-devel] " Venu Busireddy
2018-07-03  3:13   ` [virtio-dev] " Siwei Liu
2018-07-03  3:13     ` [Qemu-devel] " Siwei Liu
2018-06-29 22:19 ` [virtio-dev] [PATCH v3 3/3] Add "Group Identifier" support to Red Hat PCI Express bridge Venu Busireddy
2018-06-29 22:19   ` [Qemu-devel] " Venu Busireddy
2018-07-07 12:14   ` [virtio-dev] " Marcel Apfelbaum
2018-07-07 12:14     ` [Qemu-devel] " Marcel Apfelbaum
2018-07-31 15:58     ` Venu Busireddy
2018-07-31 15:58       ` [Qemu-devel] " Venu Busireddy
2018-07-31 16:03       ` Michael S. Tsirkin
2018-07-31 16:03         ` [Qemu-devel] " Michael S. Tsirkin
2018-07-31 19:11         ` Marcel Apfelbaum
2018-07-31 19:11           ` [Qemu-devel] " Marcel Apfelbaum
2018-06-29 22:19 ` [virtio-dev] [PATCH v3 virtio 1/1] Add "Group Identifier" to virtio PCI capabilities Venu Busireddy
2018-06-29 22:19   ` [Qemu-devel] " Venu Busireddy
2018-07-02 16:14 ` [Qemu-devel] [PATCH v3 0/3] Use of unique identifier for pairing virtio and passthrough devices Roman Kagan
2018-07-02 21:14   ` [virtio-dev] " si-wei liu
2018-07-02 21:14     ` si-wei liu
2018-07-03  9:58     ` Roman Kagan
2018-07-03 14:28       ` [virtio-dev] " Venu Busireddy
2018-07-03 14:28         ` Venu Busireddy
2018-07-03 14:52         ` Cornelia Huck [this message]
2018-07-03 14:52           ` [Qemu-devel] [virtio-dev] " Cornelia Huck
2018-07-03 23:31           ` [virtio-dev] Re: [Qemu-devel] " Siwei Liu
2018-07-03 23:31             ` [Qemu-devel] [virtio-dev] " Siwei Liu
2018-07-04 12:15             ` [virtio-dev] Re: [Qemu-devel] " Cornelia Huck
2018-07-04 12:15               ` [Qemu-devel] [virtio-dev] " Cornelia Huck
2018-07-06  0:49               ` [virtio-dev] Re: [Qemu-devel] " Siwei Liu
2018-07-06  0:49                 ` [Qemu-devel] [virtio-dev] " Siwei Liu
2018-07-06 13:54                 ` [virtio-dev] Re: [Qemu-devel] " Cornelia Huck
2018-07-06 13:54                   ` [Qemu-devel] [virtio-dev] " Cornelia Huck
2018-07-06 15:07                   ` [virtio-dev] Re: [Qemu-devel] " Michael S. Tsirkin
2018-07-06 15:07                     ` [Qemu-devel] [virtio-dev] " Michael S. Tsirkin
2018-07-09 16:20                     ` [virtio-dev] Re: [Qemu-devel] " Cornelia Huck
2018-07-09 16:20                       ` [Qemu-devel] [virtio-dev] " Cornelia Huck
2018-07-06 23:37                   ` [virtio-dev] Re: [Qemu-devel] " Siwei Liu
2018-07-06 23:37                     ` [Qemu-devel] [virtio-dev] " Siwei Liu
2018-07-09 16:27                     ` [virtio-dev] Re: [Qemu-devel] " Cornelia Huck
2018-07-09 16:27                       ` [Qemu-devel] [virtio-dev] " Cornelia Huck
2018-07-09 13:14                   ` [virtio-dev] Re: [Qemu-devel] " Roman Kagan
2018-07-09 13:14                     ` [Qemu-devel] [virtio-dev] " Roman Kagan
2018-07-09 16:10                     ` [virtio-dev] Re: [Qemu-devel] " Cornelia Huck
2018-07-09 16:10                       ` [Qemu-devel] [virtio-dev] " Cornelia Huck
2018-07-03 15:34         ` [Qemu-devel] " Roman Kagan
2018-07-03 22:27       ` [virtio-dev] " si-wei liu
2018-07-03 22:27         ` si-wei liu
2018-07-09 13:00         ` Roman Kagan
2018-07-09 18:35           ` [virtio-dev] " Michael S. Tsirkin
2018-07-09 18:35             ` Michael S. Tsirkin
2018-07-10  1:11           ` [virtio-dev] " si-wei liu
2018-07-10  1:11             ` si-wei liu
2018-07-10  1:54             ` [virtio-dev] " Michael S. Tsirkin
2018-07-10  1:54               ` Michael S. Tsirkin
2018-07-11  0:07               ` [virtio-dev] " Siwei Liu
2018-07-11  0:07                 ` [Qemu-devel] [virtio-dev] " Siwei Liu
2018-07-11  0:07                 ` Re: [Qemu-devel] " Siwei Liu
2018-07-11  9:53                 ` [virtio-dev] " Cornelia Huck
2018-07-11  9:53                   ` [Qemu-devel] [virtio-dev] " Cornelia Huck
2018-07-11  9:53                   ` Re: [Qemu-devel] " Cornelia Huck
2018-07-12  9:37                   ` [virtio-dev] " Siwei Liu
2018-07-12  9:37                     ` [Qemu-devel] [virtio-dev] " Siwei Liu
2018-07-12  9:37                     ` Re: [Qemu-devel] " Siwei Liu
2018-07-12 11:31                     ` [virtio-dev] " Cornelia Huck
2018-07-12 11:31                       ` [Qemu-devel] [virtio-dev] " Cornelia Huck
2018-07-12 11:31                       ` Re: [Qemu-devel] " Cornelia Huck
2018-07-12 20:52                       ` [virtio-dev] " Siwei Liu
2018-07-12 20:52                         ` [Qemu-devel] [virtio-dev] " Siwei Liu
2018-07-12 20:52                         ` Re: [Qemu-devel] " Siwei Liu
2018-07-12 21:00                         ` [virtio-dev] " Michael S. Tsirkin
2018-07-12 21:00                           ` [Qemu-devel] [virtio-dev] " Michael S. Tsirkin
2018-07-12 21:00                           ` Re: [Qemu-devel] " Michael S. Tsirkin
2018-07-12 22:19                           ` [virtio-dev] " Siwei Liu
2018-07-12 22:19                             ` [Qemu-devel] [virtio-dev] " Siwei Liu
2018-07-12 22:19                             ` Re: [Qemu-devel] " Siwei Liu
2018-07-13  1:20                             ` [virtio-dev] " Samudrala, Sridhar
2018-07-13  1:20                               ` [Qemu-devel] [virtio-dev] " Samudrala, Sridhar
2018-07-13  1:20                               ` Re: [Qemu-devel] " Samudrala, Sridhar
2018-07-13  3:28                               ` [virtio-dev] " Michael S. Tsirkin
2018-07-13  3:28                                 ` [Qemu-devel] [virtio-dev] " Michael S. Tsirkin
2018-07-13  3:28                                 ` Re: [Qemu-devel] " Michael S. Tsirkin
2018-07-13  9:15                               ` [virtio-dev] " Cornelia Huck
2018-07-13  9:15                                 ` [Qemu-devel] [virtio-dev] " Cornelia Huck
2018-07-13  9:15                                 ` Re: [Qemu-devel] " Cornelia Huck
2018-07-12 19:18                   ` [virtio-dev] " Michael S. Tsirkin
2018-07-12 19:18                     ` [Qemu-devel] [virtio-dev] " Michael S. Tsirkin
2018-07-12 19:18                     ` Re: [Qemu-devel] " Michael S. Tsirkin
2018-07-10  1:58             ` [virtio-dev] " Michael S. Tsirkin
2018-07-10  1:58               ` Michael S. Tsirkin
2018-07-10 18:56               ` [virtio-dev] " Siwei Liu
2018-07-10 18:56                 ` [Qemu-devel] [virtio-dev] " Siwei Liu
2018-07-10 18:56                 ` Re: [Qemu-devel] " Siwei Liu
2018-07-10  2:05           ` [virtio-dev] " Michael S. Tsirkin
2018-07-10  2:05             ` Michael S. Tsirkin
2018-07-04  5:43       ` [virtio-dev] " Michael S. Tsirkin
2018-07-04  5:43         ` Michael S. Tsirkin
2018-07-10  2:11 ` [virtio-dev] " Michael S. Tsirkin
2018-07-10  2:11   ` [Qemu-devel] " Michael S. Tsirkin
2018-07-10 14:28   ` [virtio-dev] " Venu Busireddy
2018-07-10 14:28     ` [Qemu-devel] " Venu Busireddy
2018-07-12 21:01     ` [virtio-dev] " Michael S. Tsirkin
2018-07-12 21:01       ` [Qemu-devel] " Michael S. Tsirkin

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=20180703165200.180c93bb.cohuck@redhat.com \
    --to=cohuck@redhat.com \
    --cc=marcel@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rkagan@virtuozzo.com \
    --cc=si-wei.liu@oracle.com \
    --cc=venu.busireddy@oracle.com \
    --cc=virtio-dev@lists.oasis-open.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.