[virtio-dev] Re: [Qemu-devel] [PATCH v7 3/5] migration: API to clear bits of guest free pages from the dirty bitmap

2018-06-04 Thread Wei Wang
On 06/04/2018 10:49 AM, Peter Xu wrote: + +for (; len > 0; len -= used_len) { +block = qemu_ram_block_from_host(addr, false, ); +if (unlikely(!block)) { +return; We should never reach here, should we? Assuming the callers of this function should always pass

[virtio-dev] Re: [PATCH v7 4/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-06-04 Thread Wei Wang
On 05/30/2018 08:47 PM, Michael S. Tsirkin wrote: On Wed, May 30, 2018 at 05:12:09PM +0800, Wei Wang wrote: On 05/29/2018 11:24 PM, Michael S. Tsirkin wrote: On Tue, Apr 24, 2018 at 02:13:47PM +0800, Wei Wang wrote: +/* + * Balloon will report pages which were free at the time of this call.

[virtio-dev] Re: [PATCH v4] content: support SR-IOV

2018-06-04 Thread Michael S. Tsirkin
On Fri, May 25, 2018 at 12:49:51AM +0800, Tiwei Bie wrote: > Allocate a feature bit for virtio devices which support SR-IOV. > > Suggested-by: Michael S. Tsirkin > Signed-off-by: Tiwei Bie > Fixes: https://github.com/oasis-tcs/virtio-spec/issues/11 I have a question on this: how exactly is

[virtio-dev] Re: [PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net

2018-06-04 Thread Samudrala, Sridhar
Ping on this patch now that the kernel patches are accepted into davem's net-next tree. https://patchwork.ozlabs.org/cover/920005/ On 5/7/2018 4:09 PM, Sridhar Samudrala wrote: This feature bit can be used by hypervisor to indicate virtio_net device to act as a standby for another device with

[virtio-dev] Re: [PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net

2018-06-04 Thread Jason Wang
On 2018年06月05日 09:41, Samudrala, Sridhar wrote: Ping on this patch now that the kernel patches are accepted into davem's net-next tree. https://patchwork.ozlabs.org/cover/920005/ On 5/7/2018 4:09 PM, Sridhar Samudrala wrote: This feature bit can be used by hypervisor to indicate virtio_net

[virtio-dev] Re: [PATCH v4] content: support SR-IOV

2018-06-04 Thread Tiwei Bie
On Mon, Jun 04, 2018 at 04:01:56PM +0300, Michael S. Tsirkin wrote: > On Fri, May 25, 2018 at 12:49:51AM +0800, Tiwei Bie wrote: > > Allocate a feature bit for virtio devices which support SR-IOV. > > > > Suggested-by: Michael S. Tsirkin > > Signed-off-by: Tiwei Bie > > Fixes:

Re: [virtio-dev] Re: [PATCH v3] virtio_pci: support enabling VFs

2018-06-04 Thread Tiwei Bie
On Mon, Jun 04, 2018 at 07:32:25PM +0300, Michael S. Tsirkin wrote: > On Fri, Jun 01, 2018 at 12:02:39PM +0800, Tiwei Bie wrote: > > There is a new feature bit allocated in virtio spec to > > support SR-IOV (Single Root I/O Virtualization): > > > >

[virtio-dev] Re: [PATCH v3] virtio_pci: support enabling VFs

2018-06-04 Thread Michael S. Tsirkin
On Fri, Jun 01, 2018 at 12:02:39PM +0800, Tiwei Bie wrote: > There is a new feature bit allocated in virtio spec to > support SR-IOV (Single Root I/O Virtualization): > > https://github.com/oasis-tcs/virtio-spec/issues/11 > > This patch enables the support for this feature bit in > virtio

Re: [virtio-dev] [PATCH 0/1] Add "Group Identifier" to virtio PCI capabilities.

2018-06-04 Thread Venu Busireddy
On 2018-06-04 20:42:45 +0300, Michael S. Tsirkin wrote: > On Mon, Jun 04, 2018 at 11:44:40AM -0500, Venu Busireddy wrote: > > On 2018-06-02 00:10:31 +0300, Michael S. Tsirkin wrote: > > > On Sat, Jun 02, 2018 at 12:09:35AM +0300, Michael S. Tsirkin wrote: > > > > On Fri, Jun 01, 2018 at 03:50:43PM