[PATCH v4 1/2] virtio_balloon: Restore the entire balloon after the system freeze

2015-12-04 Thread Petr Mladek
fill_balloon() and leak_balloon() manipulate only a limited number of pages in one call. This is the reason why remove_common() calls leak_balloon() in a while cycle. remove_common() is called also when the system is being frozen. But fill_balloon() is called only once when the system is being

[PATCH v4 2/2] virtio_balloon: Use a workqueue instead of "vballoon" kthread

2015-12-04 Thread Petr Mladek
From: Petr Mladek This patch moves the deferred work from the "vballoon" kthread into a system freezable workqueue. We do not need to maintain and run a dedicated kthread. Also the event driven workqueues API makes the logic much easier. Especially, we do not longer need an own

[PATCH v4 0/2] virtio_balloon: Fix restore and convert to workqueue

2015-12-04 Thread Petr Mladek
It has been long since I have sent v3 of the balloon conversion from a kthread to a workqueue. I have gained some more experience with the APIs in the meantime. I hope that you would like the outcome. I have added one more patch that fixes a separate problem with restoring the balloon after the

IEEE TCSC Award for Excellence in Scalable Computing -- Call for Nominations

2015-12-04 Thread Ioan Raicu
--- 2016 IEEE TCSC Award for Excellence in Scalable Computing Call for Nominations

Re: [PATCH v2] vhost: replace % with & on data path

2015-12-04 Thread Venkatesh Srinivas via Virtualization
On Mon, Nov 30, 2015 at 11:15:23AM +0200, Michael S. Tsirkin wrote: > We know vring num is a power of 2, so use & > to mask the high bits. > > Signed-off-by: Michael S. Tsirkin > --- The generated code switches from DIV -> masking, source is clearer as well. Tested-by:

[PATCH 1/6] x86: Add VMWare Host Communication Macros

2015-12-04 Thread Sinclair Yeh
These macros will be used by multiple VMWare modules for handling host communication. Signed-off-by: Sinclair Yeh Reviewed-by: Thomas Hellstrom Reviewed-by: Alok N Kataria Cc: Thomas Gleixner Cc: Ingo Molnar

[PATCH 2/6] x86: Update vmware.c to use the common VMW_PORT macros

2015-12-04 Thread Sinclair Yeh
Updated the VMWARE_PORT macro to use the new VMW_PORT macro. Doing this instead of replacing all existing instances of VMWARE_PORT to minimize code change. Signed-off-by: Sinclair Yeh Reviewed-by: Thomas Hellstrom Reviewed-by: Alok N Kataria

[PATCH 6/6] VMware balloon: Update vmw_balloon.c to use the VMW_PORT macro

2015-12-04 Thread Sinclair Yeh
Updated VMWARE_BALLOON_CMD to use the common VMW_PORT macro. Doing this rather than replacing all instances of VMWARE_BALLOON_CMD to minimize code change. Signed-off-by: Sinclair Yeh Reviewed-by: Thomas Hellstrom Reviewed-by: Alok N Kataria

[PATCH 4/6] Input: Remove vmmouse port reservation

2015-12-04 Thread Sinclair Yeh
This port is used by quite a few guest-to-host communication capabilities, e.g. getting configuration, logging, etc. Currently multiple kernel modules, and one or more priviledged guest user mode app, e.g. open-vm-tools, use this port without reservation. It was determined that no reservation is

Re: [PATCH 1/6] x86: Add VMWare Host Communication Macros

2015-12-04 Thread Sinclair Yeh
Thanks Peter. On Tue, Dec 01, 2015 at 02:49:11PM -0800, H. Peter Anvin wrote: > On 12/01/15 14:18, Sinclair Yeh wrote: > > These macros will be used by multiple VMWare modules for handling > > host communication. > > > + __asm__ __volatile__ ("inl %%dx" : \ > >

Re: [PATCH] tools/virtio: fix byteswap logic

2015-12-04 Thread Venkatesh Srinivas via Virtualization
On Mon, Nov 30, 2015 at 10:33:34AM +0200, Michael S. Tsirkin wrote: > commit cf561f0d2eb74574ad9985a2feab134267a9d298 ("virtio: introduce > virtio_is_little_endian() helper") changed byteswap logic to > skip feature bit checks for LE platforms, but didn't > update tools/virtio, so vring_bench