kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is there any consumer of virtio-balloon now?
@ 2014-03-21  4:22 Kai Huang
  2014-03-21  8:51 ` Paolo Bonzini
  2014-03-21  9:03 ` Kashyap Chamarthy
  0 siblings, 2 replies; 6+ messages in thread
From: Kai Huang @ 2014-03-21  4:22 UTC (permalink / raw)
  To: kvm

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Is there any consumer of virtio-balloon now?
  2014-03-21  4:22 Is there any consumer of virtio-balloon now? Kai Huang
@ 2014-03-21  8:51 ` Paolo Bonzini
  2014-03-22 12:19   ` Kai Huang
  2014-03-21  9:03 ` Kashyap Chamarthy
  1 sibling, 1 reply; 6+ messages in thread
From: Paolo Bonzini @ 2014-03-21  8:51 UTC (permalink / raw)
  To: Kai Huang, kvm

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Is there any consumer of virtio-balloon now?
  2014-03-21  4:22 Is there any consumer of virtio-balloon now? Kai Huang
  2014-03-21  8:51 ` Paolo Bonzini
@ 2014-03-21  9:03 ` Kashyap Chamarthy
  2014-03-22 12:22   ` Kai Huang
  1 sibling, 1 reply; 6+ messages in thread
From: Kashyap Chamarthy @ 2014-03-21  9:03 UTC (permalink / raw)
  To: Kai Huang; +Cc: kvm

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Is there any consumer of virtio-balloon now?
  2014-03-21  8:51 ` Paolo Bonzini
@ 2014-03-22 12:19   ` Kai Huang
  2014-03-23 16:28     ` Paolo Bonzini
  0 siblings, 1 reply; 6+ messages in thread
From: Kai Huang @ 2014-03-22 12:19 UTC (permalink / raw)
  To: Paolo Bonzini, kvm

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
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Is there any consumer of virtio-balloon now?
  2014-03-21  9:03 ` Kashyap Chamarthy
@ 2014-03-22 12:22   ` Kai Huang
  0 siblings, 0 replies; 6+ messages in thread
From: Kai Huang @ 2014-03-22 12:22 UTC (permalink / raw)
  To: Kashyap Chamarthy; +Cc: kvm

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/
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Is there any consumer of virtio-balloon now?
  2014-03-22 12:19   ` Kai Huang
@ 2014-03-23 16:28     ` Paolo Bonzini
  0 siblings, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2014-03-23 16:28 UTC (permalink / raw)
  To: Kai Huang, kvm

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-23 16:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-21  4:22 Is there any consumer of virtio-balloon now? Kai Huang
2014-03-21  8:51 ` Paolo Bonzini
2014-03-22 12:19   ` Kai Huang
2014-03-23 16:28     ` Paolo Bonzini
2014-03-21  9:03 ` Kashyap Chamarthy
2014-03-22 12:22   ` Kai Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).