Re: [PATCH 12/22] virtio_pci: allow duplicate capabilities.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/21/2013 03:28 AM, Michael S. Tsirkin wrote:
> On Thu, Mar 21, 2013 at 06:59:33PM +1030, Rusty Russell wrote:
>> Another HPA suggestion: that the device be allowed to offer duplicate
>> capabilities, particularly so it can offer a mem and an I/O bar and let
>> the guest decide (Linux guest probably doesn't care?).
>>
>> Cc: H. Peter Anvin <hpa@xxxxxxxxx>
>> Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
> 
> I think guests is exactly the wrong place to decide,
> it really does not know whether it's running on a
> hypervisor with fast IO or fast memory.
> Also, as long as we have an IO BAR, we have problems allocating it.
> So I think we don't need this, see my suggestion
> about fixed IO addresses instead.
> 

The reason to support this is that a guest written to only handle one or
the other doesn't prevent the hypervisor from offering the other to
guests.  We probably want to specify that if the guest doesn't care, it
should use the first one offered by the host.

	-hpa

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization


[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux