[virtio-dev] [PATCH] virtio-balloon: fix internal stat name array to match Linux kernel

2018-05-04 Thread Jonathan Helman
defined in this array by the Linux kernel do not match up with those defined internally by QEMU. This patch fixes this inconsistency by changing the QEMU stat names to match those defined by the Linux kernel. Signed-off-by: Jonathan Helman Cc: Rob Gardner Cc: Thomas Tai --- docs/virtio-balloon

Re: [virtio-dev] [PATCH] content: document hugetlb page allocation counts

2018-04-25 Thread Jonathan Helman
On 04/19/2018 02:24 AM, Stefan Hajnoczi wrote: On Wed, Apr 18, 2018 at 10:10:19AM -0700, Jonathan Helman wrote: The Linux kernel exports the number of successful and failed hugetlb page allocations via the virtio balloon driver. These two counts need to be documented in this specification

Re: [virtio-dev] Re: [PATCH] content: document hugetlb page allocation counts

2018-04-18 Thread Jonathan Helman
On 04/18/2018 01:03 PM, Michael S. Tsirkin wrote: On Wed, Apr 18, 2018 at 10:10:19AM -0700, Jonathan Helman wrote: The Linux kernel exports the number of successful and failed hugetlb page allocations via the virtio balloon driver. These two counts need to be documented in this specification

[virtio-dev] [PATCH] content: document hugetlb page allocation counts

2018-04-18 Thread Jonathan Helman
The Linux kernel exports the number of successful and failed hugetlb page allocations via the virtio balloon driver. These two counts need to be documented in this specification. Signed-off-by: Jonathan Helman --- content.tex | 8 1 file changed, 8 insertions(+) diff --git a

Re: [virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts

2018-04-13 Thread Jonathan Helman
On 04/13/2018 02:51 PM, Michael S. Tsirkin wrote: On Fri, Apr 13, 2018 at 10:10:57AM -0700, Jonathan Helman wrote: On 04/13/2018 06:44 AM, Michael S. Tsirkin wrote: On Fri, Apr 13, 2018 at 03:01:11PM +0800, Jason Wang wrote: On 2018年04月12日 08:24, Jonathan Helman wrote: On 04/10/2018

Re: [virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts

2018-04-13 Thread Jonathan Helman
On 04/13/2018 06:44 AM, Michael S. Tsirkin wrote: On Fri, Apr 13, 2018 at 03:01:11PM +0800, Jason Wang wrote: On 2018年04月12日 08:24, Jonathan Helman wrote: On 04/10/2018 08:12 PM, Jason Wang wrote: On 2018年04月10日 05:11, Jonathan Helman wrote: On 03/22/2018 07:38 PM, Jason Wang wrote

Re: [virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts

2018-04-11 Thread Jonathan Helman
On 04/10/2018 08:12 PM, Jason Wang wrote: On 2018年04月10日 05:11, Jonathan Helman wrote: On 03/22/2018 07:38 PM, Jason Wang wrote: On 2018年03月22日 11:10, Michael S. Tsirkin wrote: On Thu, Mar 22, 2018 at 09:52:18AM +0800, Jason Wang wrote: On 2018年03月20日 12:26, Jonathan Helman wrote

Re: [virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts

2018-04-09 Thread Jonathan Helman
On 03/22/2018 07:38 PM, Jason Wang wrote: On 2018年03月22日 11:10, Michael S. Tsirkin wrote: On Thu, Mar 22, 2018 at 09:52:18AM +0800, Jason Wang wrote: On 2018年03月20日 12:26, Jonathan Helman wrote: On Mar 19, 2018, at 7:31 PM, Jason Wang  wrote: On 2018年03月20日 06:14, Jonathan Helman wrote

[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts

2018-03-19 Thread Jonathan Helman
> On Mar 19, 2018, at 7:31 PM, Jason Wang wrote: > > > > On 2018年03月20日 06:14, Jonathan Helman wrote: >> Export the number of successful and failed hugetlb page >> allocations via the virtio balloon driver. These 2 counts >> come directly from the

[virtio-dev] [PATCH v2] virtio-balloon: add hugetlb page allocation counts

2018-03-19 Thread Jonathan Helman
qemu should read and report hugetlb page allocation counts exported in the following kernel patch: commit 4c3ca37c4a4394978fd0f005625f6064ed2b9a64 Author: Jonathan Helman Date: Mon Mar 19 11:00:35 2018 -0700 virtio_balloon: export hugetlb page allocation counts Export the

[virtio-dev] [PATCH v2] virtio_balloon: export hugetlb page allocation counts

2018-03-19 Thread Jonathan Helman
Export the number of successful and failed hugetlb page allocations via the virtio balloon driver. These 2 counts come directly from the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL. Signed-off-by: Jonathan Helman --- drivers/virtio/virtio_balloon.c | 6 ++ include/uapi

[virtio-dev] Re: [Qemu-devel] [PATCH v2 1/1] virtio-balloon: include statistics of disk/file caches

2018-02-19 Thread Jonathan Helman
> On Feb 19, 2018, at 5:11 AM, Tomáš Golembiovský wrote: > > On Wed, 14 Feb 2018 00:07:53 +0200 > "Michael S. Tsirkin" wrote: > >> On Tue, Feb 13, 2018 at 12:29:39PM -0800, Jonathan Helman wrote: >>> >>> >>> On 02/05/2018 04:08 AM, T

[virtio-dev] Re: [Qemu-devel] [PATCH] docs: document virtio-balloon stats

2018-02-19 Thread Jonathan Helman
#x27;available' counter > > and > >commit bf1e7140ef0b3a149860ab9f05b36665133238f6 >Author: Tomáš Golembiovský >Date: Tue Dec 5 13:14:46 2017 +0100 > >virtio-balloon: include statistics of disk/file caches > > Signed-off-by: Tomáš Golemb

[virtio-dev] Re: [Qemu-devel] [PATCH v2 1/1] virtio-balloon: include statistics of disk/file caches

2018-02-13 Thread Jonathan Helman
On 02/05/2018 04:08 AM, Tomáš Golembiovský wrote: ping On Tue, 5 Dec 2017 13:14:46 +0100 Tomáš Golembiovský wrote: It would be good to include the corresponding upstream kernel change in the commit message. This would be similar to a previous change: https://lists.gnu.org/archive/html/q

[virtio-dev] virtio balloon Spec Question

2018-02-01 Thread Jonathan Helman
Hi, I see that an email sent 2 years ago contains a change that, from what I can tell, never made it into the virtio specification: https://lists.oasis-open.org/archives/virtio-comment/201602/msg4.html This makes the spec inconsistent with the Linux kernel: Spec (Section 5.5.6.3): http: