Re: [PATCH] virtio-balloon: request nvqs based on features

2019-12-17 Thread Daniel Verkamp
On Tue, Dec 17, 2019 at 1:11 AM Cornelia Huck wrote: > > On Mon, 16 Dec 2019 15:14:29 -0800 > Daniel Verkamp wrote: > > > After 86a559787e6f ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT"), > > the virtio-balloon device unconditionally specifies 4 virtqueues as the > > argument to

Re: [PATCH] virtio-balloon: request nvqs based on features

2019-12-17 Thread Michael S. Tsirkin
On Tue, Dec 17, 2019 at 10:11:08AM +0100, Cornelia Huck wrote: > On Mon, 16 Dec 2019 15:14:29 -0800 > Daniel Verkamp wrote: > > > After 86a559787e6f ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT"), > > the virtio-balloon device unconditionally specifies 4 virtqueues as the > > argument to

Re: [PATCH] virtio-balloon: request nvqs based on features

2019-12-17 Thread Cornelia Huck
On Mon, 16 Dec 2019 15:14:29 -0800 Daniel Verkamp wrote: > After 86a559787e6f ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT"), > the virtio-balloon device unconditionally specifies 4 virtqueues as the > argument to find_vqs(), which means that 5 MSI-X vectors are required in > order to

Re: [PATCH] virtio-balloon: request nvqs based on features

2019-12-16 Thread Wei Wang
On 12/17/2019 07:14 AM, Daniel Verkamp wrote: After 86a559787e6f ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT"), the virtio-balloon device unconditionally specifies 4 virtqueues as the argument to find_vqs(), which means that 5 MSI-X vectors are required in order to assign one vector per VQ

[PATCH] virtio-balloon: request nvqs based on features

2019-12-16 Thread Daniel Verkamp
After 86a559787e6f ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT"), the virtio-balloon device unconditionally specifies 4 virtqueues as the argument to find_vqs(), which means that 5 MSI-X vectors are required in order to assign one vector per VQ plus one for configuration changes. However,