Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Trying to install kvm vm with virt-manager and I've got this error. This machine has 16gb of memory and I entered 4096MB. What's the problem in here?

    Unable to complete install '<class 'libvirt.libvirtError'> operation failed: could not query memory balloon allocation
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1571, in do_install
    vm.startup()
  File "/usr/share/virt-manager/virtManager/domain.py", line 1297, in startup
    self._update_status()
  File "/usr/share/virt-manager/virtManager/domain.py", line 1902, in _update_status
    info = self.get_info()
  File "/usr/share/virt-manager/virtManager/domain.py", line 1212, in get_info
    return self._backend.info()
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 766, in info
    if ret is None: raise libvirtError ('virDomainGetInfo() failed', dom=self)
libvirtError: operation failed: could not query memory balloon allocation
'
share|improve this question

2 Answers 2

If you want to support more RAM, you should install package kvm too, It related to your debian's version: for install kvm on debian 7 (wheezy), you should run this command:

# apt-get install qemu-kvm libvirt-bin virtinst

BUT for install kvm on debian 6 (sqeeze), you should run this command:

# apt-get install kvm qemu-kvm libvirt-bin virtinst
share|improve this answer
up vote 0 down vote accepted

Problem solved:

you can maximum setup 4095 rams with qemu

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.