[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support
From: |
Kirti Wankhede |
Subject: |
Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support |
Date: |
Sat, 3 Sep 2016 22:04:56 +0530 |
On 9/3/2016 3:18 AM, Paolo Bonzini wrote:
>
>
> On 02/09/2016 20:33, Kirti Wankhede wrote:
>> <Alex> We could even do:
>>>>
>>>> echo $UUID1:$GROUPA > create
>>>>
>>>> where $GROUPA is the group ID of a previously created mdev device into
>>>> which $UUID1 is to be created and added to the same group.
>> </Alex>
>
> From the point of view of libvirt, I think I prefer Alex's idea.
> <group> could be an additional element in the nodedev-create XML:
>
> <device>
> <name>my-vgpu</name>
> <parent>pci_0000_86_00_0</parent>
> <capability type='mdev'>
> <type id='11'/>
> <uuid>0695d332-7831-493f-9e71-1c85c8911a08</uuid>
> <group>group1</group>
> </capability>
> </device>
>
> (should group also be a UUID?)
>
No, this should be a unique number in a system, similar to iommu_group.
> Since John brought up the topic of minimal XML, in this case it will be
> like this:
>
> <device>
> <name>my-vgpu</name>
> <parent>pci_0000_86_00_0</parent>
> <capability type='mdev'>
> <type id='11'/>
> </capability>
> </device>
>
> The uuid will be autogenerated by libvirt and if there's no <group> (as
> is common for VMs with only 1 vGPU) it will be a single-device group.
>
Right.
Kirti.
> Thanks,
>
> Paolo
>
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, (continued)
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Kirti Wankhede, 2016/09/02
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Paolo Bonzini, 2016/09/02
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Kirti Wankhede, 2016/09/02
- Re: [Qemu-devel] [libvirt] [PATCH v7 0/4] Add Mediated device support, John Ferlan, 2016/09/02
- Re: [Qemu-devel] [libvirt] [PATCH v7 0/4] Add Mediated device support, Kirti Wankhede, 2016/09/03
- Re: [Qemu-devel] [libvirt] [PATCH v7 0/4] Add Mediated device support, Alex Williamson, 2016/09/06
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Paolo Bonzini, 2016/09/02
- Re: [Qemu-devel] [libvirt] [PATCH v7 0/4] Add Mediated device support, John Ferlan, 2016/09/03
- Re: [Qemu-devel] [libvirt] [PATCH v7 0/4] Add Mediated device support, Paolo Bonzini, 2016/09/03
- Re: [Qemu-devel] [libvirt] [PATCH v7 0/4] Add Mediated device support, Kirti Wankhede, 2016/09/03
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support,
Kirti Wankhede <=
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Alex Williamson, 2016/09/06
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Kirti Wankhede, 2016/09/06
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Alex Williamson, 2016/09/06
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Tian, Kevin, 2016/09/07
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Alex Williamson, 2016/09/07
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Kirti Wankhede, 2016/09/07
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Alex Williamson, 2016/09/07
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Kirti Wankhede, 2016/09/07
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Alex Williamson, 2016/09/07
- Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support, Kirti Wankhede, 2016/09/08