[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [libvirt] [PATCH v2 1/2] vfio/mdev: add version attribu
From: |
Yan Zhao |
Subject: |
Re: [Qemu-devel] [libvirt] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device |
Date: |
Thu, 9 May 2019 02:55:27 -0400 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Wed, May 08, 2019 at 11:27:47PM +0800, Boris Fiuczynski wrote:
> On 5/8/19 11:22 PM, Alex Williamson wrote:
> >>> I thought there was a request to make this more specific to migration
> >>> by renaming it to something like migration_version. Also, as an
> >>>
> >> so this attribute may not only include a mdev device's parent device info
> >> and
> >> mdev type, but also include numeric software version of vendor specific
> >> migration code, right?
> > It's a vendor defined string, it should be considered opaque to the
> > user, the vendor can include whatever they feel is relevant.
> >
> Would a vendor also be allowed to provide a string expressing required
> features as well as containing backend resource requirements which need
> to be compatible for a successful migration? Somehow a bit like a cpu
> model... maybe even as json or xml...
> I am asking this with vfio-ap in mind. In that context checking
> compatibility of two vfio-ap mdev devices is not as simple as checking
> if version A is smaller or equal to version B.
>
I think so. vendor driver is allowed to put whatever content into the
migration_version string as long as it thinks it's necessary.
vendor driver only needs ensure in the target mdev device, the write(2)
operation on its migration_version attribute would correctly fail or succeeed
based on the input string.
Thanks
Yan
> --
> Mit freundlichen Grüßen/Kind regards
> Boris Fiuczynski
>
> IBM Deutschland Research & Development GmbH
> Vorsitzender des Aufsichtsrats: Matthias Hartmann
> Geschäftsführung: Dirk Wittkopp
> Sitz der Gesellschaft: Böblingen
> Registergericht: Amtsgericht Stuttgart, HRB 243294
>
- Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, (continued)
Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Alex Williamson, 2019/05/07
- Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Yan Zhao, 2019/05/08
- Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Alex Williamson, 2019/05/08
- Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Yan Zhao, 2019/05/08
- Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Alex Williamson, 2019/05/09
- Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Yan Zhao, 2019/05/09
Re: [Qemu-devel] [libvirt] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Boris Fiuczynski, 2019/05/09
Re: [Qemu-devel] [libvirt] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device,
Yan Zhao <=
Re: [Qemu-devel] [libvirt] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Alex Williamson, 2019/05/14
Re: [Qemu-devel] [libvirt] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Boris Fiuczynski, 2019/05/29
Re: [Qemu-devel] [libvirt] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Alex Williamson, 2019/05/29
Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Cornelia Huck, 2019/05/09
Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Dr. David Alan Gilbert, 2019/05/09
Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Cornelia Huck, 2019/05/09
Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Dr. David Alan Gilbert, 2019/05/09
Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Cornelia Huck, 2019/05/10
Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Dr. David Alan Gilbert, 2019/05/10
Re: [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device, Cornelia Huck, 2019/05/10