Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to set up a VM on my Ubuntu 13.04 Desktop and it's giving me error when I try to start the VM. The error states:

virsh # start vm1
error: Failed to start domain vm1
error: internal error process exited while connecting to monitor: W: kvm binary
is deprecated, please use qemu-system-x86_64 instead
char device redirected to /dev/pts/2 (label charserial0)
qemu: at most 2047 MB RAM can be simulated

What is the workaround for this, if any?

share|improve this question

migrated from stackoverflow.com Jun 12 '13 at 22:58

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 2 down vote accepted

Found the answer myself.

I had to change the path from the emulation tag in the xml definition file. Changed it to qemu-system-x86_64 and now all works fine.

share|improve this answer
1  
Maybe you can give a more detailed description, so others can follow your steps. Anyway, if you solved your problem, you can accept your own answer. –  Jan Nov 3 '13 at 17:54

For reference to other people in need that maybe don't edit domain definitions every day.

The problem is just as in the error message: the executable of the emulator has changed, so the definition file of the VM must be updated.

  • from a command shell and as root or a user that can use the libvirt system, start virsh
  • list --all
  • check the correct domain name of your VM, let's say it's vm_name
  • edit vm_name
  • search for the tag <emulator>/usr/bin/kvm</emulator>
  • replace it with <emulator>/usr/bin/qemu-system-x86_64</emulator>
  • save the file
  • start vm_name

Please note that depending on the age of the VM definition and the system under which it was created, the old emulator executable could be different than simplu kvm, but replace it anyway :-)

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.