[elbe-users] Incompatible options when running "elbe initvm"

Phil Longstaff phil.longstaff at dejero.com
Fri Aug 26 17:47:04 CEST 2022


I am running Ubuntu 22.04 and have elbe 14.5+deb10+build1181 installed.
Libvirt is 8.0.0-1ubuntu7.1.

When I run "sudo elbe initvm create --dir ./initvm", it seems to work
correctly. It builds the .img files. However, when it tries to start the
vm, I get the message (bolded):

Installing GRUB boot loader  ... 16%... 33%... 50%... 66%... 83%... 100%
The system is going down NOW!.. 3%... 10%... 21%... 32%... 42%... 50%...
60%... 71%... 82%
Sent SIGTERM tohaveged: haveged: Stopping due to signal 15

Sent SIGKILL to all processes
Requesting system reboot
[ 1333.288593] reboot: Restarting system
qemu-img create -f qcow2 -F qcow2 -b initvm-base.img initvm.img
Formatting 'initvm.img', fmt=qcow2 cluster_size=65536 extended_l2=off
compression_type=zlib size=85899345920 backing_file=initvm-base.img
backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
l*ibvirt: QEMU Driver error : internal error: process exited while
connecting to monitor: 2022-08-26T15:43:06.561461Z qemu-system-x86_64: The
-accel and "-machine accel=" options are incompatible*
Traceback (most recent call last):
  File "/usr/bin/elbe", line 60, in <module>
    cmdmod.run_command(sys.argv[2:])
  File "/usr/lib/python3/dist-packages/elbepack/commands/initvm.py", line
96, in run_command
    action.execute(directory, opt, args[1:])
  File "/usr/lib/python3/dist-packages/elbepack/initvmaction.py", line 166,
in execute
    self.initvm.create()
  File "/usr/lib/python3/dist-packages/libvirt.py", line 1353, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: process exited while connecting to
monitor: 2022-08-26T15:43:06.561461Z qemu-system-x86_64: The -accel and
"-machine accel=" options are incompatible
Starting the initvm Failed
Giving up

After this, "sudo elbe initvm start" gives me the same message. However, if
I cd to the initvm directory and type "sudo make run", it starts correctly.

I have not been able to find where these options are added to the command
line. How do I fix this?

Thanks,
Phil

-- 
CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use 
of the intended recipient and may contain material that is proprietary, 
confidential, privileged or otherwise legally protected or restricted under 
applicable government laws. Any review, disclosure, distributing or other 
use without expressed permission of the sender is strictly prohibited. If 
you are not the intended recipient, please contact the sender and delete 
all copies without reading, printing, or saving. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linutronix.de/pipermail/elbe-users/attachments/20220826/4775a4f6/attachment.htm>


More information about the elbe-users mailing list