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
** 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.
--
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
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
** 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.
--
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
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.
--
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
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
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:
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
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
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
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)
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
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
** 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
17 matches
Mail list logo