Re: Is there any consumer of virtio-balloon now?

2014-03-23 Thread Paolo Bonzini

Il 22/03/2014 13:19, Kai Huang ha scritto:

Thanks Paolo. What's the user space tool / command to trigger the
virtio_balloon functionality? Basically I am looking for the whole code
patch that triggers the virtio_balloon.


The trigger is QEMU's balloon command, which you can use if you invoke 
QEMU directly, or virsh's setmem command if you use libvirt.


Paolo
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Is there any consumer of virtio-balloon now?

2014-03-22 Thread Kai Huang
Thanks Paolo. What's the user space tool / command to trigger the 
virtio_balloon functionality? Basically I am looking for the whole code 
patch that triggers the virtio_balloon.


Thanks,
-Kai
On 2014年03月21日 16:51, Paolo Bonzini wrote:

Il 21/03/2014 05:22, Kai Huang ha scritto:

Hi,

I see the virtio-balloon is designed for memory auto balloon between
KVM host and guest, but from latest linux kernel mainline code, looks
currently there's no consumer actually using it? Would you let me know
who is the consumer if there's any?


The virtio-balloon driver is in drivers/virtio/virtio_balloon.c. Right 
now it only does manual ballooning though, not automatic.


Paolo



--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Is there any consumer of virtio-balloon now?

2014-03-22 Thread Kai Huang

Just see the reply. Thanks a lot!

Thanks,
-Kai
On 2014年03月21日 17:03, Kashyap Chamarthy wrote:

On Fri, Mar 21, 2014 at 12:22:54PM +0800, Kai Huang wrote:

Hi,

I see the virtio-balloon is designed for memory auto balloon between
KVM host and guest, but from latest linux kernel mainline code, looks
currently there's no consumer actually using it? Would you let me know
who is the consumer if there's any?

From a quick look up, I see at-least there are some users[1] on
libvirt-users list. And, here's a nice explanation/usage of it[2]


   [1] https://www.redhat.com/archives/libvirt-users/2011-October/msg00059.html
   [2] http://rwmj.wordpress.com/2010/07/17/virtio-balloon/



--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Is there any consumer of virtio-balloon now?

2014-03-21 Thread Paolo Bonzini

Il 21/03/2014 05:22, Kai Huang ha scritto:

Hi,

I see the virtio-balloon is designed for memory auto balloon between
KVM host and guest, but from latest linux kernel mainline code, looks
currently there's no consumer actually using it? Would you let me know
who is the consumer if there's any?


The virtio-balloon driver is in drivers/virtio/virtio_balloon.c.  Right 
now it only does manual ballooning though, not automatic.


Paolo
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Is there any consumer of virtio-balloon now?

2014-03-21 Thread Kashyap Chamarthy
On Fri, Mar 21, 2014 at 12:22:54PM +0800, Kai Huang wrote:
 Hi,
 
 I see the virtio-balloon is designed for memory auto balloon between
 KVM host and guest, but from latest linux kernel mainline code, looks
 currently there's no consumer actually using it? Would you let me know
 who is the consumer if there's any?

From a quick look up, I see at-least there are some users[1] on
libvirt-users list. And, here's a nice explanation/usage of it[2]


  [1] https://www.redhat.com/archives/libvirt-users/2011-October/msg00059.html
  [2] http://rwmj.wordpress.com/2010/07/17/virtio-balloon/

-- 
/kashyap
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Is there any consumer of virtio-balloon now?

2014-03-20 Thread Kai Huang
Hi,

I see the virtio-balloon is designed for memory auto balloon between
KVM host and guest, but from latest linux kernel mainline code, looks
currently there's no consumer actually using it? Would you let me know
who is the consumer if there's any?

Thanks,
-Kai
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html