[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2012-02-14 Thread Brian Morton
Any word on a decision to backport this fix to Lucid?  I agree it is not
a terrible bug and more of a lack of a feature, but Lucid will be in use
for some time to come.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/579723

Title:
  kvm memory ballooning is unusable in Lucid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/579723/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2012-02-14 Thread Serge Hallyn
@Brian,

given that there is a workaround, I'm hesitant to do it.  There have
been reported bugs with ballooning in heavy overcommit situations, so
even if ballooning is working fine for some users I'd rather not cause
other users to switch from not using it to using it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/579723

Title:
  kvm memory ballooning is unusable in Lucid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/579723/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2011-08-22 Thread David Clarke
Potentially better than copying the /usr/bin/kvm binary to
/usr/bin/kvm.real is to use dpkg-dirvert, then the shell script it's
replaced with (as per Michael R. Hines' suggestion) won't be over-
written on upgrade of the qemu-kvm package:

$ sudo dpkg-divert --add --rename --divert /usr/bin/kvm.real
/usr/bin/kvm

$ dpkg -S `which kvm`
local diversion from: /usr/bin/kvm
local diversion to: /usr/bin/kvm.real
qemu-kvm: /usr/bin/kvm

Best would be a fix backported to Lucid, of course.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/579723

Title:
  kvm memory ballooning is unusable in Lucid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/579723/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2011-08-22 Thread David Clarke
Potentially better than copying the /usr/bin/kvm binary to
/usr/bin/kvm.real is to use dpkg-dirvert, then the shell script it's
replaced with (as per Michael R. Hines' suggestion) won't be over-
written on upgrade of the qemu-kvm package:

$ sudo dpkg-divert --add --rename --divert /usr/bin/kvm.real
/usr/bin/kvm

$ dpkg -S `which kvm`
local diversion from: /usr/bin/kvm
local diversion to: /usr/bin/kvm.real
qemu-kvm: /usr/bin/kvm

Best would be a fix backported to Lucid, of course.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/579723

Title:
  kvm memory ballooning is unusable in Lucid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/579723/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-11-23 Thread Andreas Ntaflos
This does not seem fixed in 10.04.1. The fix would apparently belong in
Libvirt but the changelogs for the Libvirt package in 10.04.1 don't
indicate anything and no KVM guest processes on my hosts running 10.04.1
show the -balloon virtio flag. I had to use a wrapper script around
qemu-system-x86_64 to add the flag as discussed above.

Is this fix in Maverick? Can it perhaps be included in 10.04.2?

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-10-12 Thread Jamie Strandboge
** Changed in: libvirt (Ubuntu)
   Status: Confirmed = Fix Released

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-10-12 Thread Jamie Strandboge
** Changed in: libvirt (Ubuntu)
   Status: Confirmed = Fix Released

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-10-11 Thread elventear
I see that there is a fix release out there, but it's not clear how has
it been fixed. Is it on libvirt? kvm? Is it available currently on
Lucid? Maverick?

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-10-11 Thread elventear
Nevermind seems to working. Sorry for jumping the gun.

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-10-11 Thread elventear
I see that there is a fix release out there, but it's not clear how has
it been fixed. Is it on libvirt? kvm? Is it available currently on
Lucid? Maverick?

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-10-11 Thread elventear
Nevermind seems to working. Sorry for jumping the gun.

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-07-23 Thread glance
** Changed in: libvirt (Ubuntu)
   Status: Fix Released = Confirmed

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-07-23 Thread glance
** Changed in: libvirt (Ubuntu)
   Status: Fix Released = Confirmed

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-07-02 Thread Michael R. Hines
This is a far less intrusive workaround:

bash$ cd /usr/bin
bash$ mv kvm kvm.real
bash$ cat kvm
#!/bin/bash
exec /usr/bin/kvm.bak -balloon virtio $@

... doesn't require modifying libvirt or anybody else.

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-07-02 Thread Michael R. Hines
Ooops, that should be: exec /usr/bin/kvm.real -balloon virtio $@

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-07-02 Thread Michael R. Hines
This is a far less intrusive workaround:

bash$ cd /usr/bin
bash$ mv kvm kvm.real
bash$ cat kvm
#!/bin/bash
exec /usr/bin/kvm.bak -balloon virtio $@

... doesn't require modifying libvirt or anybody else.

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-07-02 Thread Michael R. Hines
Ooops, that should be: exec /usr/bin/kvm.real -balloon virtio $@

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-06-25 Thread Serge Hallyn
libvirt in maverick should have this fix (and does on my install).  Are you
able to confirm?


** Changed in: libvirt (Ubuntu)
   Status: New = Fix Released

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-06-25 Thread Serge Hallyn
libvirt in maverick should have this fix (and does on my install).  Are you
able to confirm?


** Changed in: libvirt (Ubuntu)
   Status: New = Fix Released

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-06-22 Thread Ken Arnold
I also hit this bug after upgrading to lucid, and found an explanation
of the root of the problem here: http://www.mail-archive.com/libvirt-
us...@redhat.com/msg00328.html.

The upstream fix is
http://libvirt.org/git/?p=libvirt.git;a=commit;h=7a90f21655aedc35cf711264498ebb4a1b783c8a.
It applies cleanly to the version in Lucid. I went ahead and tried the
ppa referenced in the email (ppa:dnjl/virtualization), and ballooning
(and everything else) seems to be working great.

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-06-22 Thread Ken Arnold
I also hit this bug after upgrading to lucid, and found an explanation
of the root of the problem here: http://www.mail-archive.com/libvirt-
us...@redhat.com/msg00328.html.

The upstream fix is
http://libvirt.org/git/?p=libvirt.git;a=commit;h=7a90f21655aedc35cf711264498ebb4a1b783c8a.
It applies cleanly to the version in Lucid. I went ahead and tried the
ppa referenced in the email (ppa:dnjl/virtualization), and ballooning
(and everything else) seems to be working great.

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-06-09 Thread Matt G
I'm afraid I'm still having some issues. I'm most likely just missing
some subtle thing entirely...

I edited the apparmor profile, and the vm starts just fine. I update the
memory with both setmaxmem and setmem, however, a virsh dominfo qa-matt
still yields:


r...@qa:~# virsh dominfo qa-matt
Id: 3
Name:   qa-matt
UUID:   cd70ac70-de56-5792-6340-5372a5f7ddcf
OS Type:hvm
State:  running
CPU(s): 1
CPU time:   0.0s
Max memory: 2097152 kB
Used memory:1048576 kB
Autostart:  disable
Security model: apparmor
Security DOI:   0


The virtio_balloon module is loaded on the VM.
r...@qa-matt:~# free -m
 total   used   free sharedbuffers cached
Mem:   999129870  0 12 44
-/+ buffers/cache: 72926
Swap:  975  0975

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-06-09 Thread Matt G
I'm afraid I'm still having some issues. I'm most likely just missing
some subtle thing entirely...

I edited the apparmor profile, and the vm starts just fine. I update the
memory with both setmaxmem and setmem, however, a virsh dominfo qa-matt
still yields:


r...@qa:~# virsh dominfo qa-matt
Id: 3
Name:   qa-matt
UUID:   cd70ac70-de56-5792-6340-5372a5f7ddcf
OS Type:hvm
State:  running
CPU(s): 1
CPU time:   0.0s
Max memory: 2097152 kB
Used memory:1048576 kB
Autostart:  disable
Security model: apparmor
Security DOI:   0


The virtio_balloon module is loaded on the VM.
r...@qa-matt:~# free -m
 total   used   free sharedbuffers cached
Mem:   999129870  0 12 44
-/+ buffers/cache: 72926
Swap:  975  0975

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-06-07 Thread Andrew Radke
This sounds like you need to adjust the libvirtd apparmor profile.

Edit
/etc/apparmor.d/abstractions/libvirt-qemu
and add the following line:

  /usr/bin/kvm-balloon rmix,

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-06-07 Thread Andrew Radke
This sounds like you need to adjust the libvirtd apparmor profile.

Edit
/etc/apparmor.d/abstractions/libvirt-qemu
and add the following line:

  /usr/bin/kvm-balloon rmix,

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-28 Thread lhotari
Have you checked the file's execution bit?
chmod 0755 kvm-balloon

** Description changed:

  kvm/qemu doesn't enable ballooning by default anymore (the man page still 
claims that ballooning is enabled by default) .
  There is no easy way to enable it with libvirt.
  
  libvirt should add -balloon virtio to the qemu command line by default
  or provide a way to modify the setting.
  
  virsh dominfo domain should show the original qemu error message The
  balloon device has not been activated by the guest, but it hides it. I
  found out the reason for the ballooning problem by starting kvm from the
  command line and switching to the monitor console and by entering info
  balloon
  
  testing kvm/qemu behaviour:
  kvm -cdrom ubuntu-10.04-server-amd64.iso
- (CTRL-ALT 2 , enter: info balloon- shows error message: 
+ (CTRL-ALT 2 , enter: info balloon- shows error message:
  The balloon device has not been activated by the guest
  )
  
  info balloon shows successfull balloon info after adding -balloon virtio 
to the command line.
  kvm -cdrom ubuntu-10.04-server-amd64.iso -balloon virtio
  
  Workaround:
- - add a file called /usr/local/bin/kvm-balloon :
+ - add a file called /usr/local/bin/kvm-balloon (and mark it executable: chmod 
0755 kvm-balloon):
  #!/bin/sh
- /usr/bin/kvm -balloon virtio $@
+ /usr/bin/kvm -balloon virtio $@
  - modify /etc/libvirt/qemu/domain.xml (virsh edit domain) , replace 
/usr/bin/kvm with /usr/local/bin/kvm-balloon
  - poweroff and restart the VM (reboot isn't enough)
  
  In the VM, the virtio_balloon module has to be loaded:
  modprobe virtio_balloon
  (to persistent after reboot: echo virtio_balloon  /etc/modules)

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-28 Thread Matt G
I have, sorry I didn't post that. Yes, I can execute it from my
path(Can't give the exact output since I'm away from that machine at the
moment though).

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-28 Thread lhotari
Have you checked the file's execution bit?
chmod 0755 kvm-balloon

** Description changed:

  kvm/qemu doesn't enable ballooning by default anymore (the man page still 
claims that ballooning is enabled by default) .
  There is no easy way to enable it with libvirt.
  
  libvirt should add -balloon virtio to the qemu command line by default
  or provide a way to modify the setting.
  
  virsh dominfo domain should show the original qemu error message The
  balloon device has not been activated by the guest, but it hides it. I
  found out the reason for the ballooning problem by starting kvm from the
  command line and switching to the monitor console and by entering info
  balloon
  
  testing kvm/qemu behaviour:
  kvm -cdrom ubuntu-10.04-server-amd64.iso
- (CTRL-ALT 2 , enter: info balloon- shows error message: 
+ (CTRL-ALT 2 , enter: info balloon- shows error message:
  The balloon device has not been activated by the guest
  )
  
  info balloon shows successfull balloon info after adding -balloon virtio 
to the command line.
  kvm -cdrom ubuntu-10.04-server-amd64.iso -balloon virtio
  
  Workaround:
- - add a file called /usr/local/bin/kvm-balloon :
+ - add a file called /usr/local/bin/kvm-balloon (and mark it executable: chmod 
0755 kvm-balloon):
  #!/bin/sh
- /usr/bin/kvm -balloon virtio $@
+ /usr/bin/kvm -balloon virtio $@
  - modify /etc/libvirt/qemu/domain.xml (virsh edit domain) , replace 
/usr/bin/kvm with /usr/local/bin/kvm-balloon
  - poweroff and restart the VM (reboot isn't enough)
  
  In the VM, the virtio_balloon module has to be loaded:
  modprobe virtio_balloon
  (to persistent after reboot: echo virtio_balloon  /etc/modules)

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-28 Thread Matt G
I have, sorry I didn't post that. Yes, I can execute it from my
path(Can't give the exact output since I'm away from that machine at the
moment though).

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-27 Thread Matt G
I also find this is a problem, but your fix doesn't work.

# cat /usr/bin/kvm-balloon 
#!/bin/bash
/usr/bin/kvm -balloon virtio $@


# virsh start qa-matt
error: Failed to start domain qa-matt
error: monitor socket did not show up.: No such file or directory

The VM's XML(or, part of it anyway)
 emulator/usr/bin/kvm-balloon/emulator

# uname -a
Linux qa02 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 
GNU/Linux

Any thoughts? I'd really like to be able to add my RAM dynamically :)

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-27 Thread Matt G
I also find this is a problem, but your fix doesn't work.

# cat /usr/bin/kvm-balloon 
#!/bin/bash
/usr/bin/kvm -balloon virtio $@


# virsh start qa-matt
error: Failed to start domain qa-matt
error: monitor socket did not show up.: No such file or directory

The VM's XML(or, part of it anyway)
 emulator/usr/bin/kvm-balloon/emulator

# uname -a
Linux qa02 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 
GNU/Linux

Any thoughts? I'd really like to be able to add my RAM dynamically :)

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-22 Thread lhotari
try adding quotes around $@ in kvm-balloon script:

#!/bin/sh
/usr/bin/kvm -balloon virtio $@

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-22 Thread lhotari
try adding quotes around $@ in kvm-balloon script:

#!/bin/sh
/usr/bin/kvm -balloon virtio $@

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-19 Thread Pivert
Thanks,

I still have an error message if I change the kvm to kvm-balloon in 
/etc/libvirt/qemu/Duffman.xml :
r...@homer:~# virsh start Duffman
error: Failed to start domain Duffman
error: internal error cannot parse QEMU version number in ''

However both are executables, and both displays the version.
r...@homer:~# kvm --version
QEMU PC emulator version 0.12.3 (qemu-kvm-0.12.3), Copyright (c) 2003-2008 
Fabrice Bellard
r...@homer:~# /usr/local/bin/kvm-balloon --version
QEMU PC emulator version 0.12.3 (qemu-kvm-0.12.3), Copyright (c) 2003-2008 
Fabrice Bellard
r...@homer:~# 

Do you have an idea of the cause ?

Regards,

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-19 Thread Pivert
Thanks,

I still have an error message if I change the kvm to kvm-balloon in 
/etc/libvirt/qemu/Duffman.xml :
r...@homer:~# virsh start Duffman
error: Failed to start domain Duffman
error: internal error cannot parse QEMU version number in ''

However both are executables, and both displays the version.
r...@homer:~# kvm --version
QEMU PC emulator version 0.12.3 (qemu-kvm-0.12.3), Copyright (c) 2003-2008 
Fabrice Bellard
r...@homer:~# /usr/local/bin/kvm-balloon --version
QEMU PC emulator version 0.12.3 (qemu-kvm-0.12.3), Copyright (c) 2003-2008 
Fabrice Bellard
r...@homer:~# 

Do you have an idea of the cause ?

Regards,

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-18 Thread Mathias Gug
** Changed in: libvirt (Ubuntu)
   Importance: Undecided = Low

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 579723] Re: kvm memory ballooning is unusable in Lucid

2010-05-18 Thread Mathias Gug
** Changed in: libvirt (Ubuntu)
   Importance: Undecided = Low

-- 
kvm memory ballooning is unusable in Lucid
https://bugs.launchpad.net/bugs/579723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs